Open kanakaraju17 opened 1 month ago
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 /__e/node16/bin/node
, but if you exec into the pod and try to run node, shell reports not found
. I'm not sure how or why. I will try and continue investigation.
@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.
jobs:
arm-build:
runs-on: [arc-runner-kubernetes-ci-arm]
container:
image: ubuntu:20.04
permissions:
contents: read
packages: write
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
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