Skip to content

Commit 823371e

Browse files
authored
fix: runtime dependencies (#592)
1 parent 8318aba commit 823371e

33 files changed

+11360
-14685
lines changed

.github/workflows/integration_tests.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Integration Tests Default
1+
name: Integration Tests
22

33
on:
44
workflow_dispatch:
@@ -20,12 +20,13 @@ permissions:
2020

2121
jobs:
2222
run-integration-tests:
23-
name: Run Integration Tests with Default
23+
name: Run Integration Tests
2424
runs-on: ubuntu-latest
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
dbEngine: ["mysql", "postgres"]
28+
versions: [ "default", "latest" ]
29+
dbEngine: ["aurora-mysql", "aurora-postgres", "multi-az-mysql", "multi-az-postgres" ]
2930

3031
steps:
3132
- name: Clone repository
@@ -54,14 +55,14 @@ jobs:
5455

5556
- name: Run Integration Tests
5657
run: |
57-
./gradlew --no-parallel --no-daemon test-aurora-${{ matrix.dbEngine }} --info
58+
./gradlew --no-parallel --no-daemon test-${{ matrix.dbEngine }} --info
5859
env:
5960
RDS_DB_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
6061
AWS_ACCESS_KEY_ID: ${{ steps.creds.outputs.aws-access-key-id }}
6162
AWS_SECRET_ACCESS_KEY: ${{ steps.creds.outputs.aws-secret-access-key }}
6263
AWS_SESSION_TOKEN: ${{ steps.creds.outputs.aws-session-token }}
63-
AURORA_MYSQL_DB_ENGINE_VERSION: "default"
64-
AURORA_PG_DB_ENGINE_VERSION: "default"
64+
AURORA_MYSQL_DB_ENGINE_VERSION: ${{ matrix.dbEngine }}
65+
AURORA_PG_DB_ENGINE_VERSION: ${{ matrix.versions }}
6566

6667
- name: "Get Github Action IP"
6768
if: always()
@@ -82,6 +83,6 @@ jobs:
8283
if: always()
8384
uses: actions/upload-artifact@v4
8485
with:
85-
name: integration-report-default-${{ matrix.dbEngine }}
86+
name: integration-report-default-${{ matrix.dbEngine }}-${{ matrix.versions}}
8687
path: ./tests/integration/container/reports
8788
retention-days: 5

.github/workflows/integration_tests_latest.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

.github/workflows/multi_az_integration_tests.yml

Lines changed: 0 additions & 87 deletions
This file was deleted.

.github/workflows/release_draft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: "Package Wrapper"
3636
run: |
3737
mkdir -p ./build
38-
npm run prepublish
38+
npm run prepublishOnly
3939
- name: "Set Version Env Variable"
4040
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
4141
- name: "Get Release Details"

common/lib/authentication/aws_secrets_manager_plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class AwsSecretsManagerPlugin extends AbstractConnectionPlugin implements
146146
AwsSecretsManagerPlugin.secretsCache.set(JSON.stringify(this.secretKey), this.secret);
147147
} catch (error: any) {
148148
if (error instanceof SecretsManagerServiceException) {
149-
logAndThrowError(Messages.get("AwsSecretsManagerConnectionPlugin.failedToFetchDbCredentials"));
149+
logAndThrowError(Messages.get("AwsSecretsManagerConnectionPlugin.failedToFetchDbCredentials", error.message));
150150
} else if (error instanceof Error && error.message.includes("AWS SDK error")) {
151151
logAndThrowError(Messages.get("AwsSecretsManagerConnectionPlugin.endpointOverrideInvalidConnection", error.message));
152152
} else {

0 commit comments

Comments
 (0)