@@ -88,27 +88,36 @@ jobs:
8888 with :
8989 arguments : build integrationTests --stacktrace -PenableCoverage=true -PlocalDocker=true
9090
91- - name : Set up Java version for tests
92- uses : actions/setup-java@v4
91+ - e2e-test :
92+ needs : [ build, default-region-output ]
93+ uses : ./.github/workflows/e2e-tests-app-with-java-agent.yml
94+ secrets : inherit
9395 with :
94- java-version : 23
95- distribution : temurin
96-
97- - name : Pull base image of Contract Tests Sample Apps
98- if : ${{ matrix.os == 'ubuntu-latest' }}
99- run : docker pull public.ecr.aws/docker/library/amazoncorretto:23-alpine
100-
101- - name : Run contract tests
102- uses : gradle/gradle-build-action@v3
103- if : ${{ matrix.os == 'ubuntu-latest' }}
104- with :
105- arguments : contractTests -PlocalDocker=true -i
106-
107- - name : Set up Java version for image build
108- uses : actions/setup-java@v4
109- with :
110- java-version : 17
111- distribution : temurin
96+ aws-region : ${{ needs.default-region-output.outputs.aws_default_region }}
97+ image_tag : ${{ github.sha }}
98+ caller-workflow-name : ' main-build'
99+
100+ # - name: Set up Java version for tests
101+ # uses: actions/setup-java@v4
102+ # with:
103+ # java-version: 23
104+ # distribution: temurin
105+ #
106+ # - name: Pull base image of Contract Tests Sample Apps
107+ # if: ${{ matrix.os == 'ubuntu-latest' }}
108+ # run: docker pull public.ecr.aws/docker/library/amazoncorretto:23-alpine
109+ #
110+ # - name: Run contract tests
111+ # uses: gradle/gradle-build-action@v3
112+ # if: ${{ matrix.os == 'ubuntu-latest' }}
113+ # with:
114+ # arguments: contractTests -PlocalDocker=true -i
115+ #
116+ # - name: Set up Java version for image build
117+ # uses: actions/setup-java@v4
118+ # with:
119+ # java-version: 17
120+ # distribution: temurin
112121
113122 - name : Get current version
114123 if : ${{ matrix.os == 'ubuntu-latest' }}
0 commit comments