Closed kingbj940429 closed 1 year ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
I solved
@kingbj940429 how did you solve it? Other people (like me) might be able to benefit from your solution
@Btijmen
on the action controller runner pod, command ps aux
.
then, you can find /bin/bash /usr/bin/entrypoint.sh
command at the first line.
this entrypoint.sh
is owned by action runner
Otherwise,
In my custom action, I was using same /usr/bin/entrypoint.sh
shell script name.
name: 'Hello World'
description: 'Greet someone'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: true
default: 'World'
outputs:
random-number:
description: "Random number"
value: ${{ steps.random-number-generator.outputs.random-number }}
runs:
using: "composite"
steps:
- run: /usr/bin/entrypoint.sh # this is mean local entrypoint.sh I wrote, not action controller
shell: bash
both entrypoint.sh in my custom action and in action runner were registered with $PATH.
that means other one is overwritten.
eventually, only runner's entrypoint.sh was run twice.
If you want to find 'RUNNER_TOKEN must be set' log at runner file, run vim /usr/bin/entrypoint.sh
you can find startup.sh
.
and If run vim startup.sh
, you cant find RUNNER_TOKEN must be set
this is a blog post I wrote about the issue, but it's in Korean, so you'll need a translator.
In conclustion, CHANGE custom action entrypoint.sh
name
anyway If you didn't set RUNNER_TOKEN, this error occurs as you can see in startup.sh
provided by action runner.
I hope it helps.
Thanks a lot for the extensive answer!
Checks
Controller Version
0.27.0
Helm Chart Version
0.27.0
CertManager Version
1.10
Deployment Method
Helm
cert-manager installation
Checks
Resource Definitions
To Reproduce
Describe the bug
when I use arc, I can see under log.
so I tried this way to solve issue-1305 but It didn't work..
this action works.
but under action didn't work. show "RUNNER_TOKEN must be set"
please help me..
Describe the expected behavior
I wan't see RUNNER_TOKEN must be set
Whole Controller Logs
Whole Runner Pod Logs