Commit 7af4b755 authored by Stefan Wiedemann's avatar Stefan Wiedemann
Browse files

update ci

parent 88a83753
Pipeline #5860 passed with stage
# This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at:
image: node::13.7-alpine
# This folder is cached between builds
- node_modules/
image: docker:19.03.12
- yarn
- docker info
- test
......@@ -18,7 +12,10 @@ stages:
stage: test
- echo "Running tests..."
- yarn test
- scripts/ http://localhost:8090
- docker run --name spec-server --rm -d -v ${PWD}/:/ngsi -e FOLDER=/ngsi -p 8090:8080 halverneus/static-file-server
- docker run --network host -it -v ${PWD}/:/data broothie/redoc-cli bundle spec/updated/ngsi-ld-spec-open-api.json -o spec/updated/full_api.json
- docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/full_api.json
- scripts/ http://localhost:8090
allow_failure: true
This diff is collapsed.
Supports Markdown
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