Crates.io | nosana-node-helper |
lib.rs | nosana-node-helper |
version | 1.0.0 |
source | src |
created_at | 2023-05-03 11:47:30.70177 |
updated_at | 2023-06-08 13:36:00.779677 |
description | Helper tooling for the Nosana Node. |
homepage | |
repository | |
max_upload_size | |
id | 855335 |
size | 53,477 |
Helper tooling for the Nosana Node.
Usage: nosana-node-helper artifact-uploader [OPTIONS] --job-id <JOB_ID> --secrets-manager <SECRETS_MANAGER> --secrets-token <SECRETS_TOKEN>
Options:
-n, --name <NAME> The name of the archive [default: artifacts]
-j, --job-id <JOB_ID> The build ID to download and upload artifacts
-s, --storage <STORAGE> Storage backend [default: ipfs] [possible values: ipfs]
--pinata-jwt <PINATA_JWT> Token when using ipfs [env: PINATA_JWT=]
-p, --path <PATH> Add paths to archive (can be multiple)
--secrets-manager <SECRETS_MANAGER> Url to secrets manager
--secrets-token <SECRETS_TOKEN> Token to secrets manager
-h, --help Print help
To test this you can run cargo test
, if you want to see all of the
output of running the methods you can run the following command:
cargo test -- --nocapture
Make sure to add your JWT to your environment in order to run Pinata storage tests.
export PINATA_JWT="yourPinataTokenHere"
Make sure to add a fresh Secrets Manager JWT to your environment in order to run secrets tests.
export SECRETS_JWT="yourSecretsTokenHere"