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
0
votes
1 answer

Way to specify runs-on labels of sub workflow in parent GitHub workflow?

I have a couple of GitHub workflows divided into parent ones and reusable workflows. The parents are build and deploy, each triggered at different circumstances and calling the subworkflows with different input parameters. Subworkflows are basically…
0
votes
0 answers

How to delete github-actions logs automatically or is there any way to hide some info from logs?

Currently we can delete logs generated by github action workflow manually. Is there any way to delete the logs automatically when the worflow ends whether it is success or failure or can we hide some part of logs? We are running aws ecs…
0
votes
2 answers

Xcode CodeSigning fails on self-hosted action runner with error 'Warning: unable to build chain to self-signed root for signer...'

I'm currently using a macos GitHub runner from their virtual environments for CI/CD for my iOS application. This works very well. To sign the app, the Apple certificate and provisioning profile is set on the GitHub runner with the credentials stored…
0
votes
0 answers

Github action runner does not react to self-hosted labels from Environments

I am currently trying to create some dynamic workflow files so I can deploy to different self-hosted runners using the environment variable system. I follow the work around in this post: Specify runner to be used depending on condition in a GitHub…
evilfish
  • 661
  • 8
  • 30
0
votes
1 answer

dotnet-coverage fails on Windows Server 2019 with "Failed to create CoreCLR, HRESULT: 0x80004005"

We have a self-hosted GitHub runner on Windows Server 2019. One of the steps in the build action is to merge coverage reports using dotnet-coverage. However, the command always fails with "Failed to create CoreCLR, HRESULT: 0x80004005". Why does…
ilitirit
  • 16,016
  • 18
  • 72
  • 111
0
votes
0 answers

Self Hosted Github Actions Machine running out of Disk Space in a few hours

We put together a very powerful machine at my company for CI, using GitHub Actions. It's a very powerful machine, so we have ~15 Github Actions runners, running directly on the linux machine. We also run all of our jobs using the container syntax.…
spierce7
  • 14,797
  • 13
  • 65
  • 106
0
votes
1 answer

"Permission denied" when deleting files inside of .git folders

I'm getting an error in my self-hosted github runners: rm: cannot remove '/home/user/github-actions/1/_work/project/project/.git/index': Permission denied It's not just this one file, but all the files that it tries to delete. If I run something…
spierce7
  • 14,797
  • 13
  • 65
  • 106
0
votes
0 answers

Increasing the API rate limit when trying to configure a self-hosted github runner

I have been using a self-hosted github runner for a few months now. It was working well for all along until at one point it stopped connecting to github. I tried to run the connectivity check using ./config.sh --check and I got the following…
0
votes
0 answers

Force Docker to use memory instead of disk space

When I run my docker containers in Google Cloud Run, any disk space they use comes from the available memory. I'm running several self-hosted github action runners on a single local server, and they have worn out my SSD over the past year. The thing…
0
votes
0 answers

github terraform auth with google cloud self hosted runner

I am using the github actions to run the terrafrom code to create resource in google cloud. The github action run on self-hosted runner which is VM in my google cloud account only. While running the terraform plan, I am getting the error as: Error:…
0
votes
0 answers

Github Self-hosted Runner on Windows machine - SSL connection failure

I'm trying to set up a self-hosted Github runner on a remote Windows VM, but while following the guide on their webpage, I get to the step "# Create the runner and start the configuration experience" and get the following…
0
votes
0 answers

How to restore dist and node_modules if the build fails because actions/checkout@v3 deletes everything from the directory? (Github Actions selfhosted)

I wonder if there is a way for actions/checkout@v3 to skip specific folders for build restoration. For example, if my build fails to run, actions/checkout@v3 deletes dist and node_modules, consequently crashes the whole application, thus causing a…
0
votes
1 answer

Waiting for a runner to pick up this job when runners are idle

Suddenly GitHub actions stopped working for a repo. It times out on the very first step of the action saying "Waiting for a runner to pick up this job" the requested labels are self-hosted, windows and we have three self-hosted Action-Runners with…
0
votes
0 answers

github action: init services container port with "runner" context

I'm writing github workflow file that is using (docker container) services. I tried to set the port of the service container with running actions-runner's name, like ${{ runner.name }}. My workflows file looks like below. I'm using…
0
votes
1 answer

Github actions: using two different kinds of self-hosted runners

I have a github repository which is doing CI/CD using github actions that need more than what the github-hosted runners can do. In multiple ways. For some tasks, we need to test CUDA code on GPUs. For some other tasks, we need lots of CPU cores…
Leopd
  • 41,333
  • 31
  • 129
  • 167
1 2 3
8 9