Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e160777
Revert "update for 8/14 non-release workflow documents (#1193)"
Miqueasher Sep 17, 2025
ab4e852
Merge branch 'aws-observability:main' into vherremi/revertaction
Miqueasher Sep 18, 2025
60b80c2
Reapply "update for 8/14 non-release workflow documents (#1193)"
Miqueasher Sep 18, 2025
ec07603
Merge branch 'vherremi/revertaction' of https://github.com/Miqueasher…
Miqueasher Sep 18, 2025
63f08b1
updating gradle actions w/args to un-deprecated syntax
Miqueasher Sep 18, 2025
e788fe3
Update 3p actions from VID to CSHA
Miqueasher Sep 19, 2025
c85cfa9
updating e3e-tests-with-operator
Miqueasher Sep 19, 2025
455ae2b
Merge branch 'main' into vherremi/revertaction
Miqueasher Sep 19, 2025
1a5453c
updating patch-dependencies & e2e-tests-with-operator
Miqueasher Sep 19, 2025
9059339
Merge branch 'vherremi/revertaction' of https://github.com/Miqueasher…
Miqueasher Sep 19, 2025
dce9ca5
Merge branch 'main' into vherremi/revertaction
Miqueasher Sep 19, 2025
1ed8671
updating action & pr-build.yml files
Miqueasher Sep 19, 2025
f132602
Merge branch 'vherremi/revertaction' of https://github.com/Miqueasher…
Miqueasher Sep 19, 2025
6f9d6bd
updating action.yml
Miqueasher Sep 19, 2025
0f688e0
updating pr-build
Miqueasher Sep 19, 2025
ffc7b10
Merge branch 'main' into vherremi/revertaction
Miqueasher Sep 19, 2025
890bd3d
Merge branch 'main' into vherremi/revertaction
Miqueasher Sep 22, 2025
db69c45
Merge branch 'main' into vherremi/revertaction
Miqueasher Sep 22, 2025
db8904e
Update 3p actions from VID to CSHA
Miqueasher Sep 22, 2025
a674698
Merge branch 'vherremi/revertaction' of https://github.com/Miqueasher…
Miqueasher Sep 22, 2025
0b3e6b9
updating build-root-directory to working-directory
Miqueasher Sep 22, 2025
107e819
updating setup-gradle action SHA
Miqueasher Sep 22, 2025
5f8627f
updating CSHA
Miqueasher Sep 22, 2025
5cb1513
updating syntax errors
Miqueasher Sep 22, 2025
2078ea7
Merge branch 'main' into vherremi/revertaction
Miqueasher Sep 23, 2025
6d6285c
Merge branch 'main' into vherremi/revertaction
thpierce Sep 23, 2025
df493a1
updating patch-release-build
Miqueasher Sep 23, 2025
80ad349
Merge branch 'vherremi/revertaction' of https://github.com/Miqueasher…
Miqueasher Sep 23, 2025
fd49dd3
updating release-lambda.yml
Miqueasher Sep 23, 2025
da3f142
updating patch-dependencies
Miqueasher Sep 23, 2025
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
12 changes: 6 additions & 6 deletions .github/actions/cpUtility-testing/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,28 @@ runs:
using: "composite"
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 #3.6.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 #v3.11.1
with:
driver-opts: image=moby/buildkit:v0.15.1

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

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

- name: Build image for testing
uses: docker/build-push-action@v5
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0
with:
push: false
build-args: "ADOT_JAVA_VERSION=${{ inputs.adot-java-version }}"
Expand All @@ -60,7 +60,7 @@ runs:
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
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0
with:
push: true
build-args: "ADOT_JAVA_VERSION=${{ inputs.adot-java-version }}"
Expand Down
42 changes: 24 additions & 18 deletions .github/actions/patch-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,38 +60,44 @@ runs:
env.patch_otel_java_contrib == 'true' }}
shell: bash

- name: Build opentelemetry-java with tests
uses: gradle/gradle-build-action@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3
if: ${{ env.patch_otel_java == 'true' && inputs.run_tests != 'false' }}
with:
arguments: build publishToMavenLocal
build-root-directory: opentelemetry-java

- name: Build opentelemetry-java with tests
build-root-directory: opentelemetry-java
run: ./gradlew build publishToMavenLocal

- name: Build opentelemetry-java
uses: gradle/gradle-build-action@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3
if: ${{ env.patch_otel_java == 'true' && inputs.run_tests == 'false' }}
with:
arguments: publishToMavenLocal
build-root-directory: opentelemetry-java

- name: Build opentelemetry-java
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3
if: ${{ env.patch_otel_java == 'true' && inputs.run_tests == 'false' }}working-directory opentelemetry-java

run: ./gradlew publishToMavenLocal

- name: cleanup opentelemetry-java
run: rm -rf opentelemetry-java
if: ${{ env.patch_otel_java == 'true' }}
shell: bash

- name: Build opentelemetry-java-contrib with tests
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests != 'false' }}
with:
arguments: build publishToMavenLocal
build-root-directory: opentelemetry-java-contrib

- name: Build opentelemetry-java-contrib without tests
build-root-directory: opentelemetry-java-contrib
run: ./gradlew build publishToMavenLocal

- name: Build opentelemetry-java-contrib
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests == 'false' }}
with:
arguments: publishToMavenLocal
build-root-directory: opentelemetry-java-contrib

- name: Build opentelemetry-java-contrib
build-root-directory: opentelemetry-java-contrib
run: ./gradlew build publishToMavenLocal

- name: cleanup opentelemetry-java-contrib
run: rm -rf opentelemetry-java-contrib
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/application-signals-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
with:
role-to-assume: arn:aws:iam::${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ACCOUNT_ID }}:role/${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ROLE_NAME }}
aws-region: us-east-1

- uses: actions/download-artifact@v5
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 #5.0.0
with:
name: aws-opentelemetry-agent.jar

Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@16df4fbc19aea13d921737861d6c622bf3cefe23 #v3.30.3
with:
languages: java

Expand All @@ -37,7 +37,7 @@ jobs:
distribution: temurin

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 #v4.2.4
with:
path: |
~/.m2/repository/io/opentelemetry/
Expand All @@ -52,10 +52,11 @@ jobs:

- uses: gradle/actions/wrapper-validation@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3

- name: Setup Gradle
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3

- name: Manually build to avoid autobuild failures
uses: gradle/gradle-build-action@v3
with:
arguments: build
run: ./gradlew build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@16df4fbc19aea13d921737861d6c622bf3cefe23 #v3.30.3
19 changes: 10 additions & 9 deletions .github/workflows/daily-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo for dependency scan
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
with:
fetch-depth: 0

Expand All @@ -37,13 +37,13 @@ jobs:
distribution: 'temurin'

- name: Configure AWS credentials for dependency scan
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
with:
role-to-assume: ${{ secrets.SECRET_MANAGER_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Get NVD API key for dependency scan
uses: aws-actions/aws-secretsmanager-get-secrets@v2
uses: aws-actions/aws-secretsmanager-get-secrets@a9a7eb4e2f2871d30dc5b892576fde60a2ecc802 #v2.0.10
id: nvd_api_key
with:
secret-ids: ${{ secrets.NVD_API_KEY_SECRET_ARN }}
Expand All @@ -52,10 +52,11 @@ jobs:
- name: Publish patched dependencies to maven local
uses: ./.github/actions/patch-dependencies

- name: Setup Gradle
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3

- name: Build JAR
uses: gradle/gradle-build-action@v3
with:
arguments: assemble -PlocalDocker=true
run: ./gradlew assemble -PlocalDocker=true

# See http://jeremylong.github.io/DependencyCheck/dependency-check-cli/ for installation explanation
- name: Install and run dependency scan
Expand All @@ -79,13 +80,13 @@ jobs:
run: less dependency-check-report.html

- name: Configure AWS credentials for image scan
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Login to Public ECR
uses: docker/login-action@v3
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
with:
registry: public.ecr.aws

Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:

- name: Configure AWS Credentials for emitting metrics
if: always()
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
with:
role-to-assume: ${{ secrets.METRICS_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker-build-corretto-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ jobs:
build-corretto:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
- uses: gradle/actions/wrapper-validation@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Log in to AWS ECR
uses: docker/login-action@v3
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
with:
registry: public.ecr.aws

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 #3.6.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 #v3.11.1
- name: Build docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #6.18.0
with:
push: true
context: scripts/docker/corretto-slim
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/docker-build-smoke-tests-fake-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
java-version-file: .java-version
distribution: 'temurin'
# cache local patch outputs
- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 #v4.2.4
with:
path: |
~/.m2/repository/io/opentelemetry/
Expand All @@ -40,16 +40,17 @@ jobs:
gpg_password: ${{ secrets.GPG_PASSPHRASE }}
- uses: gradle/actions/wrapper-validation@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Log in to AWS ECR
uses: docker/login-action@v3
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
with:
registry: public.ecr.aws

- name: Setup Gradle
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #4.4.3

- name: Build and push docker image
uses: gradle/gradle-build-action@v3
with:
arguments: :smoke-tests:fakebackend:jib
run: ./gradlew :smoke-tests:fakebackend:jib
Loading