Skip to content

Commit 69f5ac1

Browse files
authored
fix(.github/workflows): use canonical dogfood deployment URL (#29075)
Use `https://dogfood.cdr.dev` directly when deploying dogfood templates. The legacy hostname returns a 301 redirect, converting upload POST requests into GET requests that fail with HTTP 405. Refs https://github.com/coder/coder/actions/runs/34145739247/job/101967393279 <details> <summary>Diagnosis evidence</summary> The job failed uploading all three template archives after Terraform validation and authenticated reads succeeded. An unauthenticated empty POST to the legacy upload URL confirmed the 301 redirect to the canonical hostname. This change avoids that redirect without changing the provider or template configuration. </details> Generated by Coder Agents on behalf of @dannykopping.
1 parent 6a3dae7 commit 69f5ac1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dogfood.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ jobs:
314314
terraform apply -auto-approve
315315
env:
316316
# Consumed by coderd provider
317-
CODER_URL: https://dev.coder.com
317+
CODER_URL: https://dogfood.cdr.dev
318318
CODER_SESSION_TOKEN: ${{ secrets.CODER_SESSION_TOKEN }}
319319
# Template source & details
320320
TF_VAR_CODER_DOGFOOD_ANTHROPIC_API_KEY: ${{ secrets.CODER_DOGFOOD_ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)