nais / naisd

nais deployment daemon
https://nais.io
MIT License
27 stars 10 forks source link

Upload nais manifest to Nexus #48

Closed davidsteinsland closed 7 years ago

davidsteinsland commented 7 years ago

Usage:

$ ./nais upload --help
Uploads nais.yaml to Nexus

Usage:
  nais upload [flags]

Flags:
  -a, --app string        name of your app
  -f, --file string       path to nais.yaml (default "nais.yaml")
  -g, --group string      nexus group (default "nais")
  -p, --password string   the password
  -r, --repo string       nexus repo (default "m2internal")
  -u, --username string   the username
  -v, --version string    version you want to upload

Example:

NEXUS_USERNAME=foo NEXUS_PASSWORD=bar ./nais upload --app myapp -v myversion

Nexus URL can be overridden using NEXUS_URL env var.