From 05f1d5d9813332bdd456cb358517e56168a24224 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 7 Jan 2020 12:07:55 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .gitlab/ci/notifications.gitlab-ci.yml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .gitlab/ci/notifications.gitlab-ci.yml (limited to '.gitlab') diff --git a/.gitlab/ci/notifications.gitlab-ci.yml b/.gitlab/ci/notifications.gitlab-ci.yml deleted file mode 100644 index 1ec61acdfca..00000000000 --- a/.gitlab/ci/notifications.gitlab-ci.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Make sure to update all the similar conditions in other CI config files if you modify these conditions -.if-canonical-gitlab-schedule: &if-canonical-gitlab-schedule - if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE =~ /^gitlab-org($|\/)/ && $CI_PIPELINE_SOURCE == "schedule"' - -.notify: - image: ruby:2.6-alpine - stage: notification - dependencies: [] - cache: {} - before_script: - - apk update && apk add git curl bash - - source scripts/utils.sh - - source scripts/notifications.sh - - install_gitlab_gem - variables: - COMMIT_NOTES_URL: "https://${CI_SERVER_HOST}/${CI_PROJECT_PATH}/commit/${CI_COMMIT_SHA}#notes-list" - -package-and-qa:notify-failure: - extends: .notify - rules: - - <<: *if-canonical-gitlab-schedule - when: manual # TODO: remove notify job if not necessary - script: - - 'export NOTIFICATION_MESSAGE=":skull_and_crossbones: Scheduled QA against master failed! :skull_and_crossbones: See ${CI_PIPELINE_URL}. For downstream pipelines, see ${COMMIT_NOTES_URL}"' - - 'notify_on_job_failure package-and-qa qa-master "${NOTIFICATION_MESSAGE}" ci_failing' - needs: ["package-and-qa"] - allow_failure: true -- cgit v1.2.3