fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2023-06-24 17:08:48 -04:00
parent 67941d83b5
commit 520e4a77c4

View File

@ -1,4 +1,4 @@
CODER_URL = "http://coder.coder.svc.cluster.local/bin/coder-linux-amd64"
CODER_URL = "https://github.com/coder/coder/releases/download/v0.24.1/coder_0.24.1_linux_amd64.tar.gz"
TEMPLATES = {
"base": {
@ -74,8 +74,7 @@ def main(ctx):
},
"commands": [
"apk add git",
"wget -v -o /usr/local/bin/coder {url}".format(url = CODER_URL),
"chmod 0755 /usr/local/bin/coder",
"wget -q -O- {url} | tar -xzf - -C /usr/local/bin ./coder".format(url = CODER_URL),
"sleep $(( $RANDOM % 15 ))",
" || ".join([
"coder templates push -d {name} --yes {name}".format(name = coder_template),