diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 6274fbc..d3008ae 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -222,14 +222,6 @@ jobs: trigger: true passed: [set-pipeline] - - put: src - resource: src-((deploy-env)) - params: - path: src - status: pending - base_context: concourse - context: audit-dependencies - - task: pip-audit config: <<: *python-image @@ -240,39 +232,24 @@ jobs: path: ci/tasks/pip-audit.sh on_failure: - in_parallel: - - put: src - resource: src-((deploy-env)) - params: - path: src - status: failure - base_context: concourse - context: audit-dependencies - - put: slack - params: - text: | - :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)) - icon_url: ((slack-icon-url)) + put: slack + params: + text: | + :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)) + icon_url: ((slack-icon-url)) on_success: in_parallel: - - put: src - resource: src-((deploy-env)) - params: - path: src - status: success - base_context: concourse - context: audit-dependencies - - put: slack - params: - text: | - :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)) + put: slack + params: + text: | + :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)) ############################ # RESOURCES