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
Commits
86d0f63e
Unverified
Commit
86d0f63e
authored
Mar 05, 2021
by
Stefan Wiedemann
Browse files
try with services
parent
7e734834
Pipeline
#6340
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
86d0f63e
...
...
@@ -3,14 +3,16 @@ before_script:
-
docker info
stages
:
-
prepare
-
test
build
:
stage
:
test
stage
:
prepare
image
:
docker:19.03.12
script
:
-
scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master http://localhost:8080
-
docker build -t ngsi-local -f docker/Dockerfile .
allow_failure
:
false
test
:
stage
:
test
...
...
@@ -19,11 +21,9 @@ test:
-
image
:
ngsi-local
environment
:
-
FOLDER=/ngsi
needs
:
-
job:build
script
:
-
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/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 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/full_api.json
-
docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/full_api.json
allow_failure
:
false
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