chore: fix ci.yaml deploy step for other regions 2 (#7368)

This commit is contained in:
Dean Sheather 2023-05-01 18:34:21 -07:00 committed by GitHub
parent 41726a785e
commit 398d08a0cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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