From 14afd5d3ece62cc9dec91b9243cfe6a8994ecf68 Mon Sep 17 00:00:00 2001 From: N-o-Z Date: Fri, 17 Jan 2025 14:44:14 -0500 Subject: [PATCH] Fix workflow runners (#8513) * Fix workflow runners * Fix workflow runners * Fix workflow runners --- .github/workflows/changelog.yaml | 2 +- .github/workflows/close-stale-prs.yaml | 2 +- .github/workflows/codeql-analysis.yaml | 2 +- .github/workflows/esti.yaml | 12 ++++++------ .github/workflows/link-issue-to-pr.yaml | 2 +- .github/workflows/python-wrapper-unit-tests.yaml | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 5c6f516e73e..00e1d876853 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -6,7 +6,7 @@ on: jobs: enforce-label: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 #tag 2.2.2 with: diff --git a/.github/workflows/close-stale-prs.yaml b/.github/workflows/close-stale-prs.yaml index d3fb32becee..1a6f102092c 100644 --- a/.github/workflows/close-stale-prs.yaml +++ b/.github/workflows/close-stale-prs.yaml @@ -7,7 +7,7 @@ on: jobs: stale: name: Close stale issues and PRs - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Close stale issues and PRs uses: actions/stale@v8 diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 3156c4abc64..5bb2989ee28 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -11,7 +11,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: actions: read contents: read diff --git a/.github/workflows/esti.yaml b/.github/workflows/esti.yaml index 830825122ca..25aa4f030f3 100644 --- a/.github/workflows/esti.yaml +++ b/.github/workflows/esti.yaml @@ -82,7 +82,7 @@ jobs: name: Build and push Docker image needs: [ check-secrets, gen-code ] if: needs.check-secrets.outputs.secretsavailable == 'true' - runs-on: ubuntu-latest-16-cores + runs-on: ubuntu-22.04-16-cores outputs: tag: ${{ needs.gen-code.outputs.tag }} steps: @@ -124,7 +124,7 @@ jobs: type=s3,region=us-east-1,bucket=lakefs-docker-cache,name=lakefs,mode=max login-to-amazon-ecr: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [ check-secrets ] if: needs.check-secrets.outputs.secretsavailable == 'true' steps: @@ -147,7 +147,7 @@ jobs: unified-gc-test: name: Test unified gc needs: [deploy-image, login-to-amazon-ecr, build-spark3-metadata-client] - runs-on: ubuntu-latest-8-cores + runs-on: ubuntu-22.04-8-cores services: lakefs: image: ${{ needs.login-to-amazon-ecr.outputs.registry }}/lakefs:${{ needs.deploy-image.outputs.tag }} @@ -650,7 +650,7 @@ jobs: build-spark3-metadata-client: name: Build metadata client for Spark 3.x - runs-on: ubuntu-latest-8-cores + runs-on: ubuntu-22.04-8-cores needs: [check-secrets, deploy-image, login-to-amazon-ecr] env: TAG: ${{ needs.deploy-image.outputs.tag }} @@ -1159,7 +1159,7 @@ jobs: needs: - deploy-image - login-to-amazon-ecr - runs-on: ubuntu-latest-8-cores + runs-on: ubuntu-22.04-8-cores timeout-minutes: 20 services: dynamodb: @@ -1278,7 +1278,7 @@ jobs: needs: - deploy-image - login-to-amazon-ecr - runs-on: ubuntu-latest-8-cores + runs-on: ubuntu-22.04-8-cores timeout-minutes: 20 services: dynamodb: diff --git a/.github/workflows/link-issue-to-pr.yaml b/.github/workflows/link-issue-to-pr.yaml index eea108ca4bd..44b01692ebb 100644 --- a/.github/workflows/link-issue-to-pr.yaml +++ b/.github/workflows/link-issue-to-pr.yaml @@ -6,7 +6,7 @@ on: jobs: check_pull_requests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: Check linked issues steps: - uses: nearform/github-action-check-linked-issues@v1.4.28 diff --git a/.github/workflows/python-wrapper-unit-tests.yaml b/.github/workflows/python-wrapper-unit-tests.yaml index ab597b05d3a..96a4409fca1 100644 --- a/.github/workflows/python-wrapper-unit-tests.yaml +++ b/.github/workflows/python-wrapper-unit-tests.yaml @@ -7,7 +7,7 @@ on: jobs: paths-filter: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: client-change: ${{ steps.filter.outputs.client == 'true' }} steps: