Skip to content

Commit 3444e60

Browse files
authored
feat: Add RHEL 10 (NR-447158) (#37)
1 parent 2eacadc commit 3444e60

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

.github/workflows/ci_build_docker_runner.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- debian-bookworm
3535
- redhat8
3636
- redhat9
37+
- redhat10
3738
- suse15.2
3839
- suse15.3
3940
- suse15.4

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
package_name: 'newrelic-infra'
2323
package_version: '1.57.1'
2424
gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg'
25-
platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,suse15.6,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404"
25+
platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,redhat10,suse15.2,suse15.3,suse15.4,suse15.5,suse15.6,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Github action that tests the correct installation of a given package and version
2525
- debian-bookworm
2626
- redhat8
2727
- redhat9
28+
- redhat10
2829
- suse15.2
2930
- suse15.3
3031
- suse15.4
@@ -57,7 +58,7 @@ jobs:
5758
package_name: 'newrelic-infra'
5859
package_version: '1.36.0'
5960
gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg'
60-
platforms: "al2,al2022,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204"
61+
platforms: "al2,al2022,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,redhat10,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204"
6162
```
6263
6364
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM redhat/ubi10
2+
3+
# Run a system update so the system doesn't overwrite the fake systemctl later
4+
RUN yum -y update
5+
6+
RUN yum -y install python3 sudo
7+
8+
# Adding fake systemctl
9+
RUN curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py -o /usr/local/bin/systemctl
10+
11+
CMD ["/usr/local/bin/systemctl"]
12+

prepare_platform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This is a bash script to make generate a Molecule configutaion.
2424
exit
2525
fi
2626

27-
available_platforms=("al2" "al2023" "centos7" "centos8" "debian-bullseye" "debian-buster" "debian-bookworm" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "suse15.6" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204" "ubuntu2404")
27+
available_platforms=("al2" "al2023" "centos7" "centos8" "debian-bullseye" "debian-buster" "debian-bookworm" "redhat8" "redhat9" "redhat10" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "suse15.6" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204" "ubuntu2404")
2828

2929
# check_platforms verifies that the provided platforms are available
3030
check_platforms() {

0 commit comments

Comments
 (0)