Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using env step in workflows #752

Closed
k-k opened this issue Aug 21, 2019 · 3 comments
Closed

Error using env step in workflows #752

k-k opened this issue Aug 21, 2019 · 3 comments
Labels
question Further information is requested

Comments

@k-k
Copy link

k-k commented Aug 21, 2019

I was attempting to use the new env steps introduced in #751, but I can't get a working repos.yaml.

I receive:

Error: initializing server: parsing /home/atlantis/repos.yaml file: yaml: unmarshal errors:
line 13: cannot unmarshal !!map into string

Using the following workflow as a test:

workflows:
  default:
    plan:
      steps:
      - env:
          name: TEST
          command: echo 123
      - run: echo $TEST
      - init
      - plan

I was building my image based off the latest atlantis tag on dockerhub which appears to be updated. Any ideas?

@lkysow
Copy link
Member

lkysow commented Aug 21, 2019

Hmm looks like a bug. I'll check it out tomorrow.

@lkysow
Copy link
Member

lkysow commented Aug 22, 2019

Hey, I think you may need to run docker pull runatlantis/atlantis:latest. It works for me.

@lkysow lkysow closed this as completed Aug 22, 2019
@lkysow lkysow added question Further information is requested waiting-on-response Waiting for a response from the user labels Aug 22, 2019
@lkysow lkysow reopened this Aug 22, 2019
@k-k
Copy link
Author

k-k commented Aug 22, 2019

@lkysow Bah. I am using a custom dockerfile which I had switched from using v0.8.3 to latest, built that and pushed it up - which is where I was getting the errors.

Pulling latest manually as you suggested just forced me to see that I was actually logged out of docker hub on the cli (I had changed my password not long ago). Looks like it was still using v0.8.3 as latest since it couldn't fetch new images from docker hub - it just didn't complain about being logged out.

Can we get a new tag / release, when you get a chance. Thanks again!

@k-k k-k closed this as completed Aug 22, 2019
@lkysow lkysow removed the waiting-on-response Waiting for a response from the user label Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants