Skip to content

Commit

Permalink
Switch support of ubuntu focal to jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvoncek committed Jan 8, 2025
1 parent c0984ae commit 5b7acbd
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
# Build debian packages
strategy:
matrix:
suite: [focal, bullseye, bookworm]
suite: [jammy, bullseye, bookworm]
include:
- suite: focal
- suite: jammy
os-version: ubuntu-20.04
- suite: bullseye
os-version: ubuntu-22.04
Expand Down Expand Up @@ -454,9 +454,9 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'
strategy:
matrix:
suite: [focal, bionic]
suite: [jammy, bionic]
include:
- suite: focal
- suite: jammy
os-version: ubuntu-20.04
- suite: bionic
os-version: ubuntu-18.04
Expand Down
6 changes: 3 additions & 3 deletions packaging/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
set -e

case $1 in
""|focal|bullseye|bookworm)
""|jammy|bullseye|bookworm)
suites=("${1:-bionic}")
;;
all)
suites=(focal bullseye bookworm)
suites=(jammy bullseye bookworm)
;;
*)
echo "Unknown distribution suite - allowed values: 'all', 'focal', 'bullseye', 'bookworm'"
echo "Unknown distribution suite - allowed values: 'all', 'jammy', 'bullseye', 'bookworm'"
exit 1
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion packaging/docker-build/Dockerfile-debian-11
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WORKDIR ${WORKDIR}
ENV PIP_DEFAULT_TIMEOUT 100
RUN echo "Acquire::http::Pipeline-Depth 0;" >> /etc/apt/apt.conf

# add a repo that contains a backport of dh-virtualenv 1.1 for focal, bionic
# add a repo that contains a backport of dh-virtualenv 1.1 for jammy, bionic
RUN apt-get update && \
apt-get install -y software-properties-common

Expand Down
6 changes: 3 additions & 3 deletions packaging/docker-build/Dockerfile-debian-12
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ WORKDIR ${WORKDIR}
ENV PIP_DEFAULT_TIMEOUT 100
RUN echo "Acquire::http::Pipeline-Depth 0;" >> /etc/apt/apt.conf

# add a repo that contains a backport of dh-virtualenv 1.1 for focal, bionic
# add a repo that contains a backport of dh-virtualenv 1.1 for jammy, bionic
RUN apt-get update && \
apt-get install -y software-properties-common

# install dependencies
RUN apt-get update \
&& apt-get install -y \
libffi-dev \
libssl-dev \
libffi-dev \
libssl-dev \
debhelper \
gcc \
dh-python \
Expand Down
2 changes: 1 addition & 1 deletion packaging/docker-build/Dockerfile-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WORKDIR ${WORKDIR}
ENV PIP_DEFAULT_TIMEOUT 100
RUN echo "Acquire::http::Pipeline-Depth 0;" >> /etc/apt/apt.conf

# add a repo that contains a backport of dh-virtualenv 1.1 for focal, bionic
# add a repo that contains a backport of dh-virtualenv 1.1 for jammy, bionic
RUN apt-get update && \
apt-get install -y software-properties-common

Expand Down
8 changes: 4 additions & 4 deletions packaging/docker-build/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@
# limitations under the License.

services:
cassandra-medusa-builder-focal:
cassandra-medusa-builder-jammy:
build:
platforms:
- linux/amd64
context: ../..
dockerfile: packaging/docker-build/Dockerfile-ubuntu
args:
- BUILD_IMAGE=ubuntu:20.04
- BUILD_IMAGE=ubuntu:22.04
- EXTRA_PACKAGES=""
volumes:
- ../..:/usr/src/app/cassandra-medusa
- ../../packages:/usr/src/app/packages
- ./scripts:/usr/src/app/scripts
cassandra-medusa-tester-focal:
cassandra-medusa-tester-jammy:
build:
platforms:
- linux/amd64
context: ../..
dockerfile: packaging/docker-build/Dockerfile-tester
args:
- BUILD_IMAGE=ubuntu:20.04
- BUILD_IMAGE=ubuntu:22.04
volumes:
- ../../packages:/usr/src/app/packages
cassandra-medusa-builder-bullseye:
Expand Down

0 comments on commit 5b7acbd

Please sign in to comment.