Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ui-middleware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
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
Open Source Software
OX App Suite
Core
ui-middleware
Commits
ee0c0574
Commit
ee0c0574
authored
3 years ago
by
maik.schaefer
Browse files
Options
Downloads
Patches
Plain Diff
update gitlab ci
parent
881bade8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.dockerignore
+1
-0
1 addition, 0 deletions
.dockerignore
.gitlab-ci.yml
+4
-10
4 additions, 10 deletions
.gitlab-ci.yml
.gitlab-ci/values.yaml
+15
-0
15 additions, 0 deletions
.gitlab-ci/values.yaml
with
20 additions
and
10 deletions
.dockerignore
+
1
−
0
View file @
ee0c0574
...
...
@@ -8,3 +8,4 @@ docker-compose.yml
Dockerfile
README.md
helm
.gitlab-ci/
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
4
−
10
View file @
ee0c0574
...
...
@@ -4,18 +4,12 @@ include:
# Helm is used for deploying everything to kubernetes
# Afterwards we do a rolling restart of our deployment
deploy
:
stage
:
deploy
image
:
dtzar/helm-kubectl
tags
:
-
kubernetes
script
:
-
envsubst < helm/values/develop.yaml > values.yaml
-
kubectl create secret docker-registry gitlab-registry-credentials --docker-server=$CI_REGISTRY --docker-username=$GITLAB_DEPLOY_USER --docker-password=$GITLAB_DEPLOY_PASSWORD --dry-run=client -o yaml | kubectl apply -f -
-
helm upgrade -i manifest-service helm/manifest-service -f values.yaml
-
kubectl rollout restart deployment manifest-service
deploy helm chart
:
extends
:
.auto-deploy-helm-chart
environment
:
name
:
$CI_COMMIT_REF_SLUG
on_stop
:
tear down
auto_stop_in
:
1 week
url
:
https://manifest-$CI_COMMIT_REF_SLUG.k3s.os.oxui.de/
only
:
-
main
This diff is collapsed.
Click to expand it.
.gitlab-ci/values.yaml
0 → 100644
+
15
−
0
View file @
ee0c0574
replicaCount
:
1
containerPort
:
8080
manifests
:
-
https://manifest-service-dummy.k3s.os.oxui.de/manifest.json
ingress
:
enabled
:
true
hosts
:
-
host
:
manifest-${CI_COMMIT_REF_SLUG}.k3s.os.oxui.de
paths
:
-
path
:
/
image
:
tag
:
main
pullPolicy
:
Always
imagePullSecrets
:
-
name
:
gitlab-registry-credentials
This diff is collapsed.
Click to expand it.
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