Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
zapp-tensorflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zoe-apps
zapp-tensorflow
Commits
aefc555f
Commit
aefc555f
authored
May 09, 2017
by
Daniele Venzano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing replicas keys
parent
676ebc49
Pipeline
#4052
failed with stage
in 15 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
.gitlab-ci.yml
.gitlab-ci.yml
+6
-3
gen_json_google.py
gen_json_google.py
+3
-2
gen_json_standalone.py
gen_json_standalone.py
+3
-2
No files found.
.gitlab-ci.yml
View file @
aefc555f
...
...
@@ -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
...
...
gen_json_google.py
View file @
aefc555f
...
...
@@ -17,7 +17,7 @@ import json
import
sys
import
os
APP_NAME
=
't
ensorflow
-google'
APP_NAME
=
't
f
-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
...
...
gen_json_standalone.py
View file @
aefc555f
...
...
@@ -17,7 +17,7 @@ import json
import
sys
import
os
APP_NAME
=
't
ensorflow
'
APP_NAME
=
't
f-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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment