feat(runner): change image to catthehacker for debugging
Some checks failed
build / build (push) Successful in 46s
Go Tests / go-tests (push) Failing after 1m3s

This commit is contained in:
Martin McCaffery 2025-10-28 14:27:33 +00:00
parent 9497cacf42
commit fe530636d4
Signed by: martin.mccaffery
GPG key ID: 7C4D0F375BCEE533
2 changed files with 6 additions and 3 deletions

View file

@ -1,8 +1,9 @@
# docker run -e METADATA_URL=https://garm.garm-provider-test.t09.de/api/v1/metadata -e CALLBACK_URL=https://garm.garm-provider-test.t09.de/api/v1/callbacks -e GITHUB_URL=https://garm-provider-test.t09.de/ -e RUNNER_NAME="lala" -e BEARER_TOKEN="" test
FROM code.forgejo.org/forgejo/runner:11
# docker run -e METADATA_URL=https://garm.garm-provider-test.t09.de/api/v1/metadata -e CALLBACK_URL=https://garm.garm-provider-test.t09.de/api/v1/callbacks -e GITHUB_URL=https://garm-provider-test.t09.de/ -e RUNNER_NAME="lala" -e BEARER_TOKEN="$BEARER_TOKEN" test
FROM ghcr.io/catthehacker/ubuntu:act-22.04
USER root
RUN apk add curl
RUN curl https://code.forgejo.org/forgejo/runner/releases/download/v11.2.0/forgejo-runner-11.2.0-linux-amd64 -o /bin/forgejo-runner && \
chmod +x /bin/forgejo-runner
COPY ./entrypoint.sh /entrypoint.sh

View file

@ -6,6 +6,8 @@ RUNNER_HOME=${RUNNER_HOME:-/data}
set -ex
set -o pipefail
mkdir -p ${RUNNER_HOME}
if [ ! -d "${RUNNER_HOME}" ]; then
log.error "$RUNNER_HOME should be an emptyDir mount. Please fix the pod spec."
exit 1