Loading .gitlab-ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -6,11 +6,28 @@ workflow: - if: $CI_COMMIT_BRANCH stages: - markdown_test - preflight - compile - lint - build # ----------------------------------------------------------- # Markdown markdown: stage: markdown_test rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' interruptible: true script: - cd 104196 - ./publish.sh 001 ts_spec_template.docx 104196 ts_cover_skeleton.docx TS artifacts: paths: - "104196/baseline/*.docx" name: $CI_MERGE_REQUEST_TITLE expire_in: 30 days # ----------------------------------------------------------- # Preflight Loading 104196/104196.md→104196/TS_104196.md +0 −4 Original line number Diff line number Diff line Loading @@ -255,7 +255,3 @@ No additional comments on this topic are made in the present document. |December 2025 | 0.6.0 | Version uploaded for discussion on 2025-12-16 | |December 2025 | 0.6.1 | Version at end of discussion on 2025-12-16 | | | | | 104196/publish.sh +2 −2 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ done for i in *.md ; do if [ $i != 'README.md' ]; then if [[ $i =~ (GS|GR|TS|TR|EN|EG).*\.md ]] ; then echo "\n------ Processing MD file to combine all clauses (::include) -------" echo "\n------ Processing $i to combine all clauses (::include) -------" docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) -w "/tmp" "$MARKDOWN_TOOLS_DOCKER_IMAGE" processMDSpec -fmo "$i" -fmf frontmatter.md docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) -w "/tmp" "$MARKDOWN_TOOLS_DOCKER_IMAGE" processMDSpec "$i" > combined.md cat combined.md > $i Loading @@ -72,7 +72,7 @@ for i in *.md ; do echo "\n------ Preparing spec --------" docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) "$GENERATE_BASELINE_DOCKER_IMAGE" pandocFilter -ts -fp -o "/tmp/" "/tmp/$i" echo "\n------ Publishing spec --------" mkdir baseline [ -d baseline ] || mkdir baseline # Word output docker run --rm -v $(pwd):/data -u $(id -u):$(id -g) -w "/data" "$PANDOC_DOCKER_IMAGE" "/data/$i" --toc --metadata toc-title="Contents" -F mermaid-filter -f markdown+escaped_line_breaks -t docx --reference-doc "/data/${SPEC_TEMPLATE}" -o "baseline/${SPEC_NAME}_${TAG_NAME}.docx" #echo 'docker run --rm -v $(pwd):/data -u $(id -u):$(id -g) "$DOCKER_IMAGE" "/data/$i" -F mermaid-filter -f markdown+escaped_line_breaks -t pdf -o "${4}_${2}.pdf"' Loading Loading
.gitlab-ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -6,11 +6,28 @@ workflow: - if: $CI_COMMIT_BRANCH stages: - markdown_test - preflight - compile - lint - build # ----------------------------------------------------------- # Markdown markdown: stage: markdown_test rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' interruptible: true script: - cd 104196 - ./publish.sh 001 ts_spec_template.docx 104196 ts_cover_skeleton.docx TS artifacts: paths: - "104196/baseline/*.docx" name: $CI_MERGE_REQUEST_TITLE expire_in: 30 days # ----------------------------------------------------------- # Preflight Loading
104196/104196.md→104196/TS_104196.md +0 −4 Original line number Diff line number Diff line Loading @@ -255,7 +255,3 @@ No additional comments on this topic are made in the present document. |December 2025 | 0.6.0 | Version uploaded for discussion on 2025-12-16 | |December 2025 | 0.6.1 | Version at end of discussion on 2025-12-16 | | | | |
104196/publish.sh +2 −2 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ done for i in *.md ; do if [ $i != 'README.md' ]; then if [[ $i =~ (GS|GR|TS|TR|EN|EG).*\.md ]] ; then echo "\n------ Processing MD file to combine all clauses (::include) -------" echo "\n------ Processing $i to combine all clauses (::include) -------" docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) -w "/tmp" "$MARKDOWN_TOOLS_DOCKER_IMAGE" processMDSpec -fmo "$i" -fmf frontmatter.md docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) -w "/tmp" "$MARKDOWN_TOOLS_DOCKER_IMAGE" processMDSpec "$i" > combined.md cat combined.md > $i Loading @@ -72,7 +72,7 @@ for i in *.md ; do echo "\n------ Preparing spec --------" docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) "$GENERATE_BASELINE_DOCKER_IMAGE" pandocFilter -ts -fp -o "/tmp/" "/tmp/$i" echo "\n------ Publishing spec --------" mkdir baseline [ -d baseline ] || mkdir baseline # Word output docker run --rm -v $(pwd):/data -u $(id -u):$(id -g) -w "/data" "$PANDOC_DOCKER_IMAGE" "/data/$i" --toc --metadata toc-title="Contents" -F mermaid-filter -f markdown+escaped_line_breaks -t docx --reference-doc "/data/${SPEC_TEMPLATE}" -o "baseline/${SPEC_NAME}_${TAG_NAME}.docx" #echo 'docker run --rm -v $(pwd):/data -u $(id -u):$(id -g) "$DOCKER_IMAGE" "/data/$i" -F mermaid-filter -f markdown+escaped_line_breaks -t pdf -o "${4}_${2}.pdf"' Loading