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

Deploy bench_runner as a self-hosted runner #4

Open
emilyllim opened this issue Oct 10, 2023 · 1 comment
Open

Deploy bench_runner as a self-hosted runner #4

emilyllim opened this issue Oct 10, 2023 · 1 comment
Assignees

Comments

@emilyllim
Copy link
Collaborator

emilyllim commented Oct 10, 2023

Deploy bench_runner as a self-hosted runner

This issue will include an overview of how I set up the repository to run pyperformance benchmarks on my own self-hosted GitHub Action runner.

Resources

@emilyllim emilyllim self-assigned this Oct 10, 2023
@emilyllim
Copy link
Collaborator Author

emilyllim commented Oct 17, 2023

[S1] GitHub Actions to AWS

GOAL: A workflow file that will be a configuration of jobs needed to run the benchrunner on AWS when triggered manually.

Create a workflow file

  • To create a new workflow on GitHub Actions, create a YAML file in .github/workflows.
    • cd .github/workflows
    • vi benchrunner-aws.yml

Add AWS secrets to GitHub Secrets

  • Create an access key for your AWS IAM user
  • Add the Access key ID and Secret access key values to GitHub Secrets
    • In the repository, go to the Settings tab
    • In the left-hand menu, under Security, click Secrets and variables, and then click Actions
    • Click New repository secret
      • Create a secret with the name AWS_ACCESS_KEY_ID and put the Access key ID as the value
      • Create a secret with the name AWS_SECRET_ACCESS_KEY and put the Secret access key as the value

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

1 participant