From 510bc5eec928ff447ecc018ab1d3a36876c96e14 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Tue, 2 May 2023 01:10:24 +0000 Subject: [PATCH] chore: fix ci.yaml deploy step for other regions 2 --- .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 12ccc5a9dd3d5..9be89e4845024 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 eb663233bb38d..988f7a4d80d4a 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