Skip to content

Commit

Permalink
Fix cleanup Prow job and setup alert
Browse files Browse the repository at this point in the history
  • Loading branch information
chizhg committed Apr 1, 2022
1 parent b5dba8f commit ccf6201
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/prow-tests/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ EOF
# Authenticate gcloud, allow failures
if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then
gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}" || true
gcloud auth configure-docker || true
fi

# actually start bootstrap and the job
Expand Down
6 changes: 6 additions & 0 deletions prow/jobs/custom/test-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ periodics:
testgrid-tab-name: ci-knative-cleanup
testgrid-alert-email: "serverless-engprod-sea@google.com"
testgrid-num-failures-to-alert: "1"
reporter_config:
slack:
channel: productivity
job_states_to_report:
- failure
report_template: '"The cleanup periodic job fails, check the log: <{{.Status.URL}}|View logs>"'
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:v20220331-8ed73402
Expand Down

0 comments on commit ccf6201

Please sign in to comment.