Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@machulav
Copy link
Owner

@machulav machulav commented Jan 6, 2021

  • Run GitHub runner script using the root user. Instead of creating a new user for that purpose, which causes many issues with permissions.
  • Install and start docker to be able to run Docker container actions.
  • Install git to run actions like gitleaks-action, which requires additional git manipulations.

To reduce the scope of changes and testing I limited supported Linux distributive to only Amazon Linux 2.
In the future, I'm going to add support for the other distributive if required.

@machulav machulav force-pushed the ec2-fixes branch 2 times, most recently from fa239ec to ccbbf7e Compare January 7, 2021 11:48
@machulav machulav changed the title EC2 fixes Fix user data script for EC2 instance Jan 7, 2021
@machulav machulav linked an issue Jan 7, 2021 that may be closed by this pull request
@machulav machulav self-assigned this Jan 7, 2021
@machulav machulav added the bug Something isn't working label Jan 7, 2021
@machulav machulav force-pushed the ec2-fixes branch 2 times, most recently from 751f24f to ff9e2ae Compare January 7, 2021 19:23
@machulav machulav marked this pull request as ready for review January 7, 2021 19:35
@machulav machulav merged commit 816e24c into main Jan 7, 2021
@machulav machulav deleted the ec2-fixes branch January 7, 2021 19:37
@machulav machulav removed their assignment Jan 20, 2021
mmoriani pushed a commit to ottimis/ec2-github-runner that referenced this pull request Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permissions issue on EC2 self-hosted runner

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.