Skip to content

Commit

Permalink
Merge pull request #4389 from cloud-gov/fix-ci
Browse files Browse the repository at this point in the history
ci: remove pipeline duplication, fix production formatting
  • Loading branch information
drewbo authored Feb 22, 2024
2 parents 122842a + f6ffa27 commit 5636457
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 36 deletions.
42 changes: 16 additions & 26 deletions ci/pipeline-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,6 @@ jobs:
username: ((slack-username))
icon_url: ((slack-icon-url))

on_failure:
put: slack
params:
text: |
:x: FAILED: to migrate database for pages ((deploy-env))
<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME?vars.deploy-env="((deploy-env))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))

on_failure:
put: slack
params:
Expand Down Expand Up @@ -174,24 +164,24 @@ jobs:
CF_APP_NAME: pages-admin-((deploy-env))

on_failure:
- put: slack
params:
text: |
:x: FAILED: admin client deployment on pages ((deploy-env))
<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME?vars.deploy-env="((deploy-env))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))
put: slack
params:
text: |
:x: FAILED: admin client deployment on pages ((deploy-env))
<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME?vars.deploy-env="((deploy-env))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))

on_success:
- put: slack
params:
text: |
:white_check_mark: SUCCESS: Successfully deployed admin client on pages ((deploy-env))
<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME?vars.deploy-env="((deploy-env))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))
put: slack
params:
text: |
:white_check_mark: SUCCESS: Successfully deployed admin client on pages ((deploy-env))
<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME?vars.deploy-env="((deploy-env))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))

- name: deploy-queues-ui-pages-((deploy-env))
plan:
Expand Down
10 changes: 0 additions & 10 deletions ci/pipeline-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,6 @@ jobs:
username: ((slack-username))
icon_url: ((slack-icon-url))

on_failure:
put: slack
params:
text: |
:x: FAILED: to migrate database for pages ((deploy-env))
<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME?vars.deploy-env="((deploy-env))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))

on_failure:
put: slack
params:
Expand Down

0 comments on commit 5636457

Please sign in to comment.