consume .netrc from get step to tasks step #5565
Replies: 4 comments 12 replies
-
|
definitely sounds like the examples in https://concourse-ci.org/jobs.html#load-var-step would help you |
Beta Was this translation helpful? Give feedback.
-
|
@pivotal-jamie-klassen @evanchaoli @vito looks like git resoure type is not supported. I have to go with mock resource type only ? |
Beta Was this translation helpful? Give feedback.
-
|
@pivotal-jamie-klassen @evanchaoli yup vault can do but currently, I am trying to achieve with available concourse feature.. If am able to read the .netrc file from get step then my issue is more or less over. I have changed |
Beta Was this translation helpful? Give feedback.
-
|
@pivotal-jamie-klassen Actually we are yet to integrate with vault meanwhile I was exploring other options as well. Also, is there any way to get multi branches cloned via git-resource. Is there any option via git-resource for this use case ?? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I have a git resource something like this. I am using two different git servers as you can see in the git resource below.
When add above git-resource to my pipeline job to a
getstep it creates a.netrcfile inside the get step container.netrc file:
Actually I want to copy this file to the
taskstep or else want to consume this viainput_varsto define a variable(git URI, password, username, etc..) that will be available to the container so that one my other script can use this variable to do a git clone kind of an operation without prompting for a password.@evanchaoli
Any idea how can I achieve this with help of
input_vars?concourse/rfcs#42
BRs, Gowrisankar
Beta Was this translation helpful? Give feedback.
All reactions