-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f958798
commit a1faf36
Showing
9 changed files
with
71 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
## merkely report env server | ||
|
||
Report directory artifacts data in the given list of paths to Merkely. | ||
|
||
### Synopsis | ||
|
||
|
||
List the artifacts deployed in a server environment and their digests | ||
and report them to Merkely. | ||
|
||
|
||
``` | ||
merkely report env server [-p /path/of/artifacts/directory] [-i infrastructure-identifier] env-name [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
* report directory artifacts running in a server at a list of paths: | ||
merkely report env server prod --api-token 1234 --owner exampleOrg --id prod-server --paths a/b/c, e/f/g | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for server | ||
-i, --id string the unique identifier of the source infrastructure of the report (e.g. the K8S cluster/namespace name). If not set, it is defaulted to environment name. | ||
-p, --paths strings the comma separated list of artifact directories. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-a, --api-token string the merkely API token. | ||
-c, --config-file string [optional] the merkely config file path. (default "merkely") | ||
-d, --dry-run whether to send the request to the endpoint or just log it in stdout. | ||
-H, --host string the merkely endpoint. (default "https://app.merkely.com") | ||
-r, --max-api-retries int how many times should API calls be retried when the API host is not reachable. (default 3) | ||
-o, --owner string the merkely organization. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [merkely report env](merkely_report_env.md) - Report running artifacts in an environment to Merkely. | ||
|
||
###### Auto generated by spf13/cobra on 13-Oct-2021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters