Loading .gitlab-ci.yml +20 −12 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ workflow: stages: - preflight - check - lint - build preflight: Loading @@ -34,14 +35,14 @@ process_xsd: - export PYCHARM_HOSTED=1 - | format_issues=0 while IFS= read -r -d file; do while IFS= read -r -d '' file; do if ! forgeschema -c "$file"; then echo "❌ failed schema checks for $file" format_issues=1 fi done < <(find ./testing/xml -type f -name "*.json" -print0) if [ "$format_issues" -eq 1 ]; then echo "❌ XSD validation failed" exit 1 fi echo "✅ XSD validation OK" Loading @@ -54,6 +55,13 @@ process_json: - export PYCHARM_HOSTED=1 - 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_xml: image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest" stage: lint interruptible: true script: - python testing/lint_xml.py generate_artefacts: image: "forge.etsi.org:5050/li/schemas-definitions/forgelib" stage: build Loading testing/xml/ts_103280_xsd.json 0 → 100644 +7 −0 Original line number Diff line number Diff line { "coreSchema": "103280/TS_103_280.xsd", "supportingSchemas": [ ], "instanceDocs": [ ] } No newline at end of file Loading
.gitlab-ci.yml +20 −12 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ workflow: stages: - preflight - check - lint - build preflight: Loading @@ -34,14 +35,14 @@ process_xsd: - export PYCHARM_HOSTED=1 - | format_issues=0 while IFS= read -r -d file; do while IFS= read -r -d '' file; do if ! forgeschema -c "$file"; then echo "❌ failed schema checks for $file" format_issues=1 fi done < <(find ./testing/xml -type f -name "*.json" -print0) if [ "$format_issues" -eq 1 ]; then echo "❌ XSD validation failed" exit 1 fi echo "✅ XSD validation OK" Loading @@ -54,6 +55,13 @@ process_json: - export PYCHARM_HOSTED=1 - 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_xml: image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest" stage: lint interruptible: true script: - python testing/lint_xml.py generate_artefacts: image: "forge.etsi.org:5050/li/schemas-definitions/forgelib" stage: build Loading
testing/xml/ts_103280_xsd.json 0 → 100644 +7 −0 Original line number Diff line number Diff line { "coreSchema": "103280/TS_103_280.xsd", "supportingSchemas": [ ], "instanceDocs": [ ] } No newline at end of file