Unverified Commit 890c0ea4 authored by Stefan Wiedemann's avatar Stefan Wiedemann
Browse files

try with services

parent 86d0f63e
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -18,9 +18,7 @@ test:
  stage: test
  stage: test
  image: docker:19.03.12
  image: docker:19.03.12
  services:
  services:
    - image: ngsi-local
    - ngsi-local
      environment:
        - FOLDER=/ngsi
  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 --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/Dockerfile

0 → 100644
+2 −0
Original line number Original line Diff line number Diff line
FROM halverneus/static-file-server
ADD . /web
 No newline at end of file