From dad2c1bd7c3e8f431f5d6bbcceb77efab48b0138 Mon Sep 17 00:00:00 2001 From: Mothblocks <35135081+Jared-Fogle@users.noreply.github.com> Date: Tue, 26 Jan 2021 13:49:32 -0800 Subject: [PATCH] Fix CI failure with i386 caused by latest Ubuntu version. Pin Ubuntu version to allow us to upgrade in the future. (#56447) Fixes this CI failure on all new PRs. Pins our version so we don't immediately fail next time something like this happens. --- .github/workflows/ci_suite.yml | 8 ++++---- .github/workflows/compile_changelogs.yml | 2 +- .github/workflows/docker_publish.yml | 2 +- .github/workflows/generate_documentation.yml | 2 +- .github/workflows/round_id_linker.yml | 2 +- .github/workflows/stale.yml | 2 +- .github/workflows/update_tgs_dmapi.yml | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci_suite.yml b/.github/workflows/ci_suite.yml index 055e885c9b3..dba3fe3bb2f 100644 --- a/.github/workflows/ci_suite.yml +++ b/.github/workflows/ci_suite.yml @@ -10,7 +10,7 @@ jobs: run_linters: if: "!contains(github.event.head_commit.message, '[ci skip]')" name: Run Linters - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Setup cache @@ -44,7 +44,7 @@ jobs: compile_all_maps: if: "!contains(github.event.head_commit.message, '[ci skip]')" name: Compile Maps - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Setup cache @@ -63,7 +63,7 @@ jobs: run_all_tests: if: "!contains(github.event.head_commit.message, '[ci skip]')" name: Integration Tests - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 services: mysql: image: mysql:latest @@ -90,7 +90,7 @@ jobs: run: | sudo dpkg --add-architecture i386 sudo apt update || true - sudo apt install libssl1.1:i386 + sudo apt install -o APT::Immediate-Configure=false libssl1.1:i386 bash tools/ci/install_rust_g.sh - name: Compile and run tests run: | diff --git a/.github/workflows/compile_changelogs.yml b/.github/workflows/compile_changelogs.yml index c8756f0d289..b0e15788158 100644 --- a/.github/workflows/compile_changelogs.yml +++ b/.github/workflows/compile_changelogs.yml @@ -7,7 +7,7 @@ on: jobs: compile: name: "Compile changelogs" - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: "Check for CHANGELOG_ENABLER secret and pass true to output if it exists to be checked by later steps" id: value_holder diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index 3af6570973b..32d160b8401 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -8,7 +8,7 @@ on: jobs: publish: if: "!contains(github.event.head_commit.message, '[ci skip]')" - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/generate_documentation.yml b/.github/workflows/generate_documentation.yml index d0d61be073c..c1b7a2d5e13 100644 --- a/.github/workflows/generate_documentation.yml +++ b/.github/workflows/generate_documentation.yml @@ -6,7 +6,7 @@ on: jobs: generate_documentation: if: "!contains(github.event.head_commit.message, '[ci skip]')" - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Setup cache diff --git a/.github/workflows/round_id_linker.yml b/.github/workflows/round_id_linker.yml index cfb85052788..5aede3503d1 100644 --- a/.github/workflows/round_id_linker.yml +++ b/.github/workflows/round_id_linker.yml @@ -5,7 +5,7 @@ on: jobs: link_rounds: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: tgstation/round_linker@master with: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0778251cdf2..702d368db56 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,7 +7,7 @@ on: jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/stale@v1 diff --git a/.github/workflows/update_tgs_dmapi.yml b/.github/workflows/update_tgs_dmapi.yml index c7bb5c970c6..19a72d67027 100644 --- a/.github/workflows/update_tgs_dmapi.yml +++ b/.github/workflows/update_tgs_dmapi.yml @@ -7,7 +7,7 @@ on: jobs: update-dmapi: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: Update the TGS DMAPI steps: - name: Clone