diff --git a/.github/workflows/ci_build_docker_runner.yml b/.github/workflows/ci_build_docker_runner.yml index 422e50e..6a7e96a 100644 --- a/.github/workflows/ci_build_docker_runner.yml +++ b/.github/workflows/ci_build_docker_runner.yml @@ -20,13 +20,13 @@ jobs: strategy: matrix: dockerfile: - - al2022 - al2023 - al2 - centos7 - centos8 - debian-bullseye - debian-buster + - debian-bookworm - redhat8 - redhat9 - suse15.2 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ba0d2f8..2f908ba 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -16,6 +16,6 @@ jobs: with: repo_base_url: 'https://download.newrelic.com/infrastructure_agent' package_name: 'newrelic-infra' - package_version: '1.40.0' + package_version: '1.45.0' gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg' platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204" diff --git a/README.md b/README.md index 03bf5b4..1f5a17d 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,12 @@ Github action that tests the correct installation of a given package and version ## Available platforms - al2 - - al2022 - al2023 - centos7 - centos8 - debian-bullseye - debian-buster + - debian-bookworm - redhat8 - redhat9 - suse15.2 diff --git a/molecule/default/dockerfiles/debian-bookworm b/molecule/default/dockerfiles/debian-bookworm new file mode 100644 index 0000000..4af3499 --- /dev/null +++ b/molecule/default/dockerfiles/debian-bookworm @@ -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"] diff --git a/prepare_platform.sh b/prepare_platform.sh index bde726e..ee2d67d 100755 --- a/prepare_platform.sh +++ b/prepare_platform.sh @@ -18,13 +18,13 @@ if [[ "${TRACE-0}" == "1" ]]; then set -o xtrace; fi if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then - echo 'Usage: ./prepare_platform.sh "al2,al2022" + echo 'Usage: ./prepare_platform.sh "al2,al2023" 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" "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() {