-
Notifications
You must be signed in to change notification settings - Fork 48
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
Error Running GitHub Marketplace Templates when Kubernetes Mode is set #169
Comments
Hey @kanakaraju17, The issue you described is related to the hook, and not ARC. I did investigate the root cause, and the hook is able to run the checkout on ubuntu image for example. However, for some reason, kaniko image cannot execute node. I will leave this issue open for now to try and understand why it cannot execute node action. The behavior was very strange. We mount node on |
@nikola-jokic , yes. I can see node16 and node20 packages installed but they are not executable, is there any issue with the packages, sharing the screenshot below with executing it inside the container. |
There shouldn't be, to be honest. I'm just wondering why sh reports that node cannot be found. Again, if you try it out on ubuntu, it works... |
Hey @nikola-jokic, I tried this on the Ubuntu image and it works fine as expected, assuming that it's an issue with using the Kaniko image.
|
@nikola-jokic , Could you please help on whether there is a feasible fix for this issue? Specifically, does the runner support running with gcr.io/kaniko-project/executor:debug as the base container? Is the problem related to Node.js not being installed in this image, causing the job to fail? This is critical because many dependent jobs fail when we use GitHub Marketplace templates. |
Checks
Controller Version
0.9.2
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
When the runners are deployed with the mode Kubernetes where the runners are running in the container mode. It's not running any github marketplace predefined templates.
For Instance, using the below template in the workflow fails.
The complete github actions file is below.
Describe the expected behavior
The workflow to run sucessfully.
But it fails with the below error:
Additional Context
Runner Pod Logs
Would exit since the pod has failed
The text was updated successfully, but these errors were encountered: