hypercli
hypercli copied to clipboard
Environment Variables for CI/CD?
Hello,
I'm trying to make hypercli work under CircleCI, and I've having problems. Especifically, I'm under the impression that only setting HYPER_ACCESS and HYPER_SECRET should suffice. However, it always complains that the region is not configured. Which is weird, considering it should default to us-west-1 anyway.
Am I missing any details, or is it supposed to work differently?
Thank you
@aldrinleal
I do a test, it looks OK.
➜ mv ~/.hyper/config.json ~/.hyper/config.json.bak
➜ unset HYPER_SECRET
➜ unset HYPER_ACCESS
➜ hyper images
WARNING: null cloud config
Error response from daemon: Unauthorized
➜ export HYPER_ACCESS=8GRNA8xxxxxxxxxxxxxxxxxxxxAXO9
➜ export HYPER_SECRET=E1lr8VDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7nenr
➜ hyper images
REPOSITORY TAG IMAGE ID CREATED SIZE
gcr.io/google-containers/busybox latest e7d168d7db45 3 years ago 2.43 MB
Can you provide more details?