Skip to content

Commit

Permalink
ci: Pin Python, Fedora and Ubuntu runner versions.
Browse files Browse the repository at this point in the history
We initially thought always using the latest releases would be more
maintainable because we didn't have to bump versions manually.  It turns
out that it's the opposite, CI suddenly starts to fail on versions where
it used to pass.

To avoid ever changing tools in our CI due to newer releases of
Python/Fedora/Ubuntu.  We can always bump versions manually.

Fixes: 5ee07b3 ("ci: Change all GitHub CI jobs to use ubuntu-latest.")
Fixes: 60a53ab ("ci: Add automation for building the containers")
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Ales Musil <amusil@redhat.com>
Acked-by: Mark Michelson <mmichels@redhat.com>
  • Loading branch information
dceara committed Nov 17, 2023
1 parent df8043c commit 278e0d3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/containers.yml
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
container:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
distro: [ fedora, ubuntu ]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ovn-fake-multinode-tests.yml
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
name: Build ovn-fake-multinode image
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
cfg:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
path: /tmp/_output/ovn_${{ matrix.cfg.branch }}_image.tar

multinode-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 15
needs: [build]
strategy:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.12'

- name: Check out ovn
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ovn-kubernetes.yml
Expand Up @@ -24,7 +24,7 @@ env:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Enable Docker experimental features
run: |
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
e2e:
name: e2e
if: github.event_name != 'schedule'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 220
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -94,7 +94,7 @@ jobs:
SANITIZERS: ${{ matrix.cfg.sanitizers }}

name: linux ${{ join(matrix.cfg.*, ' ') }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.12'
- name: prepare
run: ./.ci/osx-prepare.sh
- name: build
Expand All @@ -233,7 +233,7 @@ jobs:

build-linux-rpm:
name: linux rpm fedora
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: fedora:latest
timeout-minutes: 30

Expand Down

0 comments on commit 278e0d3

Please sign in to comment.