-
Notifications
You must be signed in to change notification settings - Fork 66
fix e2e test to work in release branches #1253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1253 +/- ##
=============================================
- Coverage 85.71% 67.28% -18.43%
- Complexity 19 525 +506
=============================================
Files 3 54 +51
Lines 49 2693 +2644
Branches 5 373 +368
=============================================
+ Hits 42 1812 +1770
- Misses 3 746 +743
- Partials 4 135 +131 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This reverts commit 49f2ce1.
|
Changes look good to me. The PR description seems outdated.
|
*Issue #, if available:* *Description of changes:* The workflow `application-signals-e2e-test.yml` assumes the version contains -SNAPSHOT. In release branches, we update `version.gradle.kts` to drop the -SNAPSHOT suffix to prepare for the release, so `upload-main-build` fails. See https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18921541300/job/54022142576 This PR modifies the job to match any artifact with the name `aws-opentelemetry-agent-*.jar`, with or without the SNAPSHOT suffix. tested by manually triggering main build in this branch: 1. adotVersion = 2.20.0-SNAPSHOT: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18925772853/job/54034432606 `upload: ./aws-opentelemetry-agent-2.20.0-SNAPSHOT.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar` 2. adotVersion = 2.20.0: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18927001060 `upload: ./aws-opentelemetry-agent-2.20.0.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar` Both runs are successful. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
*Issue #, if available:* *Description of changes:* The workflow `application-signals-e2e-test.yml` assumes the version contains -SNAPSHOT. In release branches, we update `version.gradle.kts` to drop the -SNAPSHOT suffix to prepare for the release, so `upload-main-build` fails. See https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18921541300/job/54022142576 This PR modifies the job to match any artifact with the name `aws-opentelemetry-agent-*.jar`, with or without the SNAPSHOT suffix. tested by manually triggering main build in this branch: 1. adotVersion = 2.20.0-SNAPSHOT: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18925772853/job/54034432606 `upload: ./aws-opentelemetry-agent-2.20.0-SNAPSHOT.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar` 2. adotVersion = 2.20.0: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18927001060 `upload: ./aws-opentelemetry-agent-2.20.0.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar` Both runs are successful. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. *Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes:
The workflow
application-signals-e2e-test.ymlassumes the version contains -SNAPSHOT. In release branches, we updateversion.gradle.ktsto drop the -SNAPSHOT suffix to prepare for the release, soupload-main-buildfails. See https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18921541300/job/54022142576This PR modifies the job to match any artifact with the name
aws-opentelemetry-agent-*.jar, with or without the SNAPSHOT suffix.tested by manually triggering main build in this branch:
upload: ./aws-opentelemetry-agent-2.20.0-SNAPSHOT.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jarupload: ./aws-opentelemetry-agent-2.20.0.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jarBoth runs are successful.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.