From e345160d5a566c551edc989259847b0d9fb17548 Mon Sep 17 00:00:00 2001 From: Amit Sahastrabuddhe <33931378+AmitSahastra@users.noreply.github.com> Date: Sat, 8 Feb 2025 10:38:34 +0530 Subject: [PATCH] Capi runner changes (#229) * Change runner to self-hosted * Change runner to self-hosted * add necessary setup for new runner * fix setup * change the order * fix * fix --------- Co-authored-by: Jayesh Srivastava Co-authored-by: kun zhou --- .github/workflows/spectro-release.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spectro-release.yaml b/.github/workflows/spectro-release.yaml index 54372e5a0eae..39c1d8b51c7d 100644 --- a/.github/workflows/spectro-release.yaml +++ b/.github/workflows/spectro-release.yaml @@ -16,7 +16,7 @@ on: jobs: builder: # edge-runner machine group is a bunch of machines in US Datacenter - runs-on: ubuntu-latest + runs-on: [self-hosted, Linux, X64, capi] # Initialize all secrets required for the job # Ensure that the credentials are provided as encrypted secrets env: @@ -41,6 +41,11 @@ jobs: echo "FIPS_REGISTRY=us-east1-docker.pkg.dev/spectro-images/dev-fips/cluster-api" >> $GITHUB_ENV - uses: actions/checkout@v3 + - + name: Necessary Setup + run: | + sudo chmod 666 /var/run/docker.sock + sudo systemctl restart docker - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1