Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
europdx
k8s
cbio-on-demand
API
Commits
e7ff5cfb
Commit
e7ff5cfb
authored
5 years ago
by
Ľuboslav Pivarč
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
b2778d58
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#21418
passed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
e7ff5cfb
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Josef Handl
@456334
mentioned in commit
a56ba981
·
5 years ago
mentioned in commit
a56ba981
mentioned in commit a56ba9810cefefaee3abe29eb8278b428860025c
Toggle commit list
Josef Handl
@456334
mentioned in merge request
!2 (merged)
·
5 years ago
mentioned in merge request
!2 (merged)
mentioned in merge request !2
Toggle commit list
Josef Handl
@456334
mentioned in commit
3947e69f
·
5 years ago
mentioned in commit
3947e69f
mentioned in commit 3947e69f34e6549097257f37251f01355ae011e4
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment