Skip to content

Commit

Permalink
Bump gradle/gradle-build-action from 2 to 3 (#732)
Browse files Browse the repository at this point in the history
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](gradle/gradle-build-action@v2...v3)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 22, 2024
1 parent 86c1bda commit 7fdbf21
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: gradle/wrapper-validation-action@v1

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
registry: public.ecr.aws

- name: Build and push docker image
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: :smoke-tests:fakebackend:jib
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-app-with-java-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
registry: public.ecr.aws

- name: Build and push agent and testing docker images with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: jib
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-with-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
registry: public.ecr.aws

- name: Build and push Sample-Apps without Auto-Instrumentation Agent
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: jibBuildWithoutAgent
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
registry: public.ecr.aws

- name: Build snapshot with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build integrationTests snapshot --stacktrace -PenableCoverage=true -PlocalDocker=true
env:
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine

- name: Build snapshot with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: contractTests -PlocalDocker=true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-upstream-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
registry: public.ecr.aws

- name: Build snapshot with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build --stacktrace -PenableCoverage=true -PtestUpstreamSnapshots=true
env:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine

- name: Build snapshot with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: contractTests -PtestUpstreamSnapshots=true -PlocalDocker=true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Build snapshot with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: ":otelagent:dependencyCheckAnalyze"
- name: Upload report
Expand All @@ -43,7 +43,7 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Build snapshot with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: ":javaagent:dependencyCheckAnalyze"
- name: Upload report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/patch-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
done
- name: Build release with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build integrationTests -PlocalDocker=true -Prelease.version=${{ github.event.inputs.version }} --stacktrace

Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v${{ github.event.inputs.version }}
- name: Build and Publish release with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
if: ${{ matrix.os != 'windows-latest' }} # Skip patch on windows as it is not possible to build opentelemetry-java on windows

- name: Dry Run Validator
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
arguments: testing:validator:build

- name: Build with Gradle with Integration tests
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
arguments: build integrationTests --stacktrace -PenableCoverage=true -PlocalDocker=true
Expand All @@ -92,7 +92,7 @@ jobs:
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine

- name: Run contract tests
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
arguments: contractTests -PlocalDocker=true -i
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
run: .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ env.ADOT_JAVA_VERSION }}"

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
if: ${{ matrix.os != 'ubuntu-latest' && (hashFiles('.github/patches/opentelemetry-java*.patch') == '' || matrix.os != 'windows-latest' ) }} # build on windows as well unless a patch exists
with:
arguments: build --stacktrace -PenableCoverage=true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
registry: public.ecr.aws

- name: Build release with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build integrationTests -PlocalDocker=true -Prelease.version=${{ github.event.inputs.version }} --stacktrace

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
${{ env.PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
- name: Build and Publish release with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
env:
Expand Down

0 comments on commit 7fdbf21

Please sign in to comment.