Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
put slack alert before release jobs, trigger automatically
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Jones <[email protected]>
  • Loading branch information
Irbe Krumina authored and Daniel Jones committed Feb 27, 2019
1 parent e39e6a3 commit dca87a2
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ jobs:
plan:
- aggregate:
- get: version
trigger: true
passed: &system-tests
- system-test
- system-test-update
Expand All @@ -551,8 +552,10 @@ jobs:
- get: pcf-ops
passed: *system-tests
- get: concourse-up
trigger: true
passed: *system-tests
- get: concourse-up-ops
trigger: true
passed: *system-tests
- task: write-release-notification
config:
Expand Down Expand Up @@ -594,14 +597,14 @@ jobs:
plan:
- aggregate:
- get: pcf-ops
passed: *system-tests
passed: [release-notification]
- get: concourse-up
passed: *system-tests
passed: [release-notification]
- get: concourse-up-ops
trigger: true
passed: *system-tests
passed: [release-notification]
- get: version
passed: *system-tests
passed: [release-notification]
params:
bump: patch
- get: build-metadata
Expand Down Expand Up @@ -648,13 +651,13 @@ jobs:
- get: version
params:
bump: patch
passed: *system-tests
passed: [release-notification]
- get: pcf-ops
passed: *system-tests
passed: [release-notification]
- get: concourse-up
passed: *system-tests
passed: [release-notification]
- get: concourse-up-ops
passed: *system-tests
passed: [release-notification]
- get: build-metadata
- aggregate: *build_binaries
- task: get-ops-version
Expand Down Expand Up @@ -687,13 +690,13 @@ jobs:
- get: version
params:
bump: minor
passed: *system-tests
passed: [release-notification]
- get: pcf-ops
passed: *system-tests
passed: [release-notification]
- get: concourse-up
passed: *system-tests
passed: [release-notification]
- get: concourse-up-ops
passed: *system-tests
passed: [release-notification]
- get: build-metadata
- aggregate: *build_binaries
- task: get-ops-version
Expand Down Expand Up @@ -724,15 +727,15 @@ jobs:
plan:
- aggregate:
- get: version
passed: *system-tests
passed: [release-notification]
params:
bump: major
- get: pcf-ops
passed: *system-tests
passed: [release-notification]
- get: concourse-up
passed: *system-tests
passed: [release-notification]
- get: concourse-up-ops
passed: *system-tests
passed: [release-notification]
- get: build-metadata
- aggregate: *build_binaries
- task: get-ops-version
Expand Down

0 comments on commit dca87a2

Please sign in to comment.