concourse / concourse-pipeline-resource

!!! use the `set_pipeline` step instead !!!
https://concourse-ci.org/jobs.html#schema.step.set-pipeline-step.set_pipeline
MIT License
76 stars 42 forks source link

Authentication missing since max 3 days #42

Closed chbiel closed 5 years ago

chbiel commented 5 years ago

Hi, we wanted to execute our pipeline that uses this resource today.

But we get the following error: exit status 1 - not authorized. run the following to log in: fly -t https://url login

the last time we executed the pipeline was 3 days ago and everything was fine. now i see there was an update yesterday. As i cannot go back to an older version of that resource, is it possible that the changes made yesterday can lead to this problem?

We did not change anything else, so this is my last hope/idea

I hope you can help

maybe its related to using another fly? https://github.com/concourse/concourse-pipeline-resource/commit/c6859981f23a1e24a69e1b8bce68cc38c9e1d6b7

I also find errors like: Exiting with error: exit status 1 - error: unknown flagjson'`

Some more logs:

Setting pipelines
Performing login
Starting fly command : login
Waiting for fly command: login
Starting fly command : sync
Waiting for fly command: sync
Login successful
Starting fly command : set-pipeline
Waiting for fly command: set-pipeline
Exiting with error: exit status 1 - not authorized. run the following to log in:

I took out every specific stuff. I check all arguments and they are correct. On the first view it looks like the login was not saved somehow..

colmtuohy commented 5 years ago

See https://discuss.concourse-ci.org/t/concourse-pipeline-resource/442. Need to tag the version with 3.

colmtuohy commented 5 years ago

Although, I see you say you can't go back a version, so ignore that.

chbiel commented 5 years ago

Thanks. That solves the problem. I did not find the "tag" option :)