diff --git a/.github/workflows/ci_build_docker_runner.yml b/.github/workflows/ci_build_docker_runner.yml index b46ab00..f6a6a02 100644 --- a/.github/workflows/ci_build_docker_runner.yml +++ b/.github/workflows/ci_build_docker_runner.yml @@ -34,6 +34,7 @@ jobs: - debian-trixie - redhat8 - redhat9 + - redhat10 - suse15.2 - suse15.3 - suse15.4 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 7019e80..59c7773 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -20,6 +20,6 @@ jobs: with: repo_base_url: 'https://download.newrelic.com/infrastructure_agent' package_name: 'newrelic-infra' - package_version: '1.69.0' + package_version: '1.71.0' gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg' - platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-trixie,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,suse15.6,suse15.7,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" + platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-trixie,redhat8,redhat9,redhat10,suse15.2,suse15.3,suse15.4,suse15.5,suse15.6,suse15.7,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" diff --git a/README.md b/README.md index b3b4d00..eee3923 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Github action that tests the correct installation of a given package and version - debian-trixie - redhat8 - redhat9 + - redhat10 - suse15.2 - suse15.3 - suse15.4 @@ -56,7 +57,7 @@ jobs: with: repo_base_url: 'http://nr-downloads-ohai-staging.s3-website-us-east-1.amazonaws.com/infrastructure_agent' package_name: 'newrelic-infra' - package_version: '1.68.0' + package_version: '1.71.0' gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg' platforms: "al2,al2022,centos7,centos8,debian-bullseye,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,suse15.6,suse15.7,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204" ``` diff --git a/molecule/default/dockerfiles/redhat10 b/molecule/default/dockerfiles/redhat10 new file mode 100644 index 0000000..c453418 --- /dev/null +++ b/molecule/default/dockerfiles/redhat10 @@ -0,0 +1,11 @@ +FROM redhat/ubi10 + +# Run a system update so the system doesn't overwrite the fake systemctl later +RUN yum -y update + +RUN yum -y install python3 sudo + +# 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"] \ No newline at end of file diff --git a/prepare_platform.sh b/prepare_platform.sh index c04c34c..1fcb028 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-bookworm" "debian-trixie" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "suse15.6" "suse15.7" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204" "ubuntu2404") +available_platforms=("al2" "al2023" "centos7" "centos8" "debian-bullseye" "debian-bookworm" "debian-trixie" "redhat8" "redhat9" "redhat10" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "suse15.6" "suse15.7" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204" "ubuntu2404") # check_platforms verifies that the provided platforms are available check_platforms() {