Skip to content

Commit

Permalink
Switch to Git resource for staging/prod pipeline dependency audits.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenaas committed May 7, 2024
1 parent 125f23d commit c33ba6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ jobs:
- name: audit-dependencies
plan:
- get: src
resource: pr-((git-branch))
resource: src-((deploy-env))
trigger: true
passed: [set-pipeline]

- put: src
resource: pr-((git-branch))
resource: src-((deploy-env))
params:
path: src
status: pending
Expand All @@ -242,7 +242,7 @@ jobs:
on_failure:
in_parallel:
- put: src
resource: pr-((git-branch))
resource: src-((deploy-env))
params:
path: src
status: failure
Expand All @@ -251,7 +251,7 @@ jobs:
- put: slack
params:
text: |
:x: FAILED: pages build container dependency audit on ((git-branch))
:x: FAILED: pages build container dependency audit on ((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))"&vars.git-branch="((git-branch))"|View build details>
channel: ((slack-channel))
username: ((slack-username))
Expand All @@ -260,7 +260,7 @@ jobs:
on_success:
in_parallel:
- put: src
resource: pr-((git-branch))
resource: src-((deploy-env))
params:
path: src
status: success
Expand All @@ -269,7 +269,7 @@ jobs:
- put: slack
params:
text: |
:white_check_mark: SUCCESS: Successfully passed pages build container dependency audit on ((git-branch))
:white_check_mark: SUCCESS: Successfully passed pages build container dependency audit on ((deploy-env))
channel: ((slack-channel))
username: ((slack-username))
icon_url: ((slack-icon-url))
Expand Down

0 comments on commit c33ba6b

Please sign in to comment.