diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-31 12:08:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-31 12:08:43 +0300 |
commit | eb239d31bf02b9a199d6f2ce087c9a0113797df3 (patch) | |
tree | aed942923f276e4694b4d730bd22ed13cd45c1dc /.gitlab | |
parent | e4805b324cb9e620788bb2d625f633f2be20091d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/notify.gitlab-ci.yml | 12 | ||||
-rw-r--r-- | .gitlab/ci/rules.gitlab-ci.yml | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab/ci/notify.gitlab-ci.yml b/.gitlab/ci/notify.gitlab-ci.yml index 7fbecd8944b..99408419d86 100644 --- a/.gitlab/ci/notify.gitlab-ci.yml +++ b/.gitlab/ci/notify.gitlab-ci.yml @@ -95,3 +95,15 @@ create-issues-for-failing-tests: - ${FAILING_ISSUE_JSON_DIR}/ when: always expire_in: 2 days + +notify-package-and-test-failure: + extends: + - .notify-defaults + - .notify:rules:notify-package-and-test-failure + image: ${GITLAB_DEPENDENCY_PROXY_ADDRESS}ruby:${RUBY_VERSION} + before_script: + - source scripts/utils.sh + - apt-get update + - install_gitlab_gem + script: + - scripts/generate-failed-package-and-test-mr-message.rb diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index d8162d108ba..2f56678f8f5 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -1144,6 +1144,13 @@ when: on_failure allow_failure: true +.notify:rules:notify-package-and-test-failure: + rules: + - <<: *if-not-canonical-namespace + when: never + - <<: *if-merge-request-targeting-stable-branch + when: on_failure + ############### # Pages rules # ############### |