From e93cf35ae3facc77f2cbabde5ef25893b697d9e6 Mon Sep 17 00:00:00 2001 From: Steve McMaster Date: Sat, 24 Jun 2023 16:56:33 -0400 Subject: [PATCH] fix --- .drone.star | 2 +- .drone.yml | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.star b/.drone.star index e4769de..8427280 100644 --- a/.drone.star +++ b/.drone.star @@ -1,4 +1,4 @@ -CODER_URL = "https://github.com/coder/coder/releases/download/v0.24.1/coder_0.24.1_linux_amd64.tar.gz" +CODER_URL = "http://coder.coder.svc.cluster.local/bin/coder-linux-amd64" TEMPLATES = { "base": { diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 8bc05e9..0000000 --- a/.drone.yml +++ /dev/null @@ -1,21 +0,0 @@ -kind: pipeline -name: default -type: docker - -steps: - - name: push templates - image: alpine:3.16 - environment: - CODER_URL: http://coder.coder.svc.cluster.local - CODER_SESSION_TOKEN: - from_secret: CODER_SESSION_TOKEN - CODER_TEMPLATE_VERSION: $${DRONE_COMMIT_SHA} - commands: - - apk add git - - wget -q -O- https://github.com/coder/coder/releases/download/v0.11.0/coder_0.11.0_linux_amd64.tar.gz | tar -xzf - -C /usr/local/bin ./coder - - | - for template in * ; do - [ -e "$template/main.tf" ] || continue - coder templates push -d $template --yes $template || \ - coder templates create -d $template --yes $template - done