mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
fix(dogfood): Enable pipefail for startup_script (#6017)
This commit is contained in:
committed by
GitHub
parent
a5f3f02ef8
commit
c63dcf13c2
@ -64,7 +64,7 @@ resource "coder_agent" "dev" {
|
|||||||
login_before_ready = false
|
login_before_ready = false
|
||||||
startup_script_timeout = 60
|
startup_script_timeout = 60
|
||||||
startup_script = <<-EOT
|
startup_script = <<-EOT
|
||||||
set -ex
|
set -eux -o pipefail
|
||||||
# install and start code-server
|
# install and start code-server
|
||||||
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.8.3
|
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.8.3
|
||||||
code-server --auth none --port 13337 &
|
code-server --auth none --port 13337 &
|
||||||
|
Reference in New Issue
Block a user