Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add support for SUSE 15.6 #27

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci_build_docker_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- suse15.3
- suse15.4
- suse15.5
- suse15.6
- ubuntu1604
- ubuntu1804
- ubuntu2004
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
package_name: 'newrelic-infra'
package_version: '1.52.3'
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,ubuntu2404"
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"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Github action that tests the correct installation of a given package and version
- suse15.3
- suse15.4
- suse15.5
- suse15.6
- ubuntu1604
- ubuntu1804
- ubuntu2004
Expand Down
13 changes: 13 additions & 0 deletions molecule/default/dockerfiles/suse15.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM opensuse/leap:15.6

# Run a system update so the system doesn't overwrite the fake systemctl later
RUN zypper -n update

RUN zypper -n install python3 sudo curl

# Adding fake systemctl
RUN curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py -o /usr/local/bin/systemctl

RUN chmod +x /usr/local/bin/systemctl

CMD ["/usr/local/bin/systemctl"]
2 changes: 1 addition & 1 deletion prepare_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" "ubuntu2404")
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")

# check_platforms verifies that the provided platforms are available
check_platforms() {
Expand Down
Loading