commit bundled api

parent dd005158
Pipeline #6348 failed with stages
in 2 minutes and 15 seconds
......@@ -23,9 +23,8 @@ test:
- scripts/ 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 "${CI_DEPLOY_USER}"
- git config --global ""
- git config --global "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$CI_PROJECT_PATH.git
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment