Skip to content
Snippets Groups Projects
Commit 596c2fb0 authored by canterburym's avatar canterburym
Browse files

Modifying CI/CD to generate attachments

parent 9bb1545a
No related branches found
No related tags found
2 merge requests!75CI/CD creates attachments,!74Adding code to generate attachments post-meeting
Pipeline #14187 failed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment