Commit 4d3521f5 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Merge branch 'maintenance/changemarks'

parents a5e65fd8 96544f04
Loading
Loading
Loading
Loading
Loading
+32 −2
Original line number Diff line number Diff line
workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
      when: never
    - if: $CI_COMMIT_BRANCH

stages:
  - check
  - build

process_asn:
  image: "mcanterb/asn1test:latest"
  image: "forge.etsi.org:5050/li/schemas-definitions/asn1test:latest"
  stage: check
  interruptible: true
  script:
    - python3 testing/asn_process.py

process_xsd:
  image: "mcanterb/xsdtest:latest"
  image: "forge.etsi.org:5050/li/schemas-definitions/xsdtest:latest"
  stage: check
  interruptible: true
  script:
    - python3 testing/xsd_process.py

generate_artefacts:
  image: "forge.etsi.org:5050/li/trial/changemarks"
  stage: build
  interruptible: true
  rules:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
  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
    - forgelib-changedocs -v https://$CI_SERVER_HOST $CI_PROJECT_ID $CI_PROJECT_PATH $CI_MERGE_REQUEST_IID
  artifacts:
    untracked: true
    paths:
      - "*.docx"
    name: $CI_MERGE_REQUEST_TITLE
    expire_in: 30 days