Questions tagged [github-actions-self-hosted-runners]

Use this tag when asking questions specific to self-hosted runners for GitHub Actions.

GitHub Actions offers the option to self-host your runners instead of using the cloud-based runners provided by GitHub. Using a self-hosted runner provides more control about the runner's configuration.

124 questions
2
votes
2 answers

GitHub Action checkout fails when unzipping with self hosted agent

I'm setting up a CI/CD pipeline using GitHub Actions and a self-hosted agent installed on a windows 2019 server. The problem I'm facing is that the action actions/checkout@v2 fails to check out the repo and fully unzip it. When I say "fully unzip" I…
1
vote
0 answers

How To Define Image For Self Hosted K8s Github Actions Runner

Prerequisite: I created self hosted k8s github actions runner using this instructions using this tutorial https://blog.opstree.com/2023/04/18/github-self-hosted-runner-on-kubernetes/comment-page-1/ . I succeed Problem: I need this runner for…
1
vote
0 answers

Github Actions self hosted local macOS machine iOS build failing with "The device is passcode protected"

I'm using GitHub self hosted actions to run on my local dev machine to save the free credits when my machine is running. It works most of the time but sometimes it gets stuck with this error: ▸ Compiling CapacitorCamera_vers.c ▸ Compiling…
1
vote
0 answers

GitHub Actions Docker compose mounted volume does not work

I'm trying to mount a dir from the app container (image is built in another job to cache and then downloaded) to host (GHA self-hosted worker) to get files created by the app during tests. The setup is following: action for spinning up my…
1
vote
1 answer

"Host key verification failed" error when running GitHub Actions on self-hosted runner (Windows 10)

I'm trying to run a simple GitHub Action on my self-hosted runner (Windows 10), but I'm getting the error Host key verification failed. [error]fatal: Could not read from remote repository. Here's the code for the GitHub Action: name: GitHub Actions…
1
vote
1 answer

Github action matrix job stops while one of strategy completes

I am trying to run a job on multiple os using matrix strategy. my code is below - strategy: matrix: os: [ubuntu-18.04, ubuntu-20.04, self-hosted] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 However if one of the triggerd…
1
vote
1 answer

Check already running github action self-hosted runner

How to check if any github action self-hosted runner is already running service on server machine? I am trying to run self hosted runner on a server machine using run command I am getting below error : PS C:\dev\actions-runner> ./run.cmd 1…
1
vote
0 answers

GitHub Actions Self-hosted Runner sibling container: permission denied... Docker daemon socket unix:///var/run/docker.sock

I need to execute on GPU hardware so I have to create a self-hosted runner for github actions to execute my code. The self-hosted runner is hosted on my local machine (ubuntu 20.04). I'm running the self hosted runner container locally with -v and…
1
vote
0 answers

Can you have a fallback option when GitHub self hosted runner is unavailable?

I'm currently using a self hosted runner for CI purposes. The issue is that if the self hosted runner is not available for some reason, and is not accessible for the time being, the action will hang forever until the self hosted runner comes back…
streem
  • 9,044
  • 5
  • 30
  • 41
1
vote
2 answers

How to remove github actions artifact produced during runtime

During workflow execution, I produce several artifacts but after a successful build I no longer need them and I want to clean that up as I only need them temporarily. - name: Make artifact available to use uses: actions/upload-artifact@v2 …
1
vote
1 answer

Github actions self-hosted runner doesnt run tox commands

I am new to tox and GitHub actions and I'm facing a problem. tox testenv commands don't seem to run on a self-hosted server. This is the result of pushing a commit to the github repository: tox ... ___________________________________ summary…
1
vote
4 answers

GitHub action self-host runner as service fails

I have installed GitHub self-hosted runner on my Ubuntu system. Getting below error when i try to configure it as service. $ sudo ./svc.sh start Failed to start actions.runner._services.Linux-Host01.service: Unit…
1
vote
2 answers

docker-compose from Github Action (self-hosted runner) throwing error: Access is denied

If anyone can provide any help or suggestions with the following I'd be very grateful, I've tried to include the debugging steps I've already taken. Issue: When attempting to run docker-compose up --build --scale cypress=3 --force-recreate from a…
1
vote
0 answers

Bitbucket pipelines: problem cloning source repository on self-hosted runner with dind

I work on a project where we have specific computers (configured specs) which pair with our products (hardware). My aim is to configure a self hosted runner so that we can run our test suite on a real product with the same computer and environment…
1
vote
1 answer

I was trying to setup python in self hosted windows github runner, but workflow throws an error saying "Error happened during python installation"

I have used below github workflow. name: Python application on: push: branches: [ test ] pull_request: branches: [ test ] permissions: contents: read jobs: build: runs-on: test-excel strategy: matrix: …
1 2
3
8 9