Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Environment Variables for CI/CD? #256

Open

Description

@aldrinleal

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

Activity

  1. self-assigned this
    on Jul 18, 2018
  2. Jimmy-Xu commented on Jul 18, 2018

    @Jimmy-Xu
    Contributor

    @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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions