Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NGSI Linked Data
NGSI-LD API
Commits
7af4b755
Commit
7af4b755
authored
Feb 02, 2021
by
Stefan Wiedemann
Browse files
update ci
parent
88a83753
Pipeline
#5860
passed with stage
Changes
2
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7af4b755
# 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:
# https://hub.docker.com/r/library/node/tags/
image
:
node::13.7-alpine
# This folder is cached between builds
# http://docs.rep.com/ce/ci/yaml/README.html#cache
cache
:
paths
:
-
node_modules/
image
:
docker:19.03.12
before_script
:
-
yarn
-
docker info
stages
:
-
test
...
...
@@ -18,7 +12,10 @@ stages:
test
:
stage
:
test
script
:
-
echo "Running tests..."
-
yarn test
-
scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master 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/setBasePath.sh http://localhost:8090 https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master
allow_failure
:
true
spec/updated/full_api.json
0 → 100644
View file @
7af4b755
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment