Skip to content
Snippets Groups Projects
Commit 56d590f6 authored by Gábor Tóth's avatar Gábor Tóth
Browse files

Fix gitlab CI

parent 0e3f4e4b
No related branches found
No related tags found
No related merge requests found
Pipeline #50729 failed
variables: variables:
CONTAINER_IMAGE: 'harbor.sch.bme.hu/kszk-coderweek/web' CONTAINER_IMAGE: 'harbor.sch.bme.hu/kszk-kepzes/rendelosch'
stages: stages:
- build - build
...@@ -19,27 +19,3 @@ build: ...@@ -19,27 +19,3 @@ build:
--destination "${CONTAINER_IMAGE}:latest" --destination "${CONTAINER_IMAGE}:latest"
only: only:
- tags - tags
deploy:
stage: deploy
image:
name: alpine
entrypoint: [ "" ]
before_script:
- DIR="$PWD"
- apk add bash curl gettext
- cd /tmp
- curl https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz | tar xvz
- cd /tmp/linux-amd64
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
- chmod +x kubectl
- export PATH="$PATH:/tmp/linux-amd64"
- cd "$DIR"
script:
- kubectl config set-context --current --namespace coderweek
- cd k8s
- envsubst < Chart.yaml.template > Chart.yaml
- envsubst < values.yaml | helm upgrade --install coderweek . -n coderweek --values -
only:
- tags
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