This commit is contained in:
parent
67941d83b5
commit
520e4a77c4
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user