From 13313241f012c1b8c4ad8fbdfc55e5cd617f005f Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Thu, 24 Mar 2022 21:08:53 +0100 Subject: [PATCH] Enable DynamoDB tests (#2816) Signed-off-by: Jorge Turrado --- .github/workflows/main-build.yml | 2 ++ .github/workflows/nightly-e2e.yml | 2 ++ .github/workflows/pr-e2e.yml | 2 ++ CHANGELOG.md | 1 + tests/run-all.sh | 6 ------ 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 3d82f30e398..e8e3d566ae3 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -87,6 +87,8 @@ jobs: - name: Run end to end tests env: + AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} + AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} AZURE_APP_INSIGHTS_APP_ID: ${{ secrets.AZURE_APP_INSIGHTS_APP_ID }} AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY: ${{ secrets.AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY }} AZURE_DATA_EXPLORER_DB: ${{ secrets.AZURE_DATA_EXPLORER_DB }} diff --git a/.github/workflows/nightly-e2e.yml b/.github/workflows/nightly-e2e.yml index d9a24ae28a3..252b7688f28 100644 --- a/.github/workflows/nightly-e2e.yml +++ b/.github/workflows/nightly-e2e.yml @@ -18,6 +18,8 @@ jobs: - name: Run end to end test env: + AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} + AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} AZURE_APP_INSIGHTS_APP_ID: ${{ secrets.AZURE_APP_INSIGHTS_APP_ID }} AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY: ${{ secrets.AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY }} AZURE_DATA_EXPLORER_DB: ${{ secrets.AZURE_DATA_EXPLORER_DB }} diff --git a/.github/workflows/pr-e2e.yml b/.github/workflows/pr-e2e.yml index a69801c6031..7d9a7860de0 100644 --- a/.github/workflows/pr-e2e.yml +++ b/.github/workflows/pr-e2e.yml @@ -67,6 +67,8 @@ jobs: continue-on-error: true id: test env: + AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} + AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} AZURE_APP_INSIGHTS_APP_ID: ${{ secrets.AZURE_APP_INSIGHTS_APP_ID }} AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY: ${{ secrets.AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY }} AZURE_DATA_EXPLORER_DB: ${{ secrets.AZURE_DATA_EXPLORER_DB }} diff --git a/CHANGELOG.md b/CHANGELOG.md index e0d918f1e33..e9740242dd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ - **General:** Internally represent value and threshold as int64 ([#2790](https://github.com/kedacore/keda/issues/2790)) - **GCP Pubsub Scaler:** Adding e2e test ([#1528](https://github.com/kedacore/keda/issues/1528)) - **Memory Scaler:** Adding e2e test ([#2220](https://github.com/kedacore/keda/issues/2220)) +- **AWS DynamoDB:** Setup AWS DynamoDB test account ([#2803](https://github.com/kedacore/keda/issues/2803)) ## v.2.6.1 diff --git a/tests/run-all.sh b/tests/run-all.sh index 3530a86393b..8b3ff43c17b 100755 --- a/tests/run-all.sh +++ b/tests/run-all.sh @@ -27,12 +27,6 @@ function run_tests { continue fi - # Disable until AWS account is available. - if [[ $test_case == *aws-dynamodb.test.ts ]] - then - continue - fi - counter=$((counter+1)) ./node_modules/.bin/ava $test_case > "${test_case}.log" 2>&1 & pid=$!