From 56d590f6b25da8a37ddfb044c7b692380bf63dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20T=C3=B3th?= <gabor7d2@gmail.com> Date: Thu, 20 Jun 2024 22:42:31 +0200 Subject: [PATCH] Fix gitlab CI --- .gitlab-ci.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b696bb9..1180d47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - CONTAINER_IMAGE: 'harbor.sch.bme.hu/kszk-coderweek/web' + CONTAINER_IMAGE: 'harbor.sch.bme.hu/kszk-kepzes/rendelosch' stages: - build @@ -19,27 +19,3 @@ build: --destination "${CONTAINER_IMAGE}:latest" only: - 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 -- GitLab