using 'tag' in objects config fails build
Opened this issue · 0 comments
patricksimonian commented
oc.processDeploymentTemplate(`${templatesLocalBaseUrl}/bc.yaml`, {
param: {
CHANGE_ID: phases[phase].tag,
},
}),
if you try and use the tag property you will get the following error:
Error: Failed running 'git fetch --depth 1 --no-tags --update-shallow origin master:master' as it returned 128
at Object.execSync (/Users/psimonia/ocp101-demo/.pipeline/node_modules/pipeline-cli/lib/util.js:125:11)
at Object.ADD_SOURCE_HASH (/Users/psimonia/ocp101-demo/.pipeline/node_modules/pipeline-cli/lib/transformers.js:91:20)
at resources.items.forEach (/Users/psimonia/ocp101-demo/.pipeline/node_modules/pipeline-cli/lib/OpenShiftClientX.js:58:20)
at Array.forEach (<anonymous>)
if you run the git fetch command on its own (git fetch --depth 1 --no-tags --update-shallow origin master:master
) you will get
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository