File tree 3 files changed +5
-10
lines changed
3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -719,13 +719,12 @@ tasks:
719
719
params :
720
720
working_dir : " src"
721
721
shell : " bash"
722
+ add_expansions_to_env : true
722
723
script : |
723
724
${PREPARE_SHELL}
724
- export MONGODB_URI=${MONGODB_URI}
725
- .evergreen/run-tests-deployed-lambda.sh
725
+ MONGODB_URI="${MONGODB_URI}" .evergreen/run-tests-deployed-lambda.sh
726
726
env :
727
727
AWS_REGION : us-east-1
728
- PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
729
728
DRIVERS_TOOLS : ${DRIVERS_TOOLS}
730
729
DRIVERS_ATLAS_PUBLIC_API_KEY : ${DRIVERS_ATLAS_PUBLIC_API_KEY}
731
730
DRIVERS_ATLAS_PRIVATE_API_KEY : ${DRIVERS_ATLAS_PRIVATE_API_KEY}
@@ -737,8 +736,6 @@ tasks:
737
736
AWS_SESSION_TOKEN : ${AWS_SESSION_TOKEN}
738
737
LAMBDA_STACK_NAME : " dbx-ruby-lambda"
739
738
RVM_RUBY : ruby-3.2
740
- MONGODB_URI : ${MONGODB_URI}
741
- TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/spec/faas/ruby-sam-app
742
739
axes :
743
740
744
741
- id : preload
Original file line number Diff line number Diff line change @@ -716,13 +716,12 @@ tasks:
716
716
params:
717
717
working_dir: "src"
718
718
shell: "bash"
719
+ add_expansions_to_env: true
719
720
script: |
720
721
${PREPARE_SHELL}
721
- export MONGODB_URI=${MONGODB_URI}
722
- .evergreen/run-tests-deployed-lambda.sh
722
+ MONGODB_URI="${MONGODB_URI}" .evergreen/run-tests-deployed-lambda.sh
723
723
env:
724
724
AWS_REGION: us-east-1
725
- PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
726
725
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
727
726
DRIVERS_ATLAS_PUBLIC_API_KEY: ${DRIVERS_ATLAS_PUBLIC_API_KEY}
728
727
DRIVERS_ATLAS_PRIVATE_API_KEY: ${DRIVERS_ATLAS_PRIVATE_API_KEY}
@@ -734,5 +733,3 @@ tasks:
734
733
AWS_SESSION_TOKEN: ${AWS_SESSION_TOKEN}
735
734
LAMBDA_STACK_NAME: "dbx-ruby-lambda"
736
735
RVM_RUBY: ruby-3.2
737
- MONGODB_URI: ${MONGODB_URI}
738
- TEST_LAMBDA_DIRECTORY: ${PROJECT_DIRECTORY}/spec/faas/ruby-sam-app
Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ set_env_ruby
13
13
echo MONGODB_URI: ${MONGODB_URI}
14
14
15
15
export MONGODB_URI=${MONGODB_URI}
16
+ export TEST_LAMBDA_DIRECTORY=` dirname " $0 " ` /../spec/faas/ruby-sam-app
16
17
17
18
. ` dirname " $0 " ` /run-deployed-lambda-aws-tests.sh
You can’t perform that action at this time.
0 commit comments