Nosana Node Helper

Helper tooling for the Nosana Node.

Usage

```shell Usage: nosana-node-helper artifact-uploader [OPTIONS] --job-id --secrets-manager --secrets-token

Options: -n, --name The name of the archive [default: artifacts] -j, --job-id The build ID to download and upload artifacts -s, --storage Storage backend [default: ipfs] [possible values: ipfs] --pinata-jwt Token when using ipfs [env: PINATA_JWT=] -p, --path Add paths to archive (can be multiple) --secrets-manager Url to secrets manager --secrets-token Token to secrets manager -h, --help Print help ```

Testing

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:

bash cargo test -- --nocapture

PINATA_JWT

Make sure to add your JWT to your environment in order to run Pinata storage tests.

bash export PINATA_JWT="yourPinataTokenHere"

Make sure to add a fresh Secrets Manager JWT to your environment in order to run secrets tests.

bash export SECRETS_JWT="yourSecretsTokenHere"