concourse-resources icon indicating copy to clipboard operation
concourse-resources copied to clipboard

Pass credentials to allow git pull in tasks

Open venth opened this issue 7 years ago • 1 comments

Hi,

currently we try to rebase a commit fetched by gerrit resource against master. The commit rebase is done in a separate task. Unfortunately credentials and git metadata aren't passed along the sources which made git pulling to end with an error.

The change is about passing git metadata and credentials along the sources.

venth avatar Mar 01 '18 12:03 venth

I'm not sure I understand exactly what you are trying to do, but I think you would be better served by sharing these parameters in your concourse config file. You can even deduplicate using YAML anchors/expansion (i.e. http://blog.daemonl.com/2016/02/yaml.html).

lann avatar Mar 01 '18 16:03 lann