diff --git a/.github/workflows/ci_build_docker_runner.yml b/.github/workflows/ci_build_docker_runner.yml index 78c3946..4fa29d6 100644 --- a/.github/workflows/ci_build_docker_runner.yml +++ b/.github/workflows/ci_build_docker_runner.yml @@ -37,6 +37,7 @@ jobs: - ubuntu1804 - ubuntu2004 - ubuntu2204 + - ubuntu2404 steps: - name: Checkout repository diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index bcc2aa1..eb62de1 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.48.4' + package_version: '1.52.1' 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,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204" + platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" diff --git a/README.md b/README.md index b08de80..10849a0 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Github action that tests the correct installation of a given package and version - ubuntu1804 - ubuntu2004 - ubuntu2204 + - ubuntu2404 ## Example usage diff --git a/molecule/default/dockerfiles/ubuntu2404 b/molecule/default/dockerfiles/ubuntu2404 new file mode 100644 index 0000000..1ebee62 --- /dev/null +++ b/molecule/default/dockerfiles/ubuntu2404 @@ -0,0 +1,10 @@ +FROM ubuntu:24.04 + +RUN apt-get update \ + && apt-get install -y init gpg ca-certificates sudo curl \ + && 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 d8447b8..e5ef461 100755 --- a/prepare_platform.sh +++ b/prepare_platform.sh @@ -24,7 +24,7 @@ This is a bash script to make generate a Molecule configutaion. exit fi -available_platforms=("al2" "al2023" "centos7" "centos8" "debian-bullseye" "debian-buster" "debian-bookworm" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204") +available_platforms=("al2" "al2023" "centos7" "centos8" "debian-bullseye" "debian-buster" "debian-bookworm" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204" "ubuntu2404") # check_platforms verifies that the provided platforms are available check_platforms() {