Skip to content

Commit

Permalink
ci: Pin Python, Fedora and Ubuntu versions.
Browse files Browse the repository at this point in the history
To avoid ever changing tools in our CI due to newer releases of
Python/Fedora/Ubuntu.  We can always bump versions manually.

Signed-off-by: Dumitru Ceara <[email protected]>
  • Loading branch information
dceara committed Nov 15, 2023
1 parent b20b1c9 commit 43842a2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
container:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ovn-fake-multinode-tests.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
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 @@ -225,7 +225,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 @@ -239,8 +239,8 @@ jobs:

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

strategy:
Expand Down
2 changes: 1 addition & 1 deletion utilities/containers/fedora/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/fedora/fedora:latest
FROM registry.fedoraproject.org/fedora:38

ARG CONTAINERS_PATH

Expand Down
2 changes: 1 addition & 1 deletion utilities/containers/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.hub.docker.com/library/ubuntu:latest
FROM registry.hub.docker.com/library/ubuntu:22.04

ARG CONTAINERS_PATH

Expand Down

0 comments on commit 43842a2

Please sign in to comment.