Skip to content

Commit 12a9cc5

Browse files
committed
Apache5 Integ Testing job
Changes: - Add an additional job in Integ testing CI workflow to run the integration tests with Apache 5 - Update the patch so it applies cleanly after some removals - Add a -v to the apply command to make apply issues easy to see in failed CodeBuild builds - Update the policy statement used by one of the DDB integ tests because Apache 5.6 included new usage of setOption.
1 parent 9ad9260 commit 12a9cc5

File tree

4 files changed

+58
-106
lines changed

4 files changed

+58
-106
lines changed

.github/workflows/codebuild-ci-integration-tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,20 @@ jobs:
2626
with:
2727
project-name: aws-sdk-java-v2-IntegrationTest-JDK8
2828
hide-cloudwatch-logs: true
29+
integration-tests-apache5:
30+
if: github.repository == 'aws/aws-sdk-java-v2'
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Configure AWS Credentials
34+
uses: aws-actions/configure-aws-credentials@v4
35+
with:
36+
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
37+
aws-region: us-west-2
38+
role-duration-seconds: 7200
39+
- name: Run Integration Test build with Apache5
40+
uses: aws-actions/aws-codebuild-run-build@v1
41+
timeout-minutes: 180
42+
with:
43+
project-name: aws-sdk-java-v2-IntegrationTest-JDK8-Apache5
44+
hide-cloudwatch-logs: true
2945

buildspecs/apache5-integ-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ cache:
44
- '/root/.m2/**/*'
55

66
phases:
7+
install:
8+
runtime-versions:
9+
java: "$JAVA_RUNTIME"
10+
711
build:
812
commands:
913
- |

0 commit comments

Comments
 (0)