Comments (5)
In case the workflows immediately fails you mis most likely the dummy (offline runner). The README contains a section about this issue. Work around is create an offline runner first.
GitHub workflows will fail immediately if there is no action runner available for your builds. Since this module supports to scale from 0 and up, your builds will fail in case there is no active runner available. So we recommend to create an offline runner with matching labels to the configuration. Create this runner by following the GitHub instruction on your local machine. You can stop the process after the step of running the config.sh. This offline runner will ensure your builds will not fail immediately and stay queued until there is a runner to pick it up.
from terraform-aws-github-runner.
Hello @npalm thanks for maintaining this project. I am also experiencing similar issues, using v0.2.0 tag.
I have followed the docs:
here: https://github.com/philips-labs/terraform-aws-github-runner
and
https://040code.github.io/2020/05/25/scaling-selfhosted-action-runners
Note that we have some ec2 runners (the Ec2 runners status will change to active when I commit in my test repo that has the github app installed/configured in it--provided the runner is labeled with 'default' again following the docs and per our terraform config), but I still am seeing the error indicating that there is something missing with a label on the self-hosted and 'offline' runner that the docs specify:
ref:
and the logs where I see the error are in the lambda scale down
START RequestId: 466ac7b0-38cf-4c7c-a5cc-676507142a77 Version: $LATEST
2020-07-27T23:12:45.562Z 466ac7b0-38cf-4c7c-a5cc-676507142a77 DEBUG No active runners found for environment: 'dev-usw2'
END RequestId: 466ac7b0-38cf-4c7c-a5cc-676507142a77
REPORT RequestId: 466ac7b0-38cf-4c7c-a5cc-676507142a77 Duration: 71.19 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 128 MB
I am also seeing an error in the scale-up that relates to SQS and therefore prevents us from successful run of that lamda function, I will open a separate issue for that. Thank you,
from terraform-aws-github-runner.
Thank you @npalm , that worked.
from terraform-aws-github-runner.
So we can close the issue I guess?
from terraform-aws-github-runner.
Seems issue is solved, no activity. Closing the issue
from terraform-aws-github-runner.
Related Issues (20)
- Permission Issue When Running multi-runner solution: Access denied for ssm:GetParameter action HOT 3
- Runner i-xxxx is not idle in GitHub and NOT counted as part of the pool HOT 3
- SSM parameters can exceed 4K limit breaking terraform apply HOT 4
- Add support for multiple type of platforms HOT 1
- Docker containers no longer inherit credentials from EC2 instance HOT 1
- Add the ability to use custom labels only HOT 2
- AMI Parameter cannot be a cross account parameter HOT 1
- speedup instance creation for bursty workflows HOT 2
- CodeStar Connections Being replaced by CodeConnections in April 2025 HOT 1
- optional FIFO queue on workflow job events queue HOT 1
- Ephemeral runners start but never connect to github because of dnf failures HOT 3
- Clear working directory between runs? HOT 2
- Release 5.10.2 not starting any servers HOT 10
- Idle Config starting another worker HOT 1
- Unable to set SQS queue policy on experimental workflow_job_events_queue
- Scale Up Lambdas not working in 5.10.2 after upgrading from 5.9.0. HOT 2
- logging examples contains service undefined HOT 1
- SQS_WORKFLOW_JOB_QUEUE env variable not set for webhook Lambda HOT 4
- ebs_optimized variable is not propagated to submodules
- ScaleDown lambda fails to run if a "bad" runner exists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-github-runner.