From 813a420a579607f40fd5953e5304a7c5fe4959b2 Mon Sep 17 00:00:00 2001 From: Jerry Leung Date: Tue, 5 Mar 2024 16:02:31 -0800 Subject: [PATCH] Need to rename the artifact from amd64 to x86_64 to meet GHA workflow requirement --- collector/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collector/Makefile b/collector/Makefile index 7b6e9d3d6e..9bdd32c2a0 100644 --- a/collector/Makefile +++ b/collector/Makefile @@ -51,16 +51,16 @@ package: build @echo Package zip file for collector extension layer mkdir -p $(BUILD_SPACE)/collector-config cp config* $(BUILD_SPACE)/collector-config - cd $(BUILD_SPACE) && zip -r opentelemetry-collector-layer-$(GOARCH).zip collector-config extensions + cd $(BUILD_SPACE) && zip -r opentelemetry-collector-layer-$(ARCH).zip collector-config extensions .PHONY: publish publish: - 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 --compatible-architectures $(ARCH) --query 'LayerVersionArn' --output text + aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(ARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 python3.11 --compatible-architectures $(ARCH) --query 'LayerVersionArn' --output text .PHONY: publish-layer publish-layer: package @echo Publishing collector extension layer... - 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 --compatible-architectures $(ARCH) --query 'LayerVersionArn' --output text + aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(ARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 python3.11 --compatible-architectures $(ARCH) --query 'LayerVersionArn' --output text @echo OpenTelemetry Collector layer published. .PHONY: gotidy