Skip to content

Commit

Permalink
Merge branch 'feature/PB-24985-add-debian-bookworm' into 'main'
Browse files Browse the repository at this point in the history
PB-24985: added debian bookworm

See merge request passbolt/passbolt-ops/passbolt-dep-scripts!20
  • Loading branch information
dlen committed Jun 15, 2023
2 parents 4546dfd + ea1403f commit 510ed20
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .gitlab-ci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@
variables:
PASSBOLT_FLAVOUR: "pro"

Debian 10 CE:
extends: .test-deb-ce
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-buster-10:latest

Debian 10 PRO:
extends: .test-deb-pro
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-buster-10:latest

Debian 11 CE:
extends: .test-deb-ce
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-bullseye-11-slim:latest
Expand All @@ -65,6 +57,14 @@ Debian 11 PRO:
extends: .test-deb-pro
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-bullseye-11-slim:latest

Debian 12 CE:
extends: .test-deb-ce
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-bookworm-12:latest

Debian 12 PRO:
extends: .test-deb-pro
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-bookworm-12:latest

Raspbian CE:
extends: .test-deb-ce
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-bullseye-11-slim:latest
Expand Down
5 changes: 4 additions & 1 deletion passbolt-repo-setup.ce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ done

function is_supported_distro() {
local DISTROS=(
"debian10"
"debian11"
"debian12"
"raspbian"
"ubuntu20"
"ubuntu22"
Expand Down Expand Up @@ -131,6 +131,9 @@ os_detect () {
fi
# We use buster debian package for bullseye
if [ "${CODENAME}" = "bullseye" ]
then
CODENAME="buster"
elif [ "${CODENAME}" = "bookworm" ]
then
CODENAME="buster"
# We use focal ubuntu package for jammy
Expand Down
5 changes: 4 additions & 1 deletion passbolt-repo-setup.pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ done

function is_supported_distro() {
local DISTROS=(
"debian10"
"debian11"
"debian12"
"raspbian"
"ubuntu20"
"ubuntu22"
Expand Down Expand Up @@ -131,6 +131,9 @@ os_detect () {
fi
# We use buster debian package for bullseye
if [ "${CODENAME}" = "bullseye" ]
then
CODENAME="buster"
elif [ "${CODENAME}" = "bookworm" ]
then
CODENAME="buster"
# We use focal ubuntu package for jammy
Expand Down

0 comments on commit 510ed20

Please sign in to comment.