From 11d16c07e29b3b44abddb8c030bb543eb0285851 Mon Sep 17 00:00:00 2001 From: nitin babariya Date: Fri, 4 Oct 2024 13:45:58 +0200 Subject: [PATCH] Update workflow to use self-hosted runners --- .github/workflows/codeql.yml | 2 +- .github/workflows/docker-publish.yml | 2 +- .github/workflows/e2e.yaml | 2 +- .github/workflows/gh-pages.yaml | 2 +- .github/workflows/go.yml | 6 +++--- .github/workflows/release.yaml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0d1440d942..511bb59d1a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,7 +12,7 @@ jobs: CodeQL-Build: # CodeQL runs on ubuntu-latest and windows-latest - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout repository diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 95ba2254b6..cfffb03403 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -11,7 +11,7 @@ on: jobs: docker: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index f88318800d..03441d0caf 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -12,7 +12,7 @@ on: jobs: test-e2e: name: Run end-to-end tests - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v2 - name: Setup k3s diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 6b706407f7..52be426ca9 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -6,7 +6,7 @@ on: - master jobs: deploy: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v1 - name: Setup Python diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b4e7c210f8..9aae8512f0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,7 +10,7 @@ on: jobs: lint-go: name: Lint Go code - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout code uses: actions/checkout@v2 @@ -21,7 +21,7 @@ jobs: args: --timeout 5m build: name: Build - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Set up Go uses: actions/setup-go@v2 @@ -61,7 +61,7 @@ jobs: codegen: name: Verify Codegen - runs-on: ubuntu-latest + runs-on: self-hosted env: GOPATH: /home/runner/go PROTOC_ZIP: protoc-3.12.3-linux-x86_64.zip diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0583bf14eb..334ec494cb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ on: jobs: release-images: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout @@ -108,7 +108,7 @@ jobs: mv /tmp/.buildx-cache-new /tmp/.buildx-cache release-artifacts: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout