Skip to content
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

Release/v1.32.x #851

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0752034
Update Dependency to 1.32.1 and remove patch (#749)
vasireddy99 Feb 15, 2024
8c25eaa
[release/v1.32.x] Add commits from main branch (#761)
vasireddy99 Feb 27, 2024
0a51f93
Prepare for release 1.32.1 - Update licenses (#766)
vasireddy99 Feb 27, 2024
357d130
Update release testing for e2e tests (#770)
harrryr Apr 4, 2024
4b1ff21
[E2E] Update patch command to let ADOT image update (#787)
majanjua-amzn Apr 10, 2024
1c63e58
Switch to using token user name and password (#792)
bryan-aguilar Apr 19, 2024
e68588c
Add different endpoints for GRPC and HTTP protocal
harrryr May 8, 2024
a348244
Metric Schema and config name changes
thpierce Apr 9, 2024
37957a5
Update awsagentprovider code to only reference Application Signals
thpierce Apr 10, 2024
623bde1
Spotless
thpierce May 9, 2024
370af10
Update Release Testing with Latest Update
harrryr May 9, 2024
14e7161
Update settings.gradle.kts to remove outdate code (#802)
harrryr May 10, 2024
6f47d4b
Add support on Database RemoteResourceType and RemoteResourceIdentifier
mxiamxia May 16, 2024
91cbba8
Merge pull request #807 from aws-observability/release/v1.32.2
thpierce May 16, 2024
0d7f17e
Update Release Testing with latest changes
harrryr May 17, 2024
c417486
Merge pull request #809 from aws-observability/patch-test
thpierce May 17, 2024
f8a362e
Add app signals contract test for postgres
upsidedownsmile May 16, 2024
8469ae5
Apply spotlessApply
upsidedownsmile May 22, 2024
99a0bb4
Adding Application Signals Contract Test for MySQL
jerry-shao May 23, 2024
6f16996
Changing StatusCode back to String based assertion in Contract tests
jerry-shao May 23, 2024
5b63129
Contract test the new DB resource type and identifier attributes
mxiamxia May 24, 2024
fa76acc
Upgrade jib
thpierce Jun 18, 2024
d7baab2
Creating contract-tests for successful 'CREATE DATABASE' for MySQL an…
BlueLort Jun 12, 2024
5e80f90
Addressing PR comments to simplify code use methods instead of abstra…
BlueLort Jun 19, 2024
caccd44
Update CONTRIBUTING.md for PR best practices
thpierce Jun 21, 2024
e6e8924
Adding data base user attribute for EMF logs
ektabj Jun 18, 2024
3472c29
Adding data base user attribute for EMF logs
ektabj Jun 18, 2024
ca01d87
Removed unused import
ektabj Jun 19, 2024
04f8963
Add bedrock and bedrockRuntime support.
zzhlogin Jun 28, 2024
d01725e
Updating the test cases and adding unit test for isDbSpan
ektabj Jul 3, 2024
843c331
Updating the test cases
ektabj Jul 3, 2024
9dfdfc0
Adding unit tests for db user
ektabj Jul 3, 2024
d48b6ed
Adding unit tests for db user
ektabj Jul 3, 2024
0fd6921
Updating unit test names
ektabj Jul 3, 2024
dc53e88
Updating the test cases
ektabj Jul 3, 2024
cbf2371
Resolving the indentation issue
ektabj Jul 3, 2024
1512995
Align with Python
zzhlogin Jul 8, 2024
2cee702
Apply spotless.
zzhlogin Jul 8, 2024
64ed536
Fix naming.
zzhlogin Jul 9, 2024
c77f967
Refine keys name.
zzhlogin Jul 9, 2024
6f10059
update comment.
zzhlogin Jul 9, 2024
ffd913b
Trigger workflow: no-op commit
zzhlogin Jul 9, 2024
55f4c87
Update settings.gradle.kts
thpierce Jul 9, 2024
b50f99e
Upgrade gradlew to 8.8
thpierce Jul 9, 2024
4be1edb
Consolidate release testing with framework repo
harrryr Jul 5, 2024
8664b26
Merge pull request #837 from aws-observability/1323-branch
thpierce Jul 10, 2024
6f34ea3
Add opentelemetry-java-instrumentation.patch.
zzhlogin Jul 9, 2024
87c6cf3
Merge pull request #839 from zzhlogin/release/v1.32.x
thpierce Jul 11, 2024
6ead002
Add license report.
zzhlogin Jul 11, 2024
753acdf
Merge pull request #841 from zzhlogin/release/v1.32.x
thpierce Jul 11, 2024
648cf5d
temp: Comment out ECR-related release steps
majanjua-amzn Jul 18, 2024
de611c9
Add build release step back
majanjua-amzn Jul 18, 2024
f982522
Merge pull request #847 from aws-observability/1.32.x-temp-fix
majanjua-amzn Jul 18, 2024
a50e1df
Revert "Add build release step back"
majanjua-amzn Jul 22, 2024
55f15d7
Revert "temp: Comment out ECR-related release steps"
majanjua-amzn Jul 22, 2024
fa7fc21
Merge pull request #849 from aws-observability/uncomment-release-steps
majanjua-amzn Jul 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/actions/cpUtility-testing/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Build and Push Java-Agent Image after CPUtility Test
description: |
cpUtility Testing
This action assumes that Repo was checked out and Java was set correctly

inputs:
aws-region:
required: true
description: "AWS Region"
image_uri_with_tag:
required: true
description: "Image URI with Tag"
image_registry:
required: true
description: "Image Registry"
adot-java-version:
required: true
description: "ADOT Java Version"
snapshot-ecr-role:
require: true
description: "IAM Role used for pushing to snapshot ecr"


runs:
using: "composite"
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ inputs.snapshot-ecr-role }}
aws-region: ${{ inputs.aws-region }}

- name: Login to private staging ecr
uses: docker/login-action@v3
with:
registry: ${{ inputs.image_registry }}
env:
AWS_REGION: ${{ inputs.aws-region }}

- name: Build image for testing
uses: docker/build-push-action@v5
with:
push: false
build-args: "ADOT_JAVA_VERSION=${{ inputs.adot-java-version }}"
context: .
platforms: linux/amd64
tags: ${{ inputs.image_uri_with_tag }}
load: true

- name: Test docker image
shell: bash
run: .github/scripts/test-adot-javaagent-image.sh "${{ inputs.image_uri_with_tag }}" "${{ inputs.adot-java-version }}"

- name: Build and push image
uses: docker/build-push-action@v5
with:
push: true
build-args: "ADOT_JAVA_VERSION=${{ inputs.adot-java-version }}"
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ inputs.image_uri_with_tag }}
55 changes: 28 additions & 27 deletions .github/actions/patch-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,52 @@ inputs:
default: "false"
required: false
description: "If the workflow should run tests of the dependencies. Anything different than false will evaluate to true"
branch:
required: true
description: "The branch where this patches are being applied e.g.: release/v1.21.x"
gpg_private_key:
description: "The gpg key used to sign the artifacts"
required: true
required: false
gpg_password:
description: "The gpg key password"
required: true
required: false
runs:
using: "composite"
steps:
- name: set environment variables
env:
INPUT_KEY: ${{ inputs.gpg_private_key }}
INPUT_PASSWORD: ${{ inputs.gpg_password }}
shell: bash
run: |
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
if [[ ! -z "$INPUT_KEY" ]]; then
{
echo "GPG_PRIVATE_KEY<<$EOF"
echo "$INPUT_KEY"
echo "$EOF"
} >> "$GITHUB_ENV"
fi
if [[ ! -z "$INPUT_PASSWORD" ]]; then
{
echo "GPG_PASSWORD<<$EOF"
echo "$INPUT_PASSWORD"
echo "$EOF"
} >> "$GITHUB_ENV"
fi

- name: check patches
run: |
if [[ -f .github/patches/${{ inputs.branch }}/opentelemetry-java.patch ]]; then
if [[ -f .github/patches/opentelemetry-java.patch ]]; then
echo 'patch_otel_java=true' >> $GITHUB_ENV
fi
if [[ -f .github/patches/${{ inputs.branch }}/opentelemetry-java-instrumentation.patch ]]; then
if [[ -f .github/patches/opentelemetry-java-instrumentation.patch ]]; then
echo 'patch_otel_java_instrumentation=true' >> $GITHUB_ENV
fi
if [[ -f .github/patches/${{ inputs.branch }}/opentelemetry-java-contrib.patch ]]; then
if [[ -f .github/patches/opentelemetry-java-contrib.patch ]]; then
echo 'patch_otel_java_contrib=true' >> $GITHUB_ENV
fi
shell: bash

- name: Clone and patch repositories
run: .github/scripts/patch.sh "${{ inputs.branch }}"
run: .github/scripts/patch.sh
if: ${{ env.patch_otel_java == 'true' ||
env.patch_otel_java_instrumentation == 'true' ||
env.patch_otel_java_contrib == 'true' }}
Expand All @@ -51,19 +70,13 @@ runs:
with:
arguments: build publishToMavenLocal
build-root-directory: opentelemetry-java
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg_private_key }}
GPG_PASSWORD: ${{ inputs.gpg_password }}

- name: Build opentelemetry-java
uses: gradle/gradle-build-action@v2
if: ${{ env.patch_otel_java == 'true' && inputs.run_tests == 'false' }}
with:
arguments: publishToMavenLocal
build-root-directory: opentelemetry-java
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg_private_key }}
GPG_PASSWORD: ${{ inputs.gpg_password }}

