From 398d08a0cf461476e6a3b97979fb8aea88b435f3 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Mon, 1 May 2023 18:34:21 -0700 Subject: [PATCH] chore: fix ci.yaml deploy step for other regions 2 (#7368) --- .github/workflows/ci.yaml | 6 +++--- scripts/linux-pkg/coder-workspace-proxy.service | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 12ccc5a9dd..9be89e4845 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -492,9 +492,9 @@ jobs: regions=( # gcp-region-id instance-name systemd-service-name "us-central1-a coder coder" - "australia-southeast1-b coder-sydney coder-proxy" - "europe-west3-c coder-europe coder-proxy" - "southamerica-east1-b coder-brazil coder-proxy" + "australia-southeast1-b coder-sydney coder-workspace-proxy" + "europe-west3-c coder-europe coder-workspace-proxy" + "southamerica-east1-b coder-brazil coder-workspace-proxy" ) deb_pkg="./build/coder_$(./scripts/version.sh)_linux_amd64.deb" diff --git a/scripts/linux-pkg/coder-workspace-proxy.service b/scripts/linux-pkg/coder-workspace-proxy.service index eb663233bb..988f7a4d80 100644 --- a/scripts/linux-pkg/coder-workspace-proxy.service +++ b/scripts/linux-pkg/coder-workspace-proxy.service @@ -3,13 +3,13 @@ Description="Coder - external workspace proxy server" Documentation=https://coder.com/docs/coder-oss Requires=network-online.target After=network-online.target -ConditionFileNotEmpty=/etc/coder.d/coder-proxy.env +ConditionFileNotEmpty=/etc/coder.d/coder-workspace-proxy.env StartLimitIntervalSec=60 StartLimitBurst=3 [Service] Type=notify -EnvironmentFile=/etc/coder.d/coder-proxy.env +EnvironmentFile=/etc/coder.d/coder-workspace-proxy.env User=coder Group=coder ProtectSystem=full