@@ -37,12 +37,14 @@ meta:
3737 secret_key : (( param "Please set your AWS Secret Key ID" ))
3838
3939 github :
40- uri :
(( concat "[email protected] :" meta.github.owner "/" meta.github.repo )) 41- owner : (( param "Please specify the name of the user / organization that owns the Github repository" ))
42- repo : (( param "Please specify the name of the Github repository" ))
43- branch : master
44- private_key : (( param "Please generate an SSH Deployment Key for this repo and specify it here" ))
45- access_token : (( param "Please generate a Personal Access Token and specify it here" ))
40+ uri :
(( concat "[email protected] :" meta.github.owner "/" meta.github.repo )) 41+ owner : (( param "Please specify the name of the user / organization that owns the Github repository" ))
42+ repo : (( param "Please specify the name of the Github repository" ))
43+ branch : master
44+ pr_base_branch : (( grab meta.github.branch ))
45+ release_branch : (( grab meta.github.branch ))
46+ private_key : (( param "Please generate an SSH Deployment Key for this repo and specify it here" ))
47+ access_token : (( param "Please generate a Personal Access Token and specify it here" ))
4648
4749 dockerhub :
4850 username : (( param "Please specify the username for your Dockerhub account" ))
5860 fail_moji : " :airplane_arriving:"
5961 upset_moji : " :sadpanda:"
6062 pipeline_url : (( concat meta.url "/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}" ))
61- fail_link : (( concat "<" meta.slack.pipeline_url "/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}| Concourse Failure! " meta.slack.upset_moji " >" ))
62- fail_text : ' (( concat meta.slack.fail_link " " meta. pipeline ": `${BUILD_JOB_NAME}` job failed" ))'
63+ fail_link : (( concat "<" meta.slack.pipeline_url "/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}| Let's go fix it! >" ))
64+ fail_text : ' (( concat meta.pipeline ": `${BUILD_JOB_NAME}` job has failed " meta.slack.upset_moji " " meta.slack.fail_link " :hammer_and_wrench: " ))'
6365
6466groups :
6567 - name : (( grab meta.name ))
@@ -100,6 +102,7 @@ jobs:
100102
101103 on_failure :
102104 put : notify
105+ no_get : true
103106 params :
104107 channel : (( grab meta.slack.channel ))
105108 username : (( grab meta.slack.username ))
@@ -168,6 +171,7 @@ jobs:
168171
169172 on_success :
170173 put : notify
174+ no_get : true
171175 params :
172176 channel : (( grab meta.slack.channel ))
173177 username : (( grab meta.slack.username ))
@@ -211,6 +215,7 @@ jobs:
211215 params : { file: version/number }
212216 on_failure :
213217 put : notify
218+ no_get : true
214219 params :
215220 channel : (( grab meta.slack.channel ))
216221 username : (( grab meta.slack.username ))
@@ -225,6 +230,7 @@ jobs:
225230 - { put: version, params: { file: version/number } }
226231 on_failure :
227232 put : notify
233+ no_get : true
228234 params :
229235 channel : (( grab meta.slack.channel ))
230236 username : (( grab meta.slack.username ))
@@ -239,6 +245,7 @@ jobs:
239245 - { put: version, params: { file: version/number } }
240246 on_failure :
241247 put : notify
248+ no_get : true
242249 params :
243250 channel : (( grab meta.slack.channel ))
244251 username : (( grab meta.slack.username ))
@@ -270,13 +277,14 @@ jobs:
270277 path : ./git/ci/scripts/release
271278 args : []
272279 params :
273- REPO_ROOT : git
274- RELEASE_ROOT : gh
275- RELEASE_NAME : (( grab meta.release ))
276- REPO_OUT : pushme/git
277- VERSION_FROM : version/number
278- GIT_EMAIL : (( grab meta.git.email ))
279- GIT_NAME : (( grab meta.git.name ))
280+ REPO_ROOT : git
281+ RELEASE_ROOT : gh
282+ RELEASE_NAME : (( grab meta.release ))
283+ REPO_OUT : pushme/git
284+ VERSION_FROM : version/number
285+ GIT_EMAIL : (( grab meta.git.email ))
286+ GIT_NAME : (( grab meta.git.name ))
287+ RELEASE_BRANCH : (( grab meta.github.release_branch ))
280288
281289 - load_var : version
282290 file : version/number
@@ -314,6 +322,7 @@ jobs:
314322 body : gh/notes.md
315323 on_failure :
316324 put : notify
325+ no_get : true
317326 params :
318327 channel : (( grab meta.slack.channel ))
319328 username : (( grab meta.slack.username ))
@@ -355,7 +364,7 @@ resources:
355364 source :
356365 access_token : (( grab meta.github.access_token ))
357366 repository : (( concat meta.github.owner "/" meta.github.repo ))
358- base_branch : (( grab meta.github.branch ))
367+ base_branch : (( grab meta.github.pr_base_branch ))
359368
360369 - name : docker-image-build-task
361370 type : registry-image
0 commit comments