Loading .gitlab-ci.yml +2 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,8 @@ test: - scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master http://localhost:9090 - docker run --network host -i -v ${PWD}/:/data wistefan/redocly-openapi-cli bundle /data/spec/updated/ngsi-ld-spec-open-api.json -o /data/spec/updated/generated/full_api.json - docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/generated/full_api.json - echo ${PWD} - ls ${PWD}/spec/updated/generated/ - git config --global user.name "${CI_DEPLOY_USER}" - git config --global user.email "ci@etsi.org" - git config --global user.name "Gitlab runner" - git add -f ${PWD}/spec/updated/generated/full_api.json - git commit -m "Update bundled spec." || echo "No changes, nothing to commit!" - git remote rm origin && git remote add origin git@gitlab.com:$CI_PROJECT_PATH.git Loading Loading
.gitlab-ci.yml +2 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,8 @@ test: - scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master http://localhost:9090 - docker run --network host -i -v ${PWD}/:/data wistefan/redocly-openapi-cli bundle /data/spec/updated/ngsi-ld-spec-open-api.json -o /data/spec/updated/generated/full_api.json - docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/generated/full_api.json - echo ${PWD} - ls ${PWD}/spec/updated/generated/ - git config --global user.name "${CI_DEPLOY_USER}" - git config --global user.email "ci@etsi.org" - git config --global user.name "Gitlab runner" - git add -f ${PWD}/spec/updated/generated/full_api.json - git commit -m "Update bundled spec." || echo "No changes, nothing to commit!" - git remote rm origin && git remote add origin git@gitlab.com:$CI_PROJECT_PATH.git Loading