Skip to content

Commit 75576fb

Browse files
Copilotjmsundar
andauthored
chore: remove dead upstream artifacts, sample apps, and unused Makefile targets
Agent-Logs-Url: https://github.com/helloextend/opentelemetry-lambda/sessions/3f908fea-4b88-42b3-aeae-99f2b7f54ef4 Co-authored-by: jmsundar <29724673+jmsundar@users.noreply.github.com>
1 parent 10d8b34 commit 75576fb

35 files changed

+1
-945
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ updates:
3535
directories:
3636
- "/nodejs"
3737
- "/nodejs/packages/layer"
38-
- "/nodejs/sample-apps/aws-sdk"
3938
registries:
4039
- codeartifact
4140
schedule:
@@ -58,7 +57,6 @@ updates:
5857
# - package-ecosystem: "pip"
5958
# directories:
6059
# - "/python/src/otel"
61-
# - "/python/sample-apps/function"
6260
# - "/python/src/otel/otel_sdk"
6361
# - "/python/src/otel/tests"
6462
# schedule:

.github/release.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

collector/Makefile

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ include ./Makefile.Common
22

33
BASE_SPACE:=$(shell pwd)
44
BUILD_SPACE:=$(BASE_SPACE)/build
5-
BUCKET_NAME:=lambda-artifacts-$(shell dd if=/dev/random bs=8 count=1 2>/dev/null | od -An -tx1 | tr -d ' \t\n')
6-
LAYER_NAME:=otel-collector
75
OTELCOL_VERSION="UNSET" # run recipe set-otelcol-version to get this
86
GIT_SHA=$(shell git rev-parse HEAD)
97
GOARCH ?= amd64
@@ -38,13 +36,6 @@ build: clean set-otelcol-version
3836
mkdir -p $(BUILD_SPACE)/extensions
3937
GOOS=linux GOARCH=$(GOARCH) $(GOBUILD) $(LDFLAGS) -o $(BUILD_SPACE)/extensions .
4038

41-
.PHONY: package
42-
package: build
43-
@echo Package zip file for collector extension layer
44-
mkdir -p $(BUILD_SPACE)/collector-config
45-
cp config* $(BUILD_SPACE)/collector-config
46-
cd $(BUILD_SPACE) && zip -r opentelemetry-collector-layer-$(GOARCH).zip collector-config extensions
47-
4839
.PHONY: package-extend
4940
package-extend: build
5041
@echo Packaging Extend collector layer
@@ -54,16 +45,6 @@ package-extend: build
5445
cp ../extend/collector-config-cx-arize-s3.yaml $(BUILD_SPACE)/collector-config/
5546
cd $(BUILD_SPACE) && zip -r opentelemetry-collector-layer-$(GOARCH).zip collector-config extensions
5647

57-
.PHONY: publish
58-
publish:
59-
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 python3.11 --query 'LayerVersionArn' --output text
60-
61-
.PHONY: publish-layer
62-
publish-layer: package
63-
@echo Publishing collector extension layer...
64-
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 python3.11 --query 'LayerVersionArn' --output text
65-
@echo OpenTelemetry Collector layer published.
66-
6748
.PHONY: set-otelcol-version
6849
set-otelcol-version:
6950
@OTELCOL_VERSION=$$(grep "go.opentelemetry.io/collector/otelcol v" go.mod | awk '{print $$2; exit}'); \
@@ -95,17 +76,7 @@ gofmt:
9576

9677
.PHONY: install-tools
9778
install-tools:
98-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/client9/misspell/cmd/misspell
9979
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/golangci/golangci-lint/cmd/golangci-lint
100-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/google/addlicense
101-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/ory/go-acc
10280
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/pavius/impi/cmd/impi
103-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/tcnksm/ghr
104-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/wadey/gocovmerge
105-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install go.opentelemetry.io/build-tools/chloggen
106-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install go.opentelemetry.io/build-tools/semconvgen
107-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install golang.org/x/exp/cmd/apidiff
10881
cd $(TOOLS_MOD_DIR) && $(GOCMD) install golang.org/x/tools/cmd/goimports
10982
cd $(TOOLS_MOD_DIR) && $(GOCMD) install github.com/jcchavezs/porto/cmd/porto
110-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install go.opentelemetry.io/build-tools/multimod
111-
cd $(TOOLS_MOD_DIR) && $(GOCMD) install go.opentelemetry.io/build-tools/crosslink

collector/Makefile.Common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fmt:
2929
.PHONY: tidy
3030
tidy:
3131
rm -fr go.sum
32-
$(GOCMD) mod tidy -compat=1.21
32+
$(GOCMD) mod tidy -compat=1.25
3333

3434
.PHONY: lint
3535
lint:

collector/config.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/design_proposal.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

nodejs/.commitlintrc.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

nodejs/.editorconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

nodejs/.gitattributes

Lines changed: 0 additions & 39 deletions
This file was deleted.

nodejs/.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)