Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
create empty package (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchezgavier committed Oct 23, 2020
1 parent 7f564f0 commit f8d2906
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Makefile-build.mk
@@ -1,7 +1,7 @@
VALIDATE_DEPS = golang.org/x/lint/golint
TEST_DEPS = github.com/axw/gocov/gocov github.com/AlekSi/gocov-xml

build: clean validate test compile
build: clean test

$(INTS):
@if [ -f $(INTEGRATIONS_DIR)/$@/Makefile ]; then \
Expand Down
15 changes: 4 additions & 11 deletions Makefile-package.mk
Expand Up @@ -16,22 +16,15 @@ PACKAGE_URL = "https://www.newrelic.com/infrastructure"
SUMMARY = "New Relic Infrastructure Integrations"

define DESCRIPTION
New Relic Infrastructure Integrations extend the core New Relic\n\
Infrastructure agent\'s capabilities to allow you to collect metric and\n\
live state data from your infrastructure components such as MySQL,\n\
NGINX and Cassandra.\n\
\n\
This is a meta-package that specifies dependencies to the\n\
aforementioned integrations, and installs all of them. You may prefer\n\
to install them individually, selecting only those that you need.
This package is obsolete and is not installing any integration\n\

endef

FPM_COMMON_OPTIONS = --verbose -C tmp -s dir -n $(PROJECT_NAME) -v $(VERSION) --iteration $(RELEASE)\
--prefix "" --license $(LICENSE) --vendor $(VENDOR) -m $(PACKAGER) --url $(PACKAGE_URL)\
--description "$$(printf $(DESCRIPTION))"\
--depends $(DEP_APACHE) --depends "$(DEP_CASSANDRA) >= 2.0.0" --depends $(DEP_MYSQL) --depends $(DEP_NGINX) --depends $(DEP_REDIS)
--description "$$(printf $(DESCRIPTION))"

FPM_DEB_OPTIONS = -t deb -p $(PACKAGES_DIR)/deb/ --replaces "newrelic-infra-integrations-beta (<= 1.0.0)" --replaces "$(DEP_APACHE)" --replaces "$(DEP_CASSANDRA)" --replaces "$(DEP_MYSQL)" --replaces "$(DEP_NGINX)" --replaces "$(DEP_REDIS)"
FPM_DEB_OPTIONS = -t deb -p $(PACKAGES_DIR)/deb/ --replaces "newrelic-infra-integrations-beta (<= 1.0.0)"
FPM_RPM_OPTIONS = -t rpm -p $(PACKAGES_DIR)/rpm/ --epoch 0 --rpm-summary $(SUMMARY) --replaces "newrelic-infra-integrations-beta <= 1.0.0"

package: $(PACKAGE_TYPES)
Expand Down
15 changes: 2 additions & 13 deletions README.md
Expand Up @@ -11,19 +11,8 @@ and the people working on them, which made us switch to an approach based on
individual repositories and packages per integration, this allows us more
control, faster delivery, it's easier to maintain and causes less errors.

Since version `1.7.0` this package started using the individual integration
package under the hood. We reached a point where we think this mono-repository
has outlived its usefulness. We want to encourage users to move on to the
individual packages, that's why we decided to stop updating it, and no new
versions of it will be released in the future.

This package will be frozen on the following integrations versions:

- Cassandra - nri-cassandra version 2.0.3
- MySQL - nri-mysql version 1.1.5
- Redis - nri-redis version 1.0.1
- Nginx - nri-nginx version 1.0.2
- Apache - nri-apache version 1.1.2
Since version `2.0.0` this package will be empty and no integrations will be
installed.

If you're still using this package, we advise you to follow the [NewRelic docs
on how to uninstall integrations][1]; basically:
Expand Down
1 change: 0 additions & 1 deletion integrations/nri-apache
Submodule nri-apache deleted from 1a943c
1 change: 0 additions & 1 deletion integrations/nri-cassandra
Submodule nri-cassandra deleted from e41df5
1 change: 0 additions & 1 deletion integrations/nri-mysql
Submodule nri-mysql deleted from 15439a
1 change: 0 additions & 1 deletion integrations/nri-nginx
Submodule nri-nginx deleted from 0b0585
1 change: 0 additions & 1 deletion integrations/nri-redis
Submodule nri-redis deleted from c3ba02

0 comments on commit f8d2906

Please sign in to comment.