Dnes v noci mezi 02.10 - 02.15h proběhne aktualizace GitLabu na verzi 14.5.

Commit 31dc1a84 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

Update .gitlab-ci.yml, cbioondemandK8S/src/main/resources/cbio-replicaset.yml files

parent 3947e69f
Pipeline #21646 passed with stages
in 18 minutes and 25 seconds
......@@ -18,8 +18,8 @@ API docker image build:
<<: *docker-login
image: docker:latest
script:
- docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}" ./cbioondemandK8S
- docker push "$CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME}"
- docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" ./cbioondemandK8S
- docker push "$CI_REGISTRY_IMAGE:${CI_COMMIT_SHA}"
only:
refs:
- master
......@@ -31,7 +31,7 @@ API Kube deploy:
variables:
NAMESPACE: cbio-on-demand
script:
- sed -i "s^__IMAGE__^${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}^" ./k8s/deployment.yml
- sed -i "s^__IMAGE__^${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}^" ./k8s/deployment.yml
- sed -i "s^__NAMESPACE__^${NAMESPACE}^" ./k8s/deployment.yml ./k8s/service.yml
- kubectl version
- kubectl get pods -n cbio-on-demand
......
......@@ -32,7 +32,7 @@ spec:
- name: dataloding
containers:
- name: cbio
image: lpivo/cbioportal:tr8
image: registry.gitlab.ics.muni.cz:443/europdx/k8s/cbio-on-demand/data-loading:app32a8fb32ad9831d51a829bb4583375b21ba511e1
ports:
- name: http
containerPort: 8080
......
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