Comments (4)
If people find that this image would suit the actions scaler then that's fine but it's not built that way
I'm happy to review a PR to see a gut check against it, but I dont currently have any opinion other than my previously stated: I dont wish to directly tie this to any orchestrator (k8s, nomad, etc)
I don't mind adding in the functionality but don't with to start that work myself. I'd think that a new set of workflow scripts that build off the current artifacts and add a /k8s
or similar might be a decent middle ground
from docker-github-actions-runner.
Thank you for your prompt response and I think it's a fair take.
I'll have a look to see what I can do and if I can find more information about this script.
from docker-github-actions-runner.
Hi @eliandoran, rougly 4 months have passed. Did you get this beautiful image to work with the actions runner controller?
I tried to use it myself where I used this as my base image. In my Dockerfile I did add the runner-container-hooks binary.
I used the installation that is used in the official image:
https://github.com/actions/runner/blob/main/images%2FDockerfile#L20
Then I did set the group to docker with chgrp -R
, as is the case with the official image too.
And then in the values.yaml file of the runner-scale-set, I point to the myoung image that I built upon, and there I set all the environment variables that are required for myoung.
But I also set the ACTIONS_RUNNER_CONTAINER_HOOKS
which in my case points to /actions-runner/k8s/index.js
This is also done in the original chart's values file.
And as you mentioned, I too use containerMode.type: "kubernetes"
.
And my error is not the same as yours, it is equal to the one mentioned in this issue #349.
As said in that issue, that's related with Docker stuff, but with the official image it does work (it spins up a separate container suffixed with workflow).
Also, the image works for all none container jobs.
I also tried setting the securityContext.fsgroup
to be equal to 121, the one defined in here https://github.com/myoung34/docker-github-actions-runner/blob/master/Dockerfile.base#L90.
And then I also tried adding volumes for the working directory but without success 😢
So, still curious how you solved it.
Maybe we can set an env var ACTIONS_RUNNER_CONTROLLER
so that these are installed only when people need it and for backwards compatibility.
from docker-github-actions-runner.
@VincentVerweij , on my side I ended up trying a fork of the official image which is compatible with gha-runner-scale-set
: eliandoran/runner@cba275f
It worked to bypass the issue I was having, but I ended up abandoning it since it did not work for my use case:
Error: Error: Building container actions is not currently supported
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
from docker-github-actions-runner.
Related Issues (20)
- Latest bionic is broken with Glibc error HOT 2
- Use modern socket in Kubernetes YAML sample HOT 1
- Cannot Checkout Code When Running jobs Inside Container HOT 3
- Extremely slow? HOT 4
- Runner Name use ECS Task id/Container id HOT 1
- Q: "Full" runner images HOT 2
- Runner not showing up in Github but no errors HOT 3
- about the usage of docker-in-docker with github actions HOT 1
- [Clarification] JWT Authorization vs Github CLI HOT 2
- Missing `pkg-config` HOT 4
- Provide Ubuntu 22.04 Based Images HOT 10
- debian-sid missing libcurl3-gnutls
- Not able to run GH action in container (aarch64/arm64) HOT 1
- Powershell support HOT 3
- Runners are not deregistered HOT 3
- Docker Ulimit Invalid Argument.
- Please implement graceful shutdown of runners
- Debian 12 `bookworm` runner HOT 4
- turn off cute output HOT 1
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 docker-github-actions-runner.