Commit 6487f72f authored by Daniele Venzano's avatar Daniele Venzano

Fix order of testing and building

parent 21ec224e
Pipeline #7843 passed with stages
in 3 minutes and 32 seconds
......@@ -17,22 +17,17 @@ test:build:
script:
- docker build --build-arg VERSION=${VERSION} -t ${REPOSITORY}/boinc:${VERSION} boinc
build:json:
image: python:3-alpine
stage: build
script:
- python gen_json.py
artifacts:
paths:
- boinc.json
test:json:
image: python:3-alpine
stage: test
before_script:
- pip install requests
script:
- python gen_json.py
- python /scripts/validate.py ${ZOE_VALIDATION_URL} boinc.json
artifacts:
paths:
- boinc.json
.build_template: &build_def
stage: build
......
Markdown is supported
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