From 8b9d402f04d317ce6a3918c835583c6aed2240de Mon Sep 17 00:00:00 2001 From: Ivo Dilov Date: Mon, 14 Oct 2024 16:31:53 +0300 Subject: [PATCH] Use ubuntu-22.04 There have been some mono issues with ubuntu-latest, so we reverted to ubuntu-22.04 for now. The cibw-docker-image workflow was not updated because updating it causes the rebuilt of the manylinux docker image which fails because of CentOS 7 being EOL. --- .github/workflows/analysis_workflow.yml | 6 +++--- .github/workflows/build.yml | 6 +++--- .github/workflows/build_with_conda.yml | 2 +- .github/workflows/docs_build.yml | 2 +- .github/workflows/docs_publish.yml | 2 +- .github/workflows/ec2_runner_jobs.yml | 4 ++-- .github/workflows/persistent_storage.yml | 2 +- .github/workflows/publish.yml | 4 ++-- .github/workflows/tag.yml | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/analysis_workflow.yml b/.github/workflows/analysis_workflow.yml index 6b960e2897..11e2d87635 100644 --- a/.github/workflows/analysis_workflow.yml +++ b/.github/workflows/analysis_workflow.yml @@ -16,7 +16,7 @@ on: jobs: get_commits_to_benchmark: name: Get tag commits - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v3.3.0 @@ -55,7 +55,7 @@ jobs: name: Publish benchmark results to gh-pages if: github.ref == 'refs/heads/master' needs: [benchmark_commits] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: write @@ -89,7 +89,7 @@ jobs: code_coverage: needs: [cibw_docker_image] - runs-on: "ubuntu-latest" + runs-on: "ubuntu-22.04" container: image: ${{needs.cibw_docker_image.outputs.tag}} services: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47b1946ffc..e7097864ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: common_config: needs: [cibw_docker_image] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: include: @@ -41,7 +41,7 @@ jobs: # Please declare any key you added below in build_steps.yaml's dummy matrix as well to aid the linting tools - linux_matrix: - os: linux - distro: ubuntu-latest + distro: ubuntu-22.04 cmake_preset_prefix: linux cibw_build_suffix: manylinux_x86_64 build_dir: /tmp/cpp_build @@ -275,7 +275,7 @@ jobs: always() && !failure() && !cancelled() - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - run: echo Dummy job to simplify PR merge checks configuration # FUTURE: add some test stats/reporting diff --git a/.github/workflows/build_with_conda.yml b/.github/workflows/build_with_conda.yml index 6c0f8cbece..5a31441000 100644 --- a/.github/workflows/build_with_conda.yml +++ b/.github/workflows/build_with_conda.yml @@ -16,7 +16,7 @@ jobs: if: | always() && !cancelled() - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true services: diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index 82419c886c..3660a89cb1 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -8,7 +8,7 @@ on: jobs: docs_build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: TestPypi permissions: contents: write diff --git a/.github/workflows/docs_publish.yml b/.github/workflows/docs_publish.yml index 24108082e0..5980da85ef 100644 --- a/.github/workflows/docs_publish.yml +++ b/.github/workflows/docs_publish.yml @@ -5,7 +5,7 @@ on: environment: { type: environment, required: true } jobs: docs_publish: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: ${{inputs.environment}} steps: - name: Checkout diff --git a/.github/workflows/ec2_runner_jobs.yml b/.github/workflows/ec2_runner_jobs.yml index e5629875b1..32c39239b2 100644 --- a/.github/workflows/ec2_runner_jobs.yml +++ b/.github/workflows/ec2_runner_jobs.yml @@ -18,7 +18,7 @@ jobs: start-runner: if: inputs.job_type == 'start' name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 continue-on-error: true outputs: label: ${{ steps.start-ec2-runner.outputs.label }} @@ -44,7 +44,7 @@ jobs: stop-runner: name: Stop self-hosted EC2 runner if: inputs.job_type == 'stop' - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 continue-on-error: true steps: - name: Configure AWS credentials diff --git a/.github/workflows/persistent_storage.yml b/.github/workflows/persistent_storage.yml index 57f9b9c959..1aed985597 100644 --- a/.github/workflows/persistent_storage.yml +++ b/.github/workflows/persistent_storage.yml @@ -84,7 +84,7 @@ jobs: cleanup: if: inputs.job_type == 'cleanup' - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 defaults: run: {shell: bash} steps: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42547befa2..4c706310c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: # GitHub Composite Actions cannot access secrets and Reusable Workflows cannot return artifacts, so duplicate for now: release_notes: if: startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: SYMBOLS_ARTIFACT: /tmp/symbols.tar.zst # Use absolute path to workaround a bug in action-gh-release steps: @@ -92,7 +92,7 @@ jobs: pypi: environment: ${{inputs.environment}} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Gather wheels from run ${{inputs.run_id}} if: inputs.run_id > 0 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 69b3f6c191..59fd7e01db 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -14,7 +14,7 @@ run-name: Tagging ${{github.ref_name}} as v${{inputs.version}}${{inputs.overwrit jobs: tag: environment: TestPypi # Enforcing deployment branches permissions - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: checks: read contents: write