Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8c6e1af3
Commit
8c6e1af3
authored
Oct 01, 2020
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notify-security-pipeline CI config
parent
8042b875
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
.gitlab/ci/notify.gitlab-ci.yml
.gitlab/ci/notify.gitlab-ci.yml
+13
-1
No files found.
.gitlab/ci/notify.gitlab-ci.yml
View file @
8c6e1af3
...
...
@@ -3,6 +3,8 @@
stage
:
notify
dependencies
:
[]
cache
:
{}
variables
:
MERGE_REQUEST_URL
:
${CI_MERGE_REQUEST_PROJECT_URL}/-/merge_requests/${CI_MERGE_REQUEST_IID}
before_script
:
-
apk update && apk add git curl bash
...
...
@@ -16,8 +18,18 @@ notify-update-gitaly:
variables
:
NOTIFY_CHANNEL
:
g_create_gitaly
GITALY_UPDATE_BRANCH
:
release-tools/update-gitaly
MERGE_REQUEST_URL
:
${CI_MERGE_REQUEST_PROJECT_URL}/-/merge_requests/${CI_MERGE_REQUEST_IID}
script
:
-
echo "NOTIFY_CHANNEL is ${NOTIFY_CHANNEL}"
-
echo "CI_PIPELINE_URL is ${CI_PIPELINE_URL}"
-
scripts/slack ${NOTIFY_CHANNEL} "☠️ \`${GITALY_UPDATE_BRANCH}\` failed! ☠️ See ${CI_PIPELINE_URL} (triggered from ${MERGE_REQUEST_URL})" ci_failing
notify-security-pipeline
:
extends
:
-
.notify-slack
-
.delivery:rules:security-pipeline-merge-result-failure
variables
:
NOTIFY_CHANNEL
:
security-release-tests
script
:
-
echo "NOTIFY_CHANNEL is ${NOTIFY_CHANNEL}"
-
echo "CI_PIPELINE_URL is ${CI_PIPELINE_URL}"
-
scripts/slack ${NOTIFY_CHANNEL} "☠️ Pipeline for merged result failed! ☠️ See ${CI_PIPELINE_URL} (triggered from ${MERGE_REQUEST_URL})" ci_failing
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment