Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NGSI-LD API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CIM - Context Information Management
NGSI-LD API
Commits
7e734834
Unverified
Commit
7e734834
authored
3 years ago
by
Stefan Wiedemann
Browse files
Options
Downloads
Patches
Plain Diff
try with services
parent
be673efa
No related branches found
Branches containing commit
No related tags found
1 merge request
!7
Fix spec
Pipeline
#6339
failed
3 years ago
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-6
13 additions, 6 deletions
.gitlab-ci.yml
with
13 additions
and
6 deletions
.gitlab-ci.yml
+
13
−
6
View file @
7e734834
...
@@ -5,18 +5,25 @@ before_script:
...
@@ -5,18 +5,25 @@ before_script:
stages
:
stages
:
-
test
-
test
build
:
stage
:
test
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 .
test
:
test
:
stage
:
test
stage
:
test
image
:
docker:19.03.12
image
:
docker:19.03.12
# needs:
services
:
# - job:build
-
image
:
ngsi-local
environment
:
-
FOLDER=/ngsi
needs
:
-
job:build
script
:
script
:
-
scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master http://localhost:9090
-
scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master http://localhost:9090
-
docker run --name fileserver --rm -d -v ${PWD}/:/ngsi -e FOLDER=/ngsi -p 9090:8080 halverneus/static-file-server
-
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 -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
-
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
after_script
:
-
docker stop fileserver
allow_failure
:
false
allow_failure
:
false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment