File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ resource "google_compute_project_metadata_item" "startup_scripts_register_jit_ru
82
82
#!/bin/bash
83
83
agent_name=$(hostname)
84
84
echo "Setup of agent '$agent_name' started"
85
- apt-get update && apt-get -y install docker.io docker-buildx curl jq ${ local . github_runner_package_install }
85
+ apt-get update && apt-get -y install docker.io docker-buildx curl sed jq ${ local . github_runner_package_install }
86
86
useradd -d /home/agent -u ${ var . github_runner_uid } agent
87
87
usermod -aG docker agent
88
88
newgrp docker
Original file line number Diff line number Diff line change @@ -523,6 +523,7 @@ const runner_script_wrapper = `
523
523
#!/bin/bash
524
524
val=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/attributes/%s" -H "Metadata-Flavor: Google")
525
525
curl "http://metadata.google.internal/computeMetadata/v1/project/attributes/%s" -H "Metadata-Flavor: Google" > runner_startup.sh
526
+ sed -i 's/\r$//' ./runner_startup.sh
526
527
chmod +x ./runner_startup.sh
527
528
./runner_startup.sh $val
528
529
rm runner_startup.sh
Original file line number Diff line number Diff line change 1
1
# used to tag the docker image of autoscaler. Should be incremented every time the autoscaler code is changed.
2
2
locals {
3
- autoscaler_version = " 1.0.0 -snapshot"
3
+ autoscaler_version = " 1.0.1 -snapshot"
4
4
}
You can’t perform that action at this time.
0 commit comments