File tree Expand file tree Collapse file tree
.github/pr-deployments/template
templates/scaletest-runner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,10 +88,9 @@ provider "kubernetes" {
8888data "coder_workspace" "me" {}
8989
9090resource "coder_agent" "main" {
91- os = " linux"
92- arch = " amd64"
93- startup_script_timeout = 180
94- startup_script = <<- EOT
91+ os = " linux"
92+ arch = " amd64"
93+ startup_script = <<- EOT
9594 set -e
9695
9796 # install and start code-server
Original file line number Diff line number Diff line change @@ -259,8 +259,7 @@ resource "coder_agent" "dev" {
259259 timeout = 5
260260 }
261261
262- startup_script_timeout = 60
263- startup_script = <<- EOT
262+ startup_script = <<- EOT
264263 set -eux -o pipefail
265264
266265 # Allow synchronization between scripts.
Original file line number Diff line number Diff line change @@ -59,10 +59,9 @@ resource "artifactory_scoped_token" "me" {
5959}
6060
6161resource "coder_agent" "main" {
62- arch = data. coder_provisioner . me . arch
63- os = " linux"
64- startup_script_timeout = 180
65- startup_script = <<- EOT
62+ arch = data. coder_provisioner . me . arch
63+ os = " linux"
64+ startup_script = <<- EOT
6665 set -e
6766
6867 # install and start code-server
Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ data "coder_workspace" "me" {
2323}
2424
2525resource "coder_agent" "main" {
26- arch = data. coder_provisioner . me . arch
27- os = " linux"
28- startup_script_timeout = 180
29- startup_script = <<- EOT
26+ arch = data. coder_provisioner . me . arch
27+ os = " linux"
28+ startup_script = <<- EOT
3029 set -e
3130
3231 # install and start code-server
Original file line number Diff line number Diff line change @@ -157,12 +157,11 @@ data "aws_ami" "ubuntu" {
157157}
158158
159159resource "coder_agent" "dev" {
160- count = data. coder_workspace . me . start_count
161- arch = " amd64"
162- auth = " aws-instance-identity"
163- os = " linux"
164- startup_script_timeout = 180
165- startup_script = <<- EOT
160+ count = data. coder_workspace . me . start_count
161+ arch = " amd64"
162+ auth = " aws-instance-identity"
163+ os = " linux"
164+ startup_script = <<- EOT
166165 set -e
167166
168167 # install and start code-server
Original file line number Diff line number Diff line change @@ -19,17 +19,16 @@ data "coder_workspace" "me" {
1919}
2020
2121resource "coder_agent" "main" {
22- arch = data. coder_provisioner . me . arch
23- os = " linux"
24- startup_script_timeout = 180
25- startup_script = <<- EOT
22+ arch = data. coder_provisioner . me . arch
23+ os = " linux"
24+ startup_script = <<- EOT
2625 set -e
2726
2827 # install and start code-server
2928 curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.11.0
3029 /tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &
3130 EOT
32- dir = " /worskpaces"
31+ dir = " /worskpaces"
3332
3433 # These environment variables allow you to make Git commits right away after creating a
3534 # workspace. Note that they take precedence over configuration defined in ~/.gitconfig!
Original file line number Diff line number Diff line change @@ -44,17 +44,16 @@ data "coder_workspace" "me" {
4444}
4545
4646resource "coder_agent" "main" {
47- arch = data. coder_provisioner . me . arch
48- os = " linux"
49- startup_script_timeout = 180
50- startup_script = <<- EOT
47+ arch = data. coder_provisioner . me . arch
48+ os = " linux"
49+ startup_script = <<- EOT
5150 set -e
5251
5352 # install and start code-server
5453 curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.11.0
5554 /tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &
5655 EOT
57- dir = " /workspaces"
56+ dir = " /workspaces"
5857
5958 # These environment variables allow you to make Git commits right away after creating a
6059 # workspace. Note that they take precedence over configuration defined in ~/.gitconfig!
Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ data "coder_workspace" "me" {
2323}
2424
2525resource "coder_agent" "main" {
26- arch = data. coder_provisioner . me . arch
27- os = " linux"
28- startup_script_timeout = 180
29- startup_script = <<- EOT
26+ arch = data. coder_provisioner . me . arch
27+ os = " linux"
28+ startup_script = <<- EOT
3029 set -e
3130
3231 # install and start code-server
Original file line number Diff line number Diff line change @@ -73,11 +73,10 @@ resource "google_compute_disk" "root" {
7373}
7474
7575resource "coder_agent" "main" {
76- auth = " google-instance-identity"
77- arch = " amd64"
78- os = " linux"
79- startup_script_timeout = 180
80- startup_script = <<- EOT
76+ auth = " google-instance-identity"
77+ arch = " amd64"
78+ os = " linux"
79+ startup_script = <<- EOT
8180 set -e
8281
8382 # install and start code-server
Original file line number Diff line number Diff line change @@ -63,12 +63,10 @@ data "coder_workspace" "me" {
6363}
6464
6565resource "coder_agent" "main" {
66- auth = " google-instance-identity"
67- arch = " amd64"
68- os = " linux"
69-
70- startup_script_timeout = 180
71- startup_script = <<- EOT
66+ auth = " google-instance-identity"
67+ arch = " amd64"
68+ os = " linux"
69+ startup_script = <<- EOT
7270 set -e
7371
7472 # install and start code-server
You can’t perform that action at this time.
0 commit comments