Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,18 @@ jobs:
role-to-assume: "${{ secrets.ACTIONS_INTEGRATION_ROLE_NAME }}"
role-session-name: java-language-sdk-test
aws-region: ${{ env.AWS_REGION }}
- name: Build locally
run: mvn -B -q -Dmaven.test.skip=true install --file pom.xml
- name: sam build
run: | # add --no-cached if debugging sam build
sam build --parameter-overrides \
'ParameterKey=Architecture,ParameterValue=x86_64 ParameterKey=DockerFile,ParameterValue=examples/Dockerfile-java${{ matrix.java }} ParameterKey=FunctionNameSuffix,ParameterValue=-java${{ matrix.java }}'
'ParameterKey=Architecture,ParameterValue=x86_64 ParameterKey=JavaVersion,ParameterValue=java${{ matrix.java }}'
working-directory: ./examples
- name: sam deploy
run: |
sam deploy --stack-name Java${{ matrix.java }}SDKCloudBasedIntegrationTestStack \
--resolve-image-repos --resolve-s3 --capabilities CAPABILITY_IAM --parameter-overrides \
'ParameterKey=Architecture,ParameterValue=x86_64 ParameterKey=DockerFile,ParameterValue=examples/Dockerfile-java${{ matrix.java }} ParameterKey=FunctionNameSuffix,ParameterValue=-java${{ matrix.java }}'
'ParameterKey=Architecture,ParameterValue=x86_64 ParameterKey=JavaVersion,ParameterValue=java${{ matrix.java }}'
working-directory: ./examples
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v5
Expand Down
29 changes: 0 additions & 29 deletions examples/Dockerfile

This file was deleted.

30 changes: 0 additions & 30 deletions examples/Dockerfile-java17

This file was deleted.

30 changes: 0 additions & 30 deletions examples/Dockerfile-java21

This file was deleted.

30 changes: 0 additions & 30 deletions examples/Dockerfile-java25

This file was deleted.

1 change: 0 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Example applications demonstrating the AWS Lambda Durable Execution SDK for Java
- Java 17+
- Maven 3.8+
- AWS SAM CLI (for deployment)
- Docker (for SAM build)
- AWS credentials configured

## Local Testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static void setup() {

account = System.getProperty("test.aws.account");
region = System.getProperty("test.aws.region");
functionNameSuffix = System.getProperty("test.function.name.suffix", "");
functionNameSuffix = System.getProperty("test.function.name.suffix", "-java17");

if (account == null || region == null) {
try (var sts = StsClient.create()) {
Expand Down
Loading
Loading