Skip to content

Commit

Permalink
chore: remove legacy distro nr-otel-collector
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-newrelic committed Feb 14, 2025
1 parent e75cc26 commit b742190
Show file tree
Hide file tree
Showing 29 changed files with 23 additions and 1,138 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
strategy:
matrix:
distribution:
- nr-otel-collector
- nrdot-collector-host
- nrdot-collector-k8s
uses: ./.github/workflows/ci-base.yaml
with:
nightly: true
Expand All @@ -46,7 +46,6 @@ jobs:
strategy:
matrix:
distribution:
- nr-otel-collector
- nrdot-collector-host
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
strategy:
matrix:
distribution:
- nr-otel-collector
- nrdot-collector-host
- nrdot-collector-k8s
uses: ./.github/workflows/ci-base.yaml
with:
distribution: ${{ matrix.distribution }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
matrix:
image:
- newrelic/nr-otel-collector

- newrelic/nrdot-collector-host
- newrelic/nrdot-collector-k8s
steps:
- name: Run Trivy image vulnerability scanner
uses: aquasecurity/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TOOLS_BIN_NAMES := $(addprefix $(TOOLS_BIN_DIR)/, $(notdir $(shell echo $(TOOLS_
GO_LICENCE_DETECTOR := $(TOOLS_BIN_DIR)/go-licence-detector
GO_LICENCE_DETECTOR_CONFIG := $(SRC_ROOT)/internal/assets/license/rules.json

DISTRIBUTIONS ?= "nr-otel-collector,nrdot-collector-host"
DISTRIBUTIONS ?= "nrdot-collector-host,nrdot-collector-k8s"

ci: check build licenses-check
check: ensure-goreleaser-up-to-date
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Generated assets are available in the corresponding Github release page and as d

Current list of distributions:

- [nr-otel-collector](./distributions/nr-otel-collector/): (Deprecated) legacy general-purpose distribution
- [nrdot-collector-host](./distributions/nrdot-collector-host/): distribution focused on monitoring host metrics and logs
- [nrdot-collector-k8s](./distributions/nrdot-collector-k8s/): distribution focused on monitoring a Kubernetes cluster

## Support

Expand Down
7 changes: 3 additions & 4 deletions cmd/goreleaser/internal/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ import (
const (
ArmArch = "arm"

LegacyDistro = "nr-otel-collector"
HostDistro = "nrdot-collector-host"
K8sDistro = "nrdot-collector-k8s"
HostDistro = "nrdot-collector-host"
K8sDistro = "nrdot-collector-k8s"

DockerHub = "newrelic"
EnvRegistry = "{{ .Env.REGISTRY }}"
Expand All @@ -44,7 +43,7 @@ var (
NightlyImagePrefixes = []string{EnvRegistry}

Architectures = []string{"amd64", "arm64"}
DefaultConfigDists = map[string]bool{LegacyDistro: true, HostDistro: true}
DefaultConfigDists = map[string]bool{HostDistro: true}
K8sDockerSkipArchs = map[string]bool{"arm": true, "386": true}
K8sGoos = []string{"linux"}
K8sArchs = []string{"amd64", "arm64"}
Expand Down
24 changes: 0 additions & 24 deletions configs/README.md

This file was deleted.

46 changes: 0 additions & 46 deletions configs/nr-otel-collector-gateway.yaml

This file was deleted.

134 changes: 0 additions & 134 deletions distributions/nr-otel-collector/.goreleaser-nightly.yaml

This file was deleted.

Loading

0 comments on commit b742190

Please sign in to comment.