Artifactory summary live visualisation (currently supported storage summary only).
Since this plugin is currently not included in JFrog CLI Plugins Registry, it needs to be built and installed manually. Follow these steps to install and use this plugin with JFrog CLI.
- Make sure JFrog CLI is installed on you machine by running
jfrog
. If it is not installed, install it. - Create a directory named
plugins
under~/.jfrog/
if it does not exist already. - Clone this repository.
- CD into the root directory of the cloned project.
- Run
go build
to create the binary in the current directory. - Copy the binary into the
~/.jfrog/plugins
directory.
-
storage - Artifactory storage summary
-
Usage:
jfrog rt-summary storage [command options]
-
Options:
- server-id - Artifactory server ID configured using the config command [Optional]
- live - live summary update [Default: false]
- repo-list - comma separated repositories list to show [Default: all]
- refresh-rate - summary refresh rate in seconds [Default: 2]
- recalculate-rate - storage summary recalculation rate in seconds. If 0 recalculation will not be triggered [Default: 0]
- max-results - maximal amount of shown results [Default: 10]
-
Example:
$ jfrog rt-summary st Last updated at: Sun, 22 Nov 2020 10:11:27 IST Last recalculated at: Sun, 22 Nov 2020 10:11:27 IST ┼────────────────────────┼───────┼──────────────┼───────────────┼──────────────┼──────────────┼ │ REPOSITORY │ TYPE │ PACKAGE TYPE │ FILES COUNT │ USED SPACE │ PERCENTAGE │ ┼────────────────────────┼───────┼──────────────┼───────────────┼──────────────┼──────────────┼ │ example-repo-local │ LOCAL │ Generic │ 1 │ 10.64 MB │ 97.45% │ │ jfrog-support-bundle │ NA │ NA │ 7 │ 285.31 KB │ 2.55% │ │ artifactory-build-info │ LOCAL │ BuildInfo │ 0 │ 0 bytes │ 0% │ │ auto-trashcan │ NA │ NA │ 0 │ 0 bytes │ 0% │ ┼────────────────────────┼───────┼──────────────┼───────────────┼──────────────┼──────────────┼ │ TOTAL │ - │ - │ 8 │ 10.92 MB │ - │ ┼────────────────────────┼───────┼──────────────┼───────────────┼──────────────┼──────────────┼
-
The release notes are available here.