Commit aefc555f authored by Daniele Venzano's avatar Daniele Venzano

Fix missing replicas keys

parent 676ebc49
......@@ -4,7 +4,7 @@ stages:
variables:
VERSION: $CI_BUILD_ID
images:
standalone:
image: docker:latest
stage: deploy
before_script:
......@@ -13,7 +13,7 @@ images:
- mkdir -p $HOME/.docker
- echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
- apk update
- apk add python findutils bash
- apk add python findutils bash curl
script:
- bash build_all.sh
- python gen_json_standalone.py
......@@ -25,8 +25,11 @@ images:
- master
google:
image: python
image: python:alpine
stage: deploy
before_script:
- apk update
- apk add bash curl
script:
- python gen_json_google.py
- bash validate_all.sh
......
......@@ -17,7 +17,7 @@ import json
import sys
import os
APP_NAME = 'tensorflow-google'
APP_NAME = 'tf-google'
ZOE_APPLICATION_DESCRIPTION_VERSION = 3
options = {
......@@ -74,7 +74,8 @@ def goog_tensorflow_service(memory_limit, core_limit):
'command': None,
'total_count': 1,
'essential_count': 1,
'startup_order': 0
'startup_order': 0,
'replicas': 1
}
return service
......
......@@ -17,7 +17,7 @@ import json
import sys
import os
APP_NAME = 'tensorflow'
APP_NAME = 'tf-standalone'
ZOE_APPLICATION_DESCRIPTION_VERSION = 3
options = {
......@@ -62,7 +62,8 @@ def custom_tensorflow_service(memory_limit, core_limit):
'command': None,
'total_count': 1,
'essential_count': 1,
'startup_order': 0
'startup_order': 0,
'replicas': 1
}
return service
......
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