File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,15 @@ package: build
4545 cp config* $(BUILD_SPACE ) /collector-config
4646 cd $(BUILD_SPACE ) && zip -r opentelemetry-collector-layer-$(GOARCH ) .zip collector-config extensions
4747
48+ .PHONY : package-extend
49+ package-extend : build
50+ @echo Packaging Extend collector layer
51+ mkdir -p $(BUILD_SPACE ) /collector-config
52+ cp ../extend/collector-config-cx-only.yaml $(BUILD_SPACE ) /collector-config/config.yaml
53+ cp ../extend/collector-config-cx-arize.yaml $(BUILD_SPACE ) /collector-config/
54+ cp ../extend/collector-config-cx-arize-s3.yaml $(BUILD_SPACE ) /collector-config/
55+ cd $(BUILD_SPACE ) && zip -r opentelemetry-collector-layer-$(GOARCH ) .zip collector-config extensions
56+
4857.PHONY : publish
4958publish :
5059 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
You can’t perform that action at this time.
0 commit comments