Commit 38eb032d authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Updating CI/CD

parent 13c4dfbf
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ compile_asn:
  interruptible: true
  script:
    - python3 testing/asn/asn_process.py
  tags:
    - docker

compile_xsd:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -65,6 +67,8 @@ compile_xsd:
      echo "✅ XSD validation OK ($check_count files checked)"  
      echo "┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅"
      echo "✅ XSD validation OK for $file"
  tags:
    - docker

compile_json:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -95,6 +99,8 @@ compile_json:
      echo "✅ JSON validation OK ($check_count files checked)"  
      echo "┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅"
    - forgeschema -s 103120/schema/json/ts_103120_Core.schema.json -u 103120/schema/json -u 103120/dictionaries/ts_103120_Dictionaries.schema.json -u 103280/TS_103_280.schema.json -i 103120/examples/json
  tags:
    - docker


# -----------------------------------------------------------
@@ -108,6 +114,8 @@ lint_xml:
  script:
    - export PYCHARM_HOSTED=1
    - python testing/xml/lint_xml.py
  tags:
    - docker

lint_json:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -117,6 +125,8 @@ lint_json:
  script:
    - export PYCHARM_HOSTED=1
    - python testing/json/lint_json.py
  tags:
    - docker


# -----------------------------------------------------------
@@ -144,3 +154,5 @@ generate_artefacts:
      - "*.docx"
    name: $CI_MERGE_REQUEST_TITLE
    expire_in: 30 days
  tags:
    - docker