Commit aefc555f authored by Daniele Venzano's avatar Daniele Venzano

Fix missing replicas keys

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