Commit 9d796984 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Refactoring

parent 7fb43357
Loading
Loading
Loading
Loading
Loading
+21 −3
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@ stages:
  - lint
  - build


# -----------------------------------------------------------
# Preflight

preflight:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgelib"
  stage: preflight
@@ -20,12 +24,16 @@ preflight:
  script:
    - forgelib-preflight https://$CI_SERVER_HOST $CI_PROJECT_ID $CI_MERGE_REQUEST_IID


# -----------------------------------------------------------
# Compile

compile_asn:
  image: "forge.etsi.org:5050/li/schemas-definitions/asn1test:latest"
  stage: compile
  interruptible: true
  script:
    - python3 testing/asn_process.py
    - python3 testing/asn/asn_process.py

compile_xsd:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -87,12 +95,17 @@ compile_json:
      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


# -----------------------------------------------------------
# Lint

lint_xml:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
  stage: lint
  interruptible: true
  allow_failure: true
  script:
    - export PYCHARM_HOSTED=1
    - python testing/xml/lint_xml.py

lint_json:
@@ -101,8 +114,13 @@ lint_json:
  interruptible: true
  allow_failure: true
  script:
    - export PYCHARM_HOSTED=1
    - python testing/json/lint_json.py


# -----------------------------------------------------------
# Build

generate_artefacts:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgelib"
  stage: build

temp.asn

0 → 100644
+762 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −0

File moved.

Loading