6 Commits
Author SHA1 Message Date
renovate-bot f78b18d121 Update actions/checkout action to v6
CI / Validate templates (push) Successful in 57s
CI / Deploy templates (push) Failing after 17s
2026-03-18 13:31:37 +00:00
anthorob 82e0d0e195 fix 2026-03-18 09:28:33 -04:00
anthorob ad0aac7b35 fix ci 2026-03-18 09:27:11 -04:00
anthorob ec8c148d1e dispatch 2026-03-18 09:18:59 -04:00
anthorob ce5e355756 test 2026-03-18 09:18:29 -04:00
anthorob 319b647fa9 update workflow
CI / Validate templates (push) Failing after 5s
CI / Deploy templates (push) Has been skipped
2026-03-18 09:10:57 -04:00
5 changed files with 19 additions and 15 deletions

No files matched your search

+11 -7
View File
@@ -9,15 +9,17 @@ on:
paths:
- 'templates/**'
- 'base/**'
workflow_dispatch:
jobs:
validate:
name: Validate templates
runs-on: ubuntu-latest
container:
image: registry.bobert.me/anthorob/coder-base:terraform
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
- name: Terraform validate for each template
run: |
@@ -32,13 +34,15 @@ jobs:
name: Deploy templates
needs: validate
runs-on: ubuntu-latest
container:
image: registry.bobert.me/anthorob/coder-base:cli
env:
COMMIT_SHORT_SHA: ${{ github.sha }}
REPO: ${{ github.repository }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install Coder CLI
run: |
curl -fsSL https://coder.com/install.sh | sh
- name: Deploy each template
run: |
@@ -46,7 +50,7 @@ jobs:
for dir in templates/*; do
[ -d "$dir" ] || continue
name=$(basename "$dir")
display_name=$(echo "$name" | sed 's/.*/\u&/' | sed 's/-/ /g')
display_name=$(echo "$name" | sed "s/.*/\u&/" | sed "s/-/ /g")
echo "==> deploying $name"
coder templates push -d "$dir" --name "$short_sha" --message "Auto-deployed from $REPO on commit $short_sha" --yes "$name"
+2 -2
View File
@@ -10,9 +10,9 @@ terraform {
}
module "basic_workspace" {
source = "git::https://git.bobert.me/anthorob/coder-templates.git//base?ref=main"
source = "git::https://gitea.bobert.me/anthorob/coder-templates.git//base?ref=main"
docker_image = "registry.bobert.me/anthorob/coder-base:latest"
docker_image = "gitea.bobert.me/anthorob/coder-base:latest"
vscode_extensions = [
"christian-kohler.path-intellisense",
+2 -2
View File
@@ -22,9 +22,9 @@ data "coder_parameter" "java_version" {
}
module "java_workspace" {
source = "git::https://git.bobert.me/anthorob/coder-templates.git//base?ref=main"
source = "git::https://gitea.bobert.me/anthorob/coder-templates.git//base?ref=main"
docker_image = "registry.bobert.me/anthorob/coder-images:java${data.coder_parameter.java_version.value}"
docker_image = "gitea.bobert.me/anthorob/coder-images:java${data.coder_parameter.java_version.value}"
language_metadata = [
{
+2 -2
View File
@@ -49,9 +49,9 @@ data "coder_parameter" "node_version" {
}
module "php_workspace" {
source = "git::https://git.bobert.me/anthorob/coder-templates.git//base?ref=main"
source = "git::https://gitea.bobert.me/anthorob/coder-templates.git//base?ref=main"
docker_image = "registry.bobert.me/anthorob/coder-images:php${data.coder_parameter.php_version.value}"
docker_image = "gitea.bobert.me/anthorob/coder-images:php${data.coder_parameter.php_version.value}"
language_metadata = [
{
+2 -2
View File
@@ -22,9 +22,9 @@ data "coder_parameter" "python_version" {
}
module "python_workspace" {
source = "git::https://git.bobert.me/anthorob/coder-templates.git//base?ref=main"
source = "git::https://gitea.bobert.me/anthorob/coder-templates.git//base?ref=main"
docker_image = "registry.bobert.me/anthorob/coder-images:python${data.coder_parameter.python_version.value}"
docker_image = "gitea.bobert.me/anthorob/coder-images:python${data.coder_parameter.python_version.value}"
language_metadata = [
{