Skip to content
Snippets Groups Projects
Commit 5cbb6f69 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

added gitlab repo to helm

parent 771b46cd
No related tags found
No related merge requests found
Pipeline #4017 passed
......@@ -13,6 +13,8 @@ COPY scripts /scripts
WORKDIR /scripts
CMD php deleteOldBranches.php && \
helm repo add gitlab https://charts.gitlab.io/ && \
helm repo update && \
export GITLAB_VERSION=$(helm ls -o json | jq -c -r '.[] | select(.name == "gitlab") | .chart' | cut -d"-" -f2) && \
helm get values gitlab > gitlab.yml && \
helm upgrade gitlab gitlab/gitlab -f gitlab.yml --version=$GITLAB_VERSION --set registry.maintenance.readOnly.enabled=true --wait && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment