Open emilyllim opened 1 year ago
Updates added to existing pull request #7
Before adding the setup commands, I tested the use of the user_data
attribute by creating a test script that just echoes some text to a new file. Then I applied the updated Terraform configuration:
terraform apply
Then I SSH'ed into the instance. At first I was confused as to why I couldn't find the new file, but it was created at the root
directory level, not the user (ubuntu
) level.
cd /
ls
- the file should be viewable at this levelFirst, I manually followed the instructions in the GitHub documentation to add a self-hosted runner for the cinder_bench_runner repository:
./bin/libcoreclr.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'CXXABI_1.3.7' not found (required by ./bin/libcoreclr.so) Libicu's dependencies is missing for Dotnet Core 6.0
sudo ./bin/installdependencies.sh
E: Some index files failed to download. They have been ignored, or old ones used instead. 'apt-get' failed with exit code '0' Can't install dotnet core dependencies.
sudo apt-get update
, but continued running into several Failed to fetch
errorsping www.google.com
:
/etc/apt/sources.list
file.
sudo apt-get update
and now there are no fetching errors!--runnergroup "Default" --name "benchrunner2" --labels "self-hosted,Linux,X64" --work "_work"
Existing Terraform configuration should be updated to automatically install everything the instance needs to be set up as a runner.
Resources