- name: cleanup opentelemetry-java
run: rm -rf opentelemetry-java
Expand All @@ -76,19 +89,13 @@ runs:
with:
arguments: build publishToMavenLocal
build-root-directory: opentelemetry-java-contrib
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg_private_key }}
GPG_PASSWORD: ${{ inputs.gpg_password }}

- name: Build opentelemetry-java-contrib
uses: gradle/gradle-build-action@v2
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests == 'false' }}
with:
arguments: publishToMavenLocal
build-root-directory: opentelemetry-java-contrib
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg_private_key }}
GPG_PASSWORD: ${{ inputs.gpg_password }}

- name: cleanup opentelemetry-java-contrib
run: rm -rf opentelemetry-java-contrib
Expand All @@ -101,19 +108,13 @@ runs:
with:
arguments: check -x spotlessCheck publishToMavenLocal
build-root-directory: opentelemetry-java-instrumentation
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg_private_key }}
GPG_PASSWORD: ${{ inputs.gpg_password }}

- name: Build opentelemetry java instrumentation
uses: gradle/gradle-build-action@v2
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests == 'false' }}
with:
arguments: publishToMavenLocal
build-root-directory: opentelemetry-java-instrumentation
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg_private_key }}
GPG_PASSWORD: ${{ inputs.gpg_password }}

- name: cleanup opentelmetry-java-instrumentation
run: rm -rf opentelemetry-java-instrumentation
Expand Down
Loading
Loading