Skip to content

Commit d996828

Browse files
committed
feat: add new ubuntu2604 os
1 parent 91a825b commit d996828

5 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/ci_build_docker_runner.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- ubuntu2004
4747
- ubuntu2204
4848
- ubuntu2404
49+
- ubuntu2604
4950

5051
steps:
5152
- name: Checkout repository

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
with:
2121
repo_base_url: 'https://download.newrelic.com/infrastructure_agent'
2222
package_name: 'newrelic-infra'
23-
package_version: '1.72.0'
23+
package_version: '1.74.1'
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,redhat10,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,ubuntu2604"
2626
- name: Custom command test
2727
uses: ./
2828
with:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Github action that tests the correct installation of a given package and version
3737
- ubuntu2004
3838
- ubuntu2204
3939
- ubuntu2404
40+
- ubuntu2604
4041

4142
## Example usage
4243

@@ -57,9 +58,9 @@ jobs:
5758
with:
5859
repo_base_url: 'http://nr-downloads-ohai-staging.s3-website-us-east-1.amazonaws.com/infrastructure_agent'
5960
package_name: 'newrelic-infra'
60-
package_version: '1.72.0'
61+
package_version: '1.74.1'
6162
gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg'
62-
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"
63+
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,ubuntu2404,ubuntu2604"
6364
```
6465
6566
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ubuntu:26.04
2+
3+
RUN apt-get update \
4+
&& apt-get install -y init gpg ca-certificates sudo curl \
5+
&& apt-get clean all
6+
7+
# Adding fake systemctl
8+
RUN curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py -o /usr/local/bin/systemctl
9+
10+
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" "redhat10" "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" "ubuntu2604")
2828

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

0 commit comments

Comments
 (0)