Commit d36ffa39 authored by Daniele Venzano's avatar Daniele Venzano

Update CI script

parent 61a822c0
Pipeline #10841 passed with stages
in 1 minute and 6 seconds
......@@ -28,13 +28,10 @@ test:json:
artifacts:
paths:
- boinc.json
.build_template: &build_def
stage: build
script:
- docker -H ${BUILD_HOST}.containers.bigfoot.eurecom.fr:2375 $DOCKER_TLS_OPTIONS build --build-arg VERSION=${VERSION} -t ${REPOSITORY}/boinc:${VERSION} boinc/
only:
- master
- manifest.json
- logo.png
- README.md
- images
push:hub:
stage: push
......@@ -43,98 +40,3 @@ push:hub:
only:
- master
deploy:json:
stage: deploy
script:
- mkdir -p ${ZAPP_SHOP_BASE_PATH}/${CI_PROJECT_NAME}
- cp *.json ${ZAPP_SHOP_BASE_PATH}/${CI_PROJECT_NAME}/
- cp logo.png ${ZAPP_SHOP_BASE_PATH}/${CI_PROJECT_NAME}/
- cp README*.md ${ZAPP_SHOP_BASE_PATH}/${CI_PROJECT_NAME}/
artifacts:
paths:
- "*.json"
- logo.png
- "README*.md"
only:
- master
build:bf7:
<<: *build_def
variables:
BUILD_HOST: bf7
build:bf8:
<<: *build_def
variables:
BUILD_HOST: bf8
build:bf9:
<<: *build_def
variables:
BUILD_HOST: bf9
build:bf10:
<<: *build_def
variables:
BUILD_HOST: bf10
build:bf12:
<<: *build_def
variables:
BUILD_HOST: bf12
build:bf13:
<<: *build_def
variables:
BUILD_HOST: bf13
build:bf14:
<<: *build_def
variables:
BUILD_HOST: bf14
build:bf15:
<<: *build_def
variables:
BUILD_HOST: bf15
build:bf16:
<<: *build_def
variables:
BUILD_HOST: bf16
build:bf17:
<<: *build_def
variables:
BUILD_HOST: bf17
build:bf18:
<<: *build_def
variables:
BUILD_HOST: bf18
build:bf19:
<<: *build_def
variables:
BUILD_HOST: bf19
build:bf20:
<<: *build_def
variables:
BUILD_HOST: bf20
build:bf21:
<<: *build_def
variables:
BUILD_HOST: bf21
build:bf22:
<<: *build_def
variables:
BUILD_HOST: bf22
build:deepfoot1:
<<: *build_def
variables:
BUILD_HOST: deepfoot1
......@@ -93,6 +93,8 @@ if __name__ == '__main__':
}
json.dump(app, open("boinc.json", "w"), sort_keys=True, indent=4)
with open('images', 'w') as fp:
fp.write(IMAGE + '\n')
print("ZApp written")
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