-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-generate pipeline from latest templates
- Loading branch information
Showing
4 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,12 +37,14 @@ meta: | |
secret_key: (( param "Please set your AWS Secret Key ID" )) | ||
|
||
github: | ||
uri: (( concat "[email protected]:" meta.github.owner "/" meta.github.repo )) | ||
owner: (( param "Please specify the name of the user / organization that owns the Github repository" )) | ||
repo: (( param "Please specify the name of the Github repository" )) | ||
branch: master | ||
private_key: (( param "Please generate an SSH Deployment Key for this repo and specify it here" )) | ||
access_token: (( param "Please generate a Personal Access Token and specify it here" )) | ||
uri: (( concat "[email protected]:" meta.github.owner "/" meta.github.repo )) | ||
owner: (( param "Please specify the name of the user / organization that owns the Github repository" )) | ||
repo: (( param "Please specify the name of the Github repository" )) | ||
branch: master | ||
pr_base_branch: (( grab meta.github.branch )) | ||
release_branch: (( grab meta.github.branch )) | ||
private_key: (( param "Please generate an SSH Deployment Key for this repo and specify it here" )) | ||
access_token: (( param "Please generate a Personal Access Token and specify it here" )) | ||
|
||
dockerhub: | ||
username: (( param "Please specify the username for your Dockerhub account" )) | ||
|
@@ -58,8 +60,8 @@ meta: | |
fail_moji: ":airplane_arriving:" | ||
upset_moji: ":sadpanda:" | ||
pipeline_url: (( concat meta.url "/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}" )) | ||
fail_link: (( concat "<" meta.slack.pipeline_url "/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}| Concourse Failure! " meta.slack.upset_moji ">" )) | ||
fail_text: '(( concat meta.slack.fail_link " " meta.pipeline ": `${BUILD_JOB_NAME}` job failed" ))' | ||
fail_link: (( concat "<" meta.slack.pipeline_url "/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}| Let's go fix it!>" )) | ||
fail_text: '(( concat meta.pipeline ": `${BUILD_JOB_NAME}` job has failed " meta.slack.upset_moji " " meta.slack.fail_link " :hammer_and_wrench:" ))' | ||
|
||
groups: | ||
- name: (( grab meta.name )) | ||
|
@@ -100,6 +102,7 @@ jobs: | |
|
||
on_failure: | ||
put: notify | ||
no_get: true | ||
params: | ||
channel: (( grab meta.slack.channel )) | ||
username: (( grab meta.slack.username )) | ||
|
@@ -168,6 +171,7 @@ jobs: | |
|
||
on_success: | ||
put: notify | ||
no_get: true | ||
params: | ||
channel: (( grab meta.slack.channel )) | ||
username: (( grab meta.slack.username )) | ||
|
@@ -211,6 +215,7 @@ jobs: | |
params: { file: version/number } | ||
on_failure: | ||
put: notify | ||
no_get: true | ||
params: | ||
channel: (( grab meta.slack.channel )) | ||
username: (( grab meta.slack.username )) | ||
|
@@ -225,6 +230,7 @@ jobs: | |
- { put: version, params: { file: version/number } } | ||
on_failure: | ||
put: notify | ||
no_get: true | ||
params: | ||
channel: (( grab meta.slack.channel )) | ||
username: (( grab meta.slack.username )) | ||
|
@@ -239,6 +245,7 @@ jobs: | |
- { put: version, params: { file: version/number } } | ||
on_failure: | ||
put: notify | ||
no_get: true | ||
params: | ||
channel: (( grab meta.slack.channel )) | ||
username: (( grab meta.slack.username )) | ||
|
@@ -270,13 +277,14 @@ jobs: | |
path: ./git/ci/scripts/release | ||
args: [] | ||
params: | ||
REPO_ROOT: git | ||
RELEASE_ROOT: gh | ||
RELEASE_NAME: (( grab meta.release )) | ||
REPO_OUT: pushme/git | ||
VERSION_FROM: version/number | ||
GIT_EMAIL: (( grab meta.git.email )) | ||
GIT_NAME: (( grab meta.git.name )) | ||
REPO_ROOT: git | ||
RELEASE_ROOT: gh | ||
RELEASE_NAME: (( grab meta.release )) | ||
REPO_OUT: pushme/git | ||
VERSION_FROM: version/number | ||
GIT_EMAIL: (( grab meta.git.email )) | ||
GIT_NAME: (( grab meta.git.name )) | ||
RELEASE_BRANCH: (( grab meta.github.release_branch )) | ||
|
||
- load_var: version | ||
file: version/number | ||
|
@@ -314,6 +322,7 @@ jobs: | |
body: gh/notes.md | ||
on_failure: | ||
put: notify | ||
no_get: true | ||
params: | ||
channel: (( grab meta.slack.channel )) | ||
username: (( grab meta.slack.username )) | ||
|
@@ -355,7 +364,7 @@ resources: | |
source: | ||
access_token: (( grab meta.github.access_token )) | ||
repository: (( concat meta.github.owner "/" meta.github.repo )) | ||
base_branch: (( grab meta.github.branch )) | ||
base_branch: (( grab meta.github.pr_base_branch )) | ||
|
||
- name: docker-image-build-task | ||
type: registry-image | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters