-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* NR-144356: add support for sles 15.5 * enable sles 15.5 for canaries
- Loading branch information
1 parent
a13f21b
commit a90edcc
Showing
6 changed files
with
260 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# SLES 15.5 amd64 | ||
|
||
- id: sle-15.5-infrastructure-agent | ||
builds: | ||
- linux-agent-amd64 | ||
- linux-ctl-amd64 | ||
- linux-service-amd64 | ||
package_name: newrelic-infra | ||
file_name_template: "newrelic-infra-{{ .Env.TAG }}-1.sles15.5.{{ .Arch }}" | ||
vendor: 'New Relic, Inc.' | ||
homepage: 'https://docs.newrelic.com/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes' | ||
maintainer: '[email protected]' | ||
description: 'New Relic Infrastructure provides flexible, dynamic server monitoring. With real-time data collection and a UI that scales from a handful of hosts to thousands, Infrastructure is designed for modern Operations teams with fast-changing systems.' | ||
license: 'Copyright (c) 2008-2021 New Relic, Inc. All rights reserved.' | ||
formats: | ||
- rpm | ||
bindir: /usr/bin | ||
contents: | ||
- src: 'build/package/systemd/newrelic-infra.service' | ||
dst: '/etc/systemd/system/newrelic-infra.service' | ||
- src: 'LICENSE' | ||
dst: '/var/db/newrelic-infra/LICENSE.txt' | ||
- src: 'target/nridocker/amd64/etc/newrelic-infra/integrations.d/docker-config.yml' | ||
dst: '/etc/newrelic-infra/integrations.d/docker-config.yml' | ||
type: config | ||
|
||
- src: 'target/nridocker/amd64/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' | ||
- src: 'target/nriflex/amd64/nri-flex' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-flex' | ||
- src: 'target/nriprometheus/amd64/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' | ||
|
||
# - src: 'assets/examples/logging/linux/file.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/file.yml.example' | ||
# - src: 'assets/examples/logging/linux/fluentbit.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/fluentbit.yml.example' | ||
# - src: 'assets/examples/logging/linux/syslog.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/syslog.yml.example' | ||
# - src: 'assets/examples/logging/linux/systemd.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/systemd.yml.example' | ||
# - src: 'assets/examples/logging/linux/tcp.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/tcp.yml.example' | ||
# - src: 'target/fluent-bit-plugin/amd64/out_newrelic.so' | ||
# dst: '/var/db/newrelic-infra/newrelic-integrations/logging/out_newrelic.so' | ||
# - src: 'assets/examples/logging/parsers.conf' | ||
# dst: '/var/db/newrelic-infra/newrelic-integrations/logging/parsers.conf' | ||
empty_folders: | ||
- /var/db/newrelic-infra/custom-integrations | ||
- /var/db/newrelic-infra/integrations.d | ||
- /var/log/newrelic-infra | ||
- /var/run/newrelic-infra | ||
epoch: 0 | ||
release: 1.sles15.5 | ||
replacements: | ||
amd64: x86_64 | ||
|
||
# Scripts to execute during the installation of the package. | ||
scripts: | ||
preinstall: "build/package/before-install.sh" | ||
preremove: "build/package/rpm/prerm-systemd.sh" | ||
|
||
# Packages to replace according to old packaging scripts. | ||
replaces: | ||
- opspro-agent | ||
- opspro-agent-systemd | ||
# Section. | ||
section: default | ||
# Priority. | ||
priority: extra | ||
rpm: | ||
scripts: | ||
posttrans: "build/package/rpm/postinst-systemd.sh" | ||
summary: "New Relic Infrastructure Agent" | ||
group: default | ||
# Recommended packages. If they fail to install installation of the agent will not be interrupted. | ||
# recommends: | ||
# - fluent-bit | ||
|
||
# end SLES 15.5 amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# SLES 15.5 arm | ||
|
||
- id: sle-15.5-infrastructure-agent-arm | ||
builds: | ||
- linux-agent-arm | ||
- linux-ctl-arm | ||
- linux-service-arm | ||
package_name: newrelic-infra | ||
file_name_template: "newrelic-infra-{{ .Env.TAG }}-1.sles15.5.{{ .Arch }}" | ||
vendor: 'New Relic, Inc.' | ||
homepage: 'https://docs.newrelic.com/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes' | ||
maintainer: '[email protected]' | ||
description: 'New Relic Infrastructure provides flexible, dynamic server monitoring. With real-time data collection and a UI that scales from a handful of hosts to thousands, Infrastructure is designed for modern Operations teams with fast-changing systems.' | ||
license: 'Copyright (c) 2008-2021 New Relic, Inc. All rights reserved.' | ||
formats: | ||
- rpm | ||
bindir: /usr/bin | ||
contents: | ||
# - src: 'assets/examples/logging/linux/file.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/file.yml.example' | ||
# - src: 'assets/examples/logging/linux/fluentbit.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/fluentbit.yml.example' | ||
# - src: 'assets/examples/logging/linux/syslog.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/syslog.yml.example' | ||
# - src: 'assets/examples/logging/linux/systemd.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/systemd.yml.example' | ||
# - src: 'assets/examples/logging/linux/tcp.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/tcp.yml.example' | ||
|
||
- src: 'build/package/systemd/newrelic-infra.service' | ||
dst: '/etc/systemd/system/newrelic-infra.service' | ||
- src: 'LICENSE' | ||
dst: '/var/db/newrelic-infra/LICENSE.txt' | ||
- src: 'target/nridocker/{{ .Arch }}/etc/newrelic-infra/integrations.d/docker-config.yml' | ||
dst: '/etc/newrelic-infra/integrations.d/docker-config.yml' | ||
type: config | ||
|
||
- src: 'target/nridocker/{{ .Arch }}/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' | ||
- src: 'target/nriflex/{{ .Arch }}/nri-flex' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-flex' | ||
- src: 'target/nriprometheus/{{ .Arch }}/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' | ||
# - src: 'target/fluent-bit-plugin/{{ .Arch }}/out_newrelic.so' | ||
# dst: '/var/db/newrelic-infra/newrelic-integrations/logging/out_newrelic.so' | ||
# - src: 'assets/examples/logging/parsers.conf' | ||
# dst: '/var/db/newrelic-infra/newrelic-integrations/logging/parsers.conf' | ||
empty_folders: | ||
- /var/db/newrelic-infra/custom-integrations | ||
- /var/db/newrelic-infra/integrations.d | ||
- /var/log/newrelic-infra | ||
- /var/run/newrelic-infra | ||
epoch: 0 | ||
release: 1.sles15.5 | ||
|
||
# Scripts to execute during the installation of the package. | ||
scripts: | ||
preinstall: "build/package/before-install.sh" | ||
preremove: "build/package/rpm/prerm-systemd.sh" | ||
|
||
# Packages to replace according to old packaging scripts. | ||
replaces: | ||
- opspro-agent | ||
- opspro-agent-systemd | ||
# Section. | ||
section: default | ||
# Priority. | ||
priority: extra | ||
rpm: | ||
scripts: | ||
posttrans: "build/package/rpm/postinst-systemd.sh" | ||
summary: "New Relic Infrastructure Agent" | ||
group: default | ||
|
||
# end SLES 15.5 arm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# SLES 15.5 arm64 | ||
|
||
- id: sle-15.5-infrastructure-agent-arm64 | ||
builds: | ||
- linux-agent-arm64 | ||
- linux-ctl-arm64 | ||
- linux-service-arm64 | ||
package_name: newrelic-infra | ||
file_name_template: "newrelic-infra-{{ .Env.TAG }}-1.sles15.5.{{ .Arch }}" | ||
vendor: 'New Relic, Inc.' | ||
homepage: 'https://docs.newrelic.com/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes' | ||
maintainer: '[email protected]' | ||
description: 'New Relic Infrastructure provides flexible, dynamic server monitoring. With real-time data collection and a UI that scales from a handful of hosts to thousands, Infrastructure is designed for modern Operations teams with fast-changing systems.' | ||
license: 'Copyright (c) 2008-2021 New Relic, Inc. All rights reserved.' | ||
formats: | ||
- rpm | ||
bindir: /usr/bin | ||
contents: | ||
# - src: 'assets/examples/logging/linux/file.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/file.yml.example' | ||
# - src: 'assets/examples/logging/linux/fluentbit.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/fluentbit.yml.example' | ||
# - src: 'assets/examples/logging/linux/syslog.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/syslog.yml.example' | ||
# - src: 'assets/examples/logging/linux/systemd.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/systemd.yml.example' | ||
# - src: 'assets/examples/logging/linux/tcp.yml.example' | ||
# dst: '/etc/newrelic-infra/logging.d/tcp.yml.example' | ||
|
||
- src: 'build/package/systemd/newrelic-infra.service' | ||
dst: '/etc/systemd/system/newrelic-infra.service' | ||
- src: 'LICENSE' | ||
dst: '/var/db/newrelic-infra/LICENSE.txt' | ||
- src: 'target/nridocker/{{ .Arch }}/etc/newrelic-infra/integrations.d/docker-config.yml' | ||
dst: '/etc/newrelic-infra/integrations.d/docker-config.yml' | ||
type: config | ||
|
||
- src: 'target/nridocker/{{ .Arch }}/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' | ||
- src: 'target/nriflex/{{ .Arch }}/nri-flex' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-flex' | ||
- src: 'target/nriprometheus/{{ .Arch }}/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' | ||
dst: '/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' | ||
# - src: 'target/fluent-bit-plugin/{{ .Arch }}/out_newrelic.so' | ||
# dst: '/var/db/newrelic-infra/newrelic-integrations/logging/out_newrelic.so' | ||
# - src: 'assets/examples/logging/parsers.conf' | ||
# dst: '/var/db/newrelic-infra/newrelic-integrations/logging/parsers.conf' | ||
empty_folders: | ||
- /var/db/newrelic-infra/custom-integrations | ||
- /var/db/newrelic-infra/integrations.d | ||
- /var/log/newrelic-infra | ||
- /var/run/newrelic-infra | ||
epoch: 0 | ||
release: 1.sles15.5 | ||
|
||
# Scripts to execute during the installation of the package. | ||
scripts: | ||
preinstall: "build/package/before-install.sh" | ||
preremove: "build/package/rpm/prerm-systemd.sh" | ||
|
||
# Packages to replace according to old packaging scripts. | ||
replaces: | ||
- opspro-agent | ||
- opspro-agent-systemd | ||
# Section. | ||
section: default | ||
# Priority. | ||
priority: extra | ||
rpm: | ||
scripts: | ||
posttrans: "build/package/rpm/postinst-systemd.sh" | ||
summary: "New Relic Infrastructure Agent" | ||
group: default | ||
# Recommended packages. If they fail to install installation of the agent will not be interrupted. | ||
# recommends: | ||
# FB not supported yet | ||
# - td-agent-bit #To be removed on removal of the ff fluent_bit_19 | ||
# - fluent-bit | ||
|
||
# end SLES 15.5 arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters