Skip to content

Commit

Permalink
NR-144355: add debian-bookworm platform
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Aug 17, 2023
1 parent cad89b6 commit 66595e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Github action that tests the correct installation of a given package and version
- centos8
- debian-bullseye
- debian-buster
- debian-bookworm
- redhat8
- redhat9
- suse15.2
Expand Down
10 changes: 10 additions & 0 deletions molecule/default/dockerfiles/debian-bookworm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM debian:bookworm

RUN apt-get update \
&& apt-get install -y init gpg ca-certificates sudo curl python3 \
&& apt-get clean all

# Adding fake systemctl
RUN curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py -o /usr/local/bin/systemctl

CMD ["/usr/local/bin/systemctl"]
2 changes: 1 addition & 1 deletion prepare_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This is a bash script to make generate a Molecule configutaion.
exit
fi

available_platforms=("al2" "al2022" "al2023" "centos7" "centos8" "debian-bullseye" "debian-buster" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204")
available_platforms=("al2" "al2022" "al2023" "centos7" "centos8" "debian-bullseye" "debian-buster" "debian-bookworm" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204")

# check_platforms verifies that the provided platforms are available
check_platforms() {
Expand Down

0 comments on commit 66595e6

Please sign in to comment.