Skip to content

Commit

Permalink
Support building for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Jul 12, 2024
1 parent 06d92e3 commit 3619c83
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- el9
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- debian-12
- amzn2023
arch:
Expand All @@ -31,6 +32,8 @@ jobs:
arch: ppc64le
- dist: ubuntu-22.04
arch: ppc64le
- dist: ubuntu-24.04
arch: ppc64le
runs-on: ${{ matrix.os }}
name: Buildbox tests
steps:
Expand Down Expand Up @@ -175,6 +178,7 @@ jobs:
dist:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- debian-12
arch:
- x86_64
Expand Down Expand Up @@ -247,6 +251,7 @@ jobs:
- el9
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- debian-12
- amzn2023
arch:
Expand All @@ -273,6 +278,8 @@ jobs:
arch: ppc64le
- dist: ubuntu-22.04
arch: ppc64le
- dist: ubuntu-24.04
arch: ppc64le
runs-on: ${{ matrix.os }}
name: Package ${{ matrix.package }} dist=${{ matrix.dist }} arch=${{ matrix.arch }}
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- amzn2023
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- debian-12
arch:
- x86_64
Expand All @@ -28,6 +29,8 @@ jobs:
arch: ppc64le
- dist: ubuntu-22.04
arch: ppc64le
- dist: ubuntu-24.04
arch: ppc64le
name: Release buildbox
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ood_packaging (0.14.1)
ood_packaging (0.15.0)
rake (~> 13.0.1)

GEM
Expand Down
2 changes: 2 additions & 0 deletions lib/ood_packaging/build_box.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ class OodPackaging::BuildBox
'el9' => 'almalinux:9',
'ubuntu-20.04' => 'ubuntu:20.04',
'ubuntu-22.04' => 'ubuntu:22.04',
'ubuntu-24.04' => 'ubuntu:24.04',
'debian-12' => 'debian:12',
'amzn2023' => 'amazonlinux:2023'
}.freeze

CODENAMES = {
'ubuntu-20.04' => 'focal',
'ubuntu-22.04' => 'jammy',
'ubuntu-24.04' => 'noble',
'debian-12' => 'bookworm'
}.freeze

Expand Down
2 changes: 1 addition & 1 deletion lib/ood_packaging/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Version code for OodPackaging
module OodPackaging
VERSION = '0.14.1'
VERSION = '0.15.0'
PACKAGE_VERSION = {
'ondemand-release' => {
'(ubuntu|debian)' => '3.1.1',
Expand Down
1 change: 1 addition & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
'ubuntu-18.04': 'bionic',
'ubuntu-20.04': 'focal',
'ubuntu-22.04': 'jammy',
'ubuntu-24.04': 'noble',
'debian-12': 'bookworm',
}
PROJ_ROOT = os.path.dirname(os.path.realpath(__file__))
Expand Down
3 changes: 3 additions & 0 deletions repo-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ LOCK_FILE="/var/lib/oodpkg/repo-update-${LOCK_NAME}.lock"
debian-12|bookworm)
DIST="bookworm"
;;
ubuntu-24.04|noble)
DIST="noble"
;;
ubuntu-22.04|jammy)
DIST="jammy"
;;
Expand Down
2 changes: 2 additions & 0 deletions sync-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'amzn2023',
'ubuntu-20.04',
'ubuntu-22.04',
'ubuntu-24.04',
'debian-12'
]
EL_RELEASES = [
Expand All @@ -32,6 +33,7 @@
DEB_CODENAMES = [
'focal',
'jammy',
'noble',
'bookworm'
]
SKIP = [
Expand Down

0 comments on commit 3619c83

Please sign in to comment.