You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've got a "PR Pipeline" that uses the PR resource. When we need to change the filename of a particular task.yml, there's a rough cutover period when everyone needs to rebase their PRs kinda all at the same time or else they get Orange "task.yml not found" errors.
We were making a file-renaming that was going to affect the PR pipeline, and we wanted to make it smoother for people by:
Rename the file
Put in a symlink for the old filename to point to the new filename
Don't yet make a change to the PR Pipeline manifest file nor the configuration that has been fly set-pipelined up to concourse
@jtarchie for reference on the PR Pipeline -- I don't think this is an issue with the PR Pipeline but a relevant workflow / pattern if you're interested
We've lost the configuration, but it goes orange and specifically says that it's looking for a platform: and one other field that would typically be in a task.yml
Thus we conclude that it's literally parsing the contents of the symlink (as they might show up in Github, for example). It does find a file.
My current team came across the same issue too. It appears that the concourse worker does not follow symlinks. less task.yml works from a hijacked container, but the worker can not read the contents.
We were wanting to move some files without causing 30+ developers to re-fly their pipelines.
Would be handy for Concourse to support symlinks for sure. Can anyone narrow down which parts of the codebase are relevant to review for a potential fix?
Activity
cjcjameson commentedon Oct 3, 2017
@jtarchie for reference on the PR Pipeline -- I don't think this is an issue with the PR Pipeline but a relevant workflow / pattern if you're interested
@pivotal-mike @divyabhargov @goutamtadi1 @kmacoskey @doty-pivotal @l-wang for visibility
vito commentedon Oct 3, 2017
What happens?
cjcjameson commentedon Oct 3, 2017
We've lost the configuration, but it goes orange and specifically says that it's looking for a
platform:and one other field that would typically be in a task.ymlThus we conclude that it's literally parsing the contents of the symlink (as they might show up in Github, for example). It does find a file.
cjcjameson commentedon Oct 3, 2017
Recreated the issue: we see
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
professor commentedon Nov 15, 2018
My current team came across the same issue too. It appears that the concourse worker does not follow symlinks.
less task.ymlworks from a hijacked container, but the worker can not read the contents.We were wanting to move some files without causing 30+ developers to re-fly their pipelines.
professor commentedon Nov 16, 2018
Interestingly,
ioutil.ReadFile(configPath)can follow and read symlinks.https://github.com/professor/go-read-symlink/blob/master/main.go
Not sure why concourse is having issues with this.
Revert "Create symlink to apply-bosh-lite-terraform task"
Revert "Create symlink to apply-bosh-lite-terraform task"
stale commentedon Aug 8, 2019
Beep boop! This issue has been idle for long enough that it's time to check in and see if it's still important.
If it is, what is blocking it? Would anyone be interested in submitting a PR or continuing the discussion to help move things forward?
If no activity is observed within the next week, this issue will be
exterminatedclosed, in accordance with our stale issue process.anitgandhi commentedon Aug 12, 2020
Can we consider re-opening this? I'm still observing this issue on 6.3.0.
matthewcosgrove commentedon Sep 30, 2020
Would be handy for Concourse to support symlinks for sure. Can anyone narrow down which parts of the codebase are relevant to review for a potential fix?
taylorsilva commentedon Oct 1, 2020
A bit of a guess here but I think this function in
worker.clientis what the web node uses to fetches a file:concourse/atc/worker/client.go
Lines 544 to 549 in a7b49ad
Example of usage here:
concourse/atc/exec/set_pipeline_step.go
Lines 360 to 362 in a7b49ad
Not 100% sure but the change may have to happen in baggageclaim which is the component that handles volumes on the worker, including all streaming.
mgranoski commentedon Jun 9, 2021
I am running into this problem myself, a fix would be nice.
taylorsilva commentedon Jan 6, 2025
Issue Bankruptcy
This issue is being closed as part of 2025's Issue Bankruptcy declaration. See here for details
If you think this issue still has merit then feel free to open a new issue and reference this one.