Skip to content
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

Workflow occasionally failing to run #424

Open
RSNFreud opened this issue Feb 17, 2025 · 4 comments
Open

Workflow occasionally failing to run #424

RSNFreud opened this issue Feb 17, 2025 · 4 comments

Comments

@RSNFreud
Copy link

I occasionally get this error when multiple workflows are running at once - Rerunning fixes it but would rather not need to rerun every time. I am using the following config:


services:
  worker:
    image: myoung34/github-runner:latest
    restart: always

    security_opt:
      # needed on SELinux systems to allow docker container to manage other docker containers
      - label:disable
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
      - '/runner/data:/runner/data' # required for persistence
      - '/tmp/runner:/tmp/runner'
      # note: a quirk of docker-in-docker is that this path
      # needs to be the same path on host and inside the container,
      # docker mgmt cmds run outside of docker but expect the paths from within
    deploy:
      mode: replicated
      replicas: 3
    env_file:
      - stack.env
REPO_URL=
ACCESS_TOKEN=
RUNNER_SCOPE=repo
RUNNER_WORKDIR=/tmp/runner/work
DISABLE_AUTO_UPDATE=1
EPHEMERAL=0

Image

@myoung34
Copy link
Owner

Try not mounting that tmp directory. If it clears up then it's likely something regarding how that works

@RSNFreud
Copy link
Author

Will try it and get back to you if it happens again

@RSNFreud
Copy link
Author

Image

@myoung34
Copy link
Owner

Looks like something that's out of scope for the runner, all I do is simply package it. I'd suggest reaching out upstream with an issue on the actual runners project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants