File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,33 @@ jobs:
226226 with :
227227 arguments : contractTests -PlocalDocker=true
228228
229+ application-signals-lambda-layer-build :
230+ runs-on : ubuntu-latest
231+ steps :
232+ - uses : actions/checkout@v4
233+ with :
234+ fetch-depth : 0
235+ - uses : actions/setup-java@v4
236+ with :
237+ java-version : 17
238+ distribution : ' temurin'
239+ - name : Build Application Signals Lambda Layer
240+ working-directory : lambda-layer
241+ run : |
242+ ./build-layer.sh
243+ - name : Upload layer zip to S3
244+ working-directory : lambda-layer
245+ run : |
246+ aws s3 cp ./build/distributions/aws-opentelemetry-java-layer.zip s3://adot-main-build-staging-jar/adot-java-lambda-layer-${{ github.run_id }}.zip
247+ - name : Upload layer zip to GitHub Actions
248+ uses : actions/upload-artifact@v3
249+ with :
250+ name : aws-opentelemetry-java-layer.zip
251+ path : lambda-layer/build/distributions/aws-opentelemetry-java-layer.zip
252+
253+
229254 application-signals-e2e-test :
230- needs : [build]
255+ needs : [build, application-signals-lambda-layer-build ]
231256 uses : ./.github/workflows/application-signals-e2e-test.yml
232257 secrets : inherit
233258 with :
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ patch -p1 < "$SOURCEDIR"/../.github/patches/opentelemetry-java-instrumentation.p
2828# This patch is for Lambda related context propagation
2929patch -p1 < " $SOURCEDIR " /patches/opentelemetry-java-instrumentation.patch
3030
31- git add -A
32- git commit -m " Create patch version"
3331./gradlew publishToMavenLocal
3432popd
3533rm -rf opentelemetry-java-instrumentation
You can’t perform that action at this time.
0 commit comments