Skip to content

Commit e90a864

Browse files
committed
Added support for Rhel10
1 parent 4a20293 commit e90a864

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-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-trixie
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.69.0'
2424
gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg'
25-
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"
25+
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"

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-trixie
2626
- redhat8
2727
- redhat9
28+
- redhat10
2829
- suse15.2
2930
- suse15.3
3031
- suse15.4
@@ -56,7 +57,7 @@ jobs:
5657
with:
5758
repo_base_url: 'http://nr-downloads-ohai-staging.s3-website-us-east-1.amazonaws.com/infrastructure_agent'
5859
package_name: 'newrelic-infra'
59-
package_version: '1.68.0'
60+
package_version: '1.69.0'
6061
gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg'
6162
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"
6263
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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"]

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-bookworm" "debian-trixie" "redhat8" "redhat9" "suse15.2" "suse15.3" "suse15.4" "suse15.5" "suse15.6" "suse15.7" "ubuntu1604" "ubuntu1804" "ubuntu2004" "ubuntu2204" "ubuntu2404")
27+
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")
2828

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

0 commit comments

Comments
 (0)