mirror of https://github.com/coder/coder.git
chore: fix ci.yaml deploy step for other regions 2 (#7368)
This commit is contained in:
parent
41726a785e
commit
398d08a0cf
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue