Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help adding custom runners for performance benchmarks #1662

Closed
codeboten opened this issue Aug 31, 2023 · 7 comments
Closed

Need help adding custom runners for performance benchmarks #1662

codeboten opened this issue Aug 31, 2023 · 7 comments
Assignees

Comments

@codeboten
Copy link
Contributor

Part of the work to get performance benchmarks requires us to use self-hosted github runners. Adding these, now that we have the hardware, is pretty easy. We just need someone w/ admin access to the open-telemetry org to help.

Related to #1617

@tylerbenson
Copy link
Member

CC @jpkrohling @alolita as the listed TC/GC sponsors.

@trask
Copy link
Member

trask commented Aug 31, 2023

We just need someone w/ admin access to the open-telemetry org to help.

this would be @open-telemetry/technical-committee

@cartersocha
Copy link
Contributor

We also need a TC owner on the equinix compute account

@jpkrohling
Copy link
Member

jpkrohling commented Sep 4, 2023

Who's the TC sponsor for the performance benchmark WG?

@cartersocha
Copy link
Contributor

Haven’t had a chance to find one yet. But would love suggestions or volunteers

@tylerbenson
Copy link
Member

@arminru helped me with this. I think this can be closed now.

@arminru arminru self-assigned this Sep 20, 2023
@arminru arminru closed this as completed Sep 20, 2023
@arminru
Copy link
Member

arminru commented Sep 21, 2023

For future reference, these are steps we followed to set up and enroll a new runner in our org:

  1. create the machine in Equinix
  2. ssh into the machine by using the IP shown in the Equinix console
    • if your personal ssh key was in your Equinix profile at the time of machine creation, it will be in authorized_keys already
    • otherwise you can generate a temporary root password to log in and append your ssh key manually to authorized_keys
  3. create a new user to execute the runner instead of root: adduser --disabled-password ghrunner
  4. su ghrunner
  5. follow instructions from https://github.com/organizations/open-telemetry/settings/actions/runners/new?arch=x64&os=linux
  6. the config wizard asks for a group name - add the runner to "Benchmark Bare Metal Runners"
  7. provide some name (e.g. github-benchmark-runner-<n>), no extra labels
  8. ./run.sh to run it once and check if it succeeds
  9. exit to go back to the root user
  10. ./svc.sh install ghrunner to install the runner as a service
  11. ./svc.sh start
  12. check the Github UI at https://github.com/organizations/open-telemetry/settings/actions/runner-groups/8
    • --> the new runner should show up and report as "🟢 idle"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants