Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LI - Lawful Interception
TC LI schemas definitions
Commits
596c2fb0
Commit
596c2fb0
authored
Feb 16, 2023
by
canterburym
Browse files
Modifying CI/CD to generate attachments
parent
9bb1545a
Pipeline
#14187
failed with stages
in 31 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
596c2fb0
variables
:
meeting_pattern
:
'
/meeting.*/'
workflow
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
...
...
@@ -39,6 +42,7 @@ generate_artefacts:
interruptible
:
true
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME !~ $meeting_pattern
script
:
-
echo $CI_PROJECT_ID
-
echo $CI_PROJECT_NAME
...
...
@@ -55,3 +59,26 @@ generate_artefacts:
-
"
*.docx"
name
:
$CI_MERGE_REQUEST_TITLE
expire_in
:
30 days
generate_attachments
:
image
:
"
forge.etsi.org:5050/li/schemas-definitions/forgelib"
stage
:
build
interruptible
:
true
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ $meeting_pattern
script
:
-
echo $CI_PROJECT_ID
-
echo $CI_PROJECT_NAME
-
echo $CI_PROJECT_PATH
-
echo $CI_PIPELINE_SOURCE
-
echo $CI_OPEN_MERGE_REQUESTS
-
echo $CI_MERGE_REQUEST_IID
-
echo $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
-
echo $ARTEFACT_NAME
-
python create_attachments.py
artifacts
:
untracked
:
true
paths
:
-
"
*.zip"
expire_in
:
30 days
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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