Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TC LI schemas definitions
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LI - Lawful Interception
TC LI schemas definitions
Commits
596c2fb0
Commit
596c2fb0
authored
1 year ago
by
canterburym
Browse files
Options
Downloads
Patches
Plain Diff
Modifying CI/CD to generate attachments
parent
9bb1545a
No related branches found
No related tags found
2 merge requests
!75
CI/CD creates attachments
,
!74
Adding code to generate attachments post-meeting
Pipeline
#14187
failed
1 year ago
Stage: preflight
Stage: check
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-0
27 additions, 0 deletions
.gitlab-ci.yml
with
27 additions
and
0 deletions
.gitlab-ci.yml
+
27
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment