From f2c15acddffb003773b3339f1fe3aacdc33671c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20S=C3=B6derberg?= Date: Sat, 11 Jul 2026 15:59:39 +0200 Subject: [PATCH] Delete .gitlab-ci.yml --- .gitlab-ci.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 494e7a2..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,30 +0,0 @@ -stages: - - Test & Publish - -"Test & Publish Template": - stage: Test & Publish - image: - name: hashicorp/terraform:latest - entrypoint: [""] - - variables: - TEMPLATE_NAME: "LTH" - CODER_URL: "https://coder.soderberg.tech" - - rules: - - if: '$CI_COMMIT_BRANCH == "main"' - - if: '$CI_PIPELINE_SOURCE == "web"' - - before_script: - - apk add --no-cache curl - - curl -fsSL https://coder.com/install.sh | sh - - script: - - terraform init - - terraform validate - - coder templates push $TEMPLATE_NAME -d $CI_PROJECT_DIR --activate=false --name $CI_COMMIT_SHORT_SHA --message "$CI_COMMIT_TITLE" --yes - - coder create -t $TEMPLATE_NAME --template-version $CI_COMMIT_SHORT_SHA test-$CI_COMMIT_SHORT_SHA --yes --parameter "username=TEST-GIT-NAME,user_email=test@test.com" - - coder template version promote --template=$TEMPLATE_NAME --template-version=$CI_COMMIT_SHORT_SHA - - after_script: - - coder delete test-$CI_COMMIT_SHORT_SHA --yes || true