Loading Makefile→.gitlab-ci.mk +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ endif validate: iso build doc: docs python3 asn2md.py docs $(ASN1_SRC) python3 asn2md.py -o docs --brief-as-title $(ASN1_SRC) iso docs: mkdir -p $@ Loading .gitlab-ci.yml +15 −13 Original line number Diff line number Diff line Loading @@ -5,23 +5,25 @@ image: danya25/asn1c:0.0.5 validate: stage: test script: make validate cache: paths: - iso/* script: make -f .gitlab-ci.mk validate only: changes: - "*.asn" - "asn/*.asn" documentation: stage: deploy script: - curl --header "PRIVATE-TOKEN:$CI_DOC_TOKEN" https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py?ref=master | python3 -c "import sys, json, base64; open('asn2md.py', 'wb').write(base64.b64decode(json.load(sys.stdin)['content']))" - make doc - git add docs/*.md - git commit -m "Documentation update" - git remote rm origin && git remote add origin https://oauth2:$CI_DOC_TOKEN@forge.etsi.org/rep/$CI_PROJECT_PATH.git - git push origin HEAD:$CI_COMMIT_REF_NAME # Pushes to the same branch as the trigger - curl -o asn2md.py --header "PRIVATE-TOKEN:$CI_JOB_TOKEN" "https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py/raw?ref=master" - make -f .gitlab-ci.mk doc - > if [ -z "$(git status --untracked-files=no --porcelain)" ]; then echo "No changes found"; else git add docs/*.md && git commit -m "Documentation update" && git remote rm origin && git remote add origin https://oauth2:$CI_JOB_TOKEN@forge.etsi.org/rep/$CI_PROJECT_PATH.git && git push origin HEAD:$CI_COMMIT_REF_NAME; fi only: changes: - "*.asn" - "asn/*.asn" IMZM-PDU-Descriptions.asn +1 −1 Original line number Diff line number Diff line --! @brief Specification of the Interference Management Zone Message ETSI TS 103 724 --! @brief Specification of the Interference Management Zone Message ETSI TS 103 724 --! Latest version available at @url https://forge.etsi.org/rep/ITS/asn1/imzm_ts103724 IMZM-PDU-Descriptions { Loading Loading
Makefile→.gitlab-ci.mk +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ endif validate: iso build doc: docs python3 asn2md.py docs $(ASN1_SRC) python3 asn2md.py -o docs --brief-as-title $(ASN1_SRC) iso docs: mkdir -p $@ Loading
.gitlab-ci.yml +15 −13 Original line number Diff line number Diff line Loading @@ -5,23 +5,25 @@ image: danya25/asn1c:0.0.5 validate: stage: test script: make validate cache: paths: - iso/* script: make -f .gitlab-ci.mk validate only: changes: - "*.asn" - "asn/*.asn" documentation: stage: deploy script: - curl --header "PRIVATE-TOKEN:$CI_DOC_TOKEN" https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py?ref=master | python3 -c "import sys, json, base64; open('asn2md.py', 'wb').write(base64.b64decode(json.load(sys.stdin)['content']))" - make doc - git add docs/*.md - git commit -m "Documentation update" - git remote rm origin && git remote add origin https://oauth2:$CI_DOC_TOKEN@forge.etsi.org/rep/$CI_PROJECT_PATH.git - git push origin HEAD:$CI_COMMIT_REF_NAME # Pushes to the same branch as the trigger - curl -o asn2md.py --header "PRIVATE-TOKEN:$CI_JOB_TOKEN" "https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py/raw?ref=master" - make -f .gitlab-ci.mk doc - > if [ -z "$(git status --untracked-files=no --porcelain)" ]; then echo "No changes found"; else git add docs/*.md && git commit -m "Documentation update" && git remote rm origin && git remote add origin https://oauth2:$CI_JOB_TOKEN@forge.etsi.org/rep/$CI_PROJECT_PATH.git && git push origin HEAD:$CI_COMMIT_REF_NAME; fi only: changes: - "*.asn" - "asn/*.asn"
IMZM-PDU-Descriptions.asn +1 −1 Original line number Diff line number Diff line --! @brief Specification of the Interference Management Zone Message ETSI TS 103 724 --! @brief Specification of the Interference Management Zone Message ETSI TS 103 724 --! Latest version available at @url https://forge.etsi.org/rep/ITS/asn1/imzm_ts103724 IMZM-PDU-Descriptions { Loading