Atlas Upload CLI
The Atlas Upload CLI is a lightweight command line interface for uploading
application code to Atlas to kick off deployment processes. This is the CLI
used to power the vagrant push
command and other parts of Atlas Go with
the Atlas strategy.
It can also be downloaded and used externally with other systems (such as a CI
service like Jenkins or Travis CI) to initiate Atlas-based deploys.
Usage
For the most up-to-date documentation for your version, run atlas-upload -h
.
FAQ
Q: Can I specify my Atlas access token via an environment variable?
A: All of HashiCorp's products support the ATLAS_TOKEN
environment variable.
You can set this value in your shell profile or securely in your environment and
it will be used.
Contributing
To hack on the Atlas Upload CLI, you will need a modern Go environment. To
compile the atlas-upload
binary and run the test suite, simply execute:
$ make
This will compile the atlas-upload
binary into bin/atlas-upload
and
run the test suite.
If you just want to run the tests:
$ make test
Or to run a specific test in the suite:
go test ./... -run SomeTestFunction_name
Submit Pull Requests and Issues to the Atlas Upload CLI project on GitHub.