-
Notifications
You must be signed in to change notification settings - Fork 340
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
Permissions issue on EC2 self-hosted runner #13
Comments
@snussik have you found the issue? As I see, you set up the workflow for the |
@machulav hi! Yep, I've discovered it. And I have a new problem now )) When I create remote runner on aws and try to run The commands: The part of workflow file, is:
Is that related to AWS Credentials? I thought that github user runs ints workflow under needed permissons inside the runner instance? |
@machulav found out with |
I think that in aws.js (on line 11) it should be something like: |
yes, I've tried to install docker via user-data and also used ready-made AMI with docker. |
Yeah, as both of you pointed, there is a general issue with permissions. So I renamed the issue to correspond to that. The main reason why I create |
@machulav yep, it's a common "problem" with this bash script. Dumb working receipt is: |
Boom! works like magic. |
The Please note that to reduce the scope of changes and testing, I limited supported Linux distributive to only Amazon Linux 2. @lielran @snussik thank you for your support and contributions! It means a lot! |
here is the final result, we are already using it in our CD pipeline. |
Wow, very nice! 🎉 @lielran May I ask you to describe your use case a bit? What do you use the self-hosted runner for and why is it important in your CD pipeline? |
Sure, |
Cool! Thank you for the information! |
@lielran I am slo planning to use this and flyway. Can you please share an example action and your flyway setup? |
I personally moved to use hosted Github runners on the VPC and also plan to move to GitHub action code build |
Hi!
Tried to test your example workflow https://github.com/snussik/ec2-github-runner
But on master commits nothing happens at all.
And VScode linter shows error:
The text was updated successfully, but these errors were encountered: