From e5e49c345ae5a1fcb9ad9853763059e6e10eadf9 Mon Sep 17 00:00:00 2001 From: Anusha Hegde Date: Tue, 31 Dec 2024 12:36:50 +0530 Subject: [PATCH] moved license key to github secrets --- .github/workflows/run-e2e-tests.yaml | 3 +++ e2e-tests/build-templates.sh | 14 +++++++------- e2e-tests/config-file.cfg | 1 - 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-e2e-tests.yaml b/.github/workflows/run-e2e-tests.yaml index 86411dc..1b88521 100644 --- a/.github/workflows/run-e2e-tests.yaml +++ b/.github/workflows/run-e2e-tests.yaml @@ -34,6 +34,9 @@ jobs: aws-region: us-east-1 - name: Run e2e tests + env: + NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }} + NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }} run: | cd e2e-tests/ ./build-templates.sh diff --git a/e2e-tests/build-templates.sh b/e2e-tests/build-templates.sh index fcb5360..0485c3b 100755 --- a/e2e-tests/build-templates.sh +++ b/e2e-tests/build-templates.sh @@ -1,14 +1,14 @@ #!/bin/bash TEMPLATES=( - "logging-lambda-metric-polling.yaml" - "logging-lambda-metric-stream.yaml" - "logging-firehose-metric-polling.yaml" - "logging-firehose-metric-stream.yaml" - "logging-lambda-firehose-metric-polling.yaml" - "logging-lambda-firehose-metric-stream.yaml" +# "logging-lambda-metric-polling.yaml" +# "logging-lambda-metric-stream.yaml" +# "logging-firehose-metric-polling.yaml" +# "logging-firehose-metric-stream.yaml" +# "logging-lambda-firehose-metric-polling.yaml" +# "logging-lambda-firehose-metric-stream.yaml" "lambda-template.yaml" - "logging-lambda-firehose-template.yaml" +# "logging-lambda-firehose-template.yaml" ) source config-file.cfg diff --git a/e2e-tests/config-file.cfg b/e2e-tests/config-file.cfg index 73e9834..1d5d362 100644 --- a/e2e-tests/config-file.cfg +++ b/e2e-tests/config-file.cfg @@ -2,7 +2,6 @@ S3_BUCKET=unified-lambda-serverless-1 NEW_RELIC_REGION=US NEW_RELIC_ACCOUNT_ID=2813435 -NEW_RELIC_LICENSE_KEY=dummy # build constants BUILD_DIR_BASE=.aws-sam/build