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

Github actions, self hosted runner Error: unable to verify the first certificate

I am using self hosted runner behind a corporate proxy. I added our certificates but when doing : - name: Setup Java uses: actions/setup-java@v2 with: distribution: 'adopt' java-package: jdk java-version: '11' I am…
0
votes
2 answers

how do I run a local script using github actions

Hello I am using kedro (a pipeline tool) and want to use github actions to trigger a kedro command (kedro run) whenever I make a push to my github repo. Since I have all the data in my local repo, I thought it would make sense to run the kedro…
0
votes
1 answer

Maven error building Quarkus native image (java.nio.file.AccessDeniedException: /./target)

I am trying to use Github self hosted runners to build the native image for my quarkus applications. This is working great for me on the Github hosted runners, but I want to do this on self hosted runners so we don't blow our github actions minutes…
0
votes
1 answer

GitHub Actions: How to let a local server pull the change automatically from remote branch

I have the followings. Apache server hosted on centos GitHub (GitHub Actions) An web app hosted on the local apache server. Every time I make a change to a local branch and push to remote master branch in GitHub, I have to ssh into the apache…
0
votes
1 answer

Run lint and lint tests in parallel in github actions with self hosted runner

I have below pipeline and in this i want to run lint and lint-test in parallel. Earlier I had one job with multiple steps but as I checked that if we create different jobs then It can run in parallel. I have one runner for this, But still its…
0
votes
2 answers

Using git pull within run in github actions main.yml

I am trying to update a local server running some non-production versions of some of my company's sites to update whenever the main repository merges a pull request. However, the action stalls out when the action hits the git pul ... line. The logs…
0
votes
0 answers

Github (On premise self hosted): Could not create directory [/home/master/.config/gcloud/logs/2022.02.10]

I am trying to build a docker image and pushing it to gcp artifactory. But it is failing in the github actions. Here is my workflow yaml file: on: push: branches: - main - featurev1 name: Build and Deploy to Cloud Run env: REGION:…
0
votes
0 answers

Github Self-hosted Action Runner not picking up jobs

Below are the logs from svc.sh. Please help fix this issue. Whenever I want to push my project, I have to execute run.sh manual and this is real annoying me. Unhandled exception. System.UnauthorizedAccessException: Access to the path…
0
votes
0 answers

Use multiple GitHub Self Hosted Runners in the same workflow

We are using GitHub Action Self Hosted Runners on a Windows Server to build and deploy private repositories. For context, they are .NET Projects. A pattern we've adopted is to break out a workflow into multiple jobs (checkout, restore, build, test…
Airn5475
  • 2,452
  • 29
  • 51
0
votes
2 answers

Github self hosted runners per branch

I'm trying to implement Github self hosted runner, but I've hit the wall hard I want to have different runners for my prod and dev servers For what I understand, it's possible to set labels depending on the environment, but both my dev and prod…
Marcus
  • 139
  • 1
  • 2
  • 9
0
votes
0 answers

Is there any way to leave a folder unchanged after github action push

I have a nodejs project that stores images locally in the same location as the code src/uploads. The problem arises when I try to trigger the cicd pipeline using githubaction. As it just simply dumps the code from github to my repo(digital ocean…
0
votes
1 answer

GitHub self hosted runner have access to Azure resources behind a separate virtual network

I created some GitHub self-hosted runners and would like them to have access to my resources behind a separate virtual network. I know that whitelisting the IP address of the machine will give it access, but I will end up having any number of…
0
votes
0 answers

How to create a GitHub action workflow that starts another GitHub action workflow?

I have an Angular application, source code stored on GitHub. I want to create this pipeline to deploy the code: On push anything into the deploy-test branch, it starts the workflow. GitHub will create a runner Runner pull the code Runner start…
0
votes
1 answer

GitHub Actions Runner Container on Google Cloud Run that can build docker image

I have built a docker image that when run, it registers itself as a GitHub Runner. This runner will, amongst other things, be used to build and push images to GitHub Container Registry. I don't want to deploy the containers to GKE or Compute, as I…
0
votes
1 answer

Looking for a way to run a workflow on all self-hosted agents in a pool for Github actions

I’m trying to run a maintenance workflow on all agents. It’s a cleaning job like “docker system prune”. I wish it runs on all self-host agents (about 12 agents) weekly on Sunday night. I noticed that workflows can run with on schedule event. This is…
1 2 3
8
9