diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0305e9ef326156f7974ede392c958e6cc5eae89c..b366c05a81ee465db17d1e881630a12628a86c44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,8 @@ preflight: interruptible: true script: - forgelib-preflight https://$CI_SERVER_HOST $CI_PROJECT_ID $CI_MERGE_REQUEST_IID - + tags: + - docker # ----------------------------------------------------------- # Compile @@ -34,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" @@ -64,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" @@ -94,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 # ----------------------------------------------------------- @@ -107,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" @@ -116,6 +125,8 @@ lint_json: script: - export PYCHARM_HOSTED=1 - python testing/json/lint_json.py + tags: + - docker # ----------------------------------------------------------- @@ -143,3 +154,5 @@ generate_artefacts: - "*.docx" name: $CI_MERGE_REQUEST_TITLE expire_in: 30 days + tags: + - docker