Commit 1528b1fd authored by trangl's avatar trangl
Browse files

Add new file

parent 256195fa
stages:
- build
- test
- pull
- deploy
variables:
VERSION: $CI_PIPELINE_ID
build:hub:
stage: build
script:
- docker pull gcr.io/tensorflow/tensorflow:1.3.0-gpu-py3
test:json:
image: python:3-alpine
stage: test
before_script:
- pip install requests
script:
- python /scripts/validate.py ${ZOE_VALIDATION_URL} tf-google-jupyter-gpu.json
- python /scripts/validate.py ${ZOE_VALIDATION_URL} tf-google-batch-gpu.json
pull:all:
stage: pull
script:
- /scripts/distribute_docker_image.sh gcr.io/tensorflow/tensorflow:1.3.0-gpu-py3
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
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