update images
This commit is contained in:
1 parent
4e9c7eed22
commit
bd51ac0af7
7 files changed
+7
-27
No files matched your search
@@ -14,7 +14,7 @@ for dir in templates/*; do
|
||||
|
||||
validate_$name:
|
||||
stage: validate
|
||||
image: registry.bobert.me/anthorob/coder-images:terraform-shell
|
||||
image: registry.bobert.me/anthorob/coder-base:terraform
|
||||
script:
|
||||
- terraform -chdir=$dir init -backend=false
|
||||
- terraform -chdir=$dir validate
|
||||
@@ -25,11 +25,11 @@ validate_$name:
|
||||
rules:
|
||||
- changes:
|
||||
- $dir/**
|
||||
- coder-base/**
|
||||
- base/**
|
||||
|
||||
deploy_$name:
|
||||
stage: deploy
|
||||
image: registry.bobert.me/anthorob/coder-images:coder-cli
|
||||
image: registry.bobert.me/anthorob/coder-base:cli
|
||||
script:
|
||||
- coder templates push -d $dir --name "${CI_COMMIT_SHORT_SHA}" --message "Auto-deployed from ${CI_PROJECT_PATH} on commit ${CI_COMMIT_SHORT_SHA}" --yes $name
|
||||
- coder templates edit $name --display-name "$display_name Dev Environment" --description "Development environment for $name" --icon "/icon/$name.svg" --yes
|
||||
@@ -38,7 +38,7 @@ deploy_$name:
|
||||
rules:
|
||||
- changes:
|
||||
- $dir/**
|
||||
- coder-base/**
|
||||
- base/**
|
||||
EOF
|
||||
|
||||
done
|
||||
Reference in new issue
Block a user