Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
europdx
k8s
cbio-on-demand
API
Commits
f80243f1
Commit
f80243f1
authored
Oct 21, 2019
by
Ľuboslav Pivarč
Browse files
Merge branch 'master' of
https://gitlab.ics.muni.cz/europdx/k8s/cbio-on-demand/api
parents
bcd56ef4
252485b0
Pipeline
#27151
passed with stages
in 8 minutes and 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f80243f1
...
...
@@ -33,6 +33,22 @@ stages:
-
docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}" ./cbioondemandK8S
-
docker push "$CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}"
.docker-build-dry
:
script
:
&docker-build-dry
-
docker build --pull ./cbioondemandK8S
#ALL
API Pipeline for MR
:
stage
:
build
<<
:
*docker-login
image
:
docker:latest
script
:
*docker-build-dry
except
:
-
master
-
dev
-
beta
#PRODUCTION
API docker image build
:
<<
:
*docker-build
...
...
cbioondemandK8S/src/main/resources/cbio-replicaset.yml
View file @
f80243f1
...
...
@@ -80,3 +80,7 @@ spec:
postStart
:
exec
:
command
:
[
"
python3"
,
"
/etc/data-loading/cbio_client.py"
]
resources
:
requests
:
memory
:
"
1400Mi"
cpu
:
"
1000m"
\ No newline at end of file
cbioondemandK8S/src/main/resources/cbiodb-replicaset.yml
View file @
f80243f1
...
...
@@ -78,6 +78,10 @@ spec:
envFrom
:
-
secretRef
:
name
:
mysql-env
resources
:
requests
:
memory
:
"
600Mi"
cpu
:
"
50m"
# we use 1 config for all on-demand databeses
volumes
:
-
name
:
config
...
...
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