Skip to content

Commit

Permalink
Pin ubuntu versions, move to 22.04 and bookworm
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
  • Loading branch information
apostasie committed Jul 23, 2024
1 parent 473eff8 commit fc7da25
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
name: Build and Lint
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
build-optimizer:
name: Build optimizer
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -50,7 +50,7 @@ jobs:
smoke:
name: Smoke
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -75,7 +75,7 @@ jobs:
cross-build-test:
name: Cross Build Test
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
GOOS: ["linux", "windows", "darwin"]
Expand All @@ -95,7 +95,7 @@ jobs:
coverage:
name: Code coverage
timeout-minutes: 10
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [build]
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
run-e2e-for-cgroups-v1:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/k8s-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
e2e_tests_k8s:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/optimizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
run_optimizer:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
include:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
path: |
package/*.tar.gz*
upload:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [build]
steps:
- uses: actions/checkout@v4
Expand All @@ -96,7 +96,7 @@ jobs:
builds/release-tars-**/*
publish-image:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [build]
strategy:
matrix:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
build-args: NYDUS_VER=${{ env.NYDUS_STABLE_VER }}

publish-manifest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [publish-image]
steps:
- name: Log in to the container registry
Expand Down
2 changes: 1 addition & 1 deletion integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG DOWNLOADS_MIRROR="https://github.com"
ARG NYDUS_VER=2.2.4
ARG NERDCTL_VER=1.0.0

FROM golang:1.21.12-bullseye AS golang-base
FROM golang:1.21.12-bookworm AS golang-base

ARG CONTAINERD_VER
ARG CONTAINERD_PROJECT
Expand Down

0 comments on commit fc7da25

Please sign in to comment.