Replies: 1 comment
-
Hi 👋 ! In which mode are you trying to run the app 🙂 ? If you're planning to expose it as a web service on your cluster, indeed you need to mount your However from the logs you report, it seems that it is running in "action" mode, which is the same environment as GitHub Actions runners. Hope it helps 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to set this up in my K8s cluster but running into a problem. Seems like the app is unable to detect the settings.json yaml.
I have mounted the settings.json in /metrics/settings.json and set the env variable SETTINGS as the correct absolute path. Also validated if the file exists but still unable to get it to work. Also tried to have the file in /tmp but same result.
Error message:
Error: You must provide a valid GitHub personal token to gather your metrics (see https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/action.md for more informations)
at file:///metrics/source/app/action/index.mjs:161:13
────────────────────────────────────────────────────────────────────────────────────────
undefined
An error occured, logging debug message :
::error::You must provide a valid GitHub personal token to gather your metrics (see https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/action.md for more informations)
The token is valid and works when used from my local instance. Any idea how to overcome this issue please?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions