summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2018-01-23 13:41:30 -0500
committerMathew Robinson <chasinglogic@gmail.com>2018-01-30 11:31:45 -0500
commit300747bfbd735678ae7058a09c65fca3ff48bc3d (patch)
treeacb79190e313b4c67e3fb7387ea98e42b3432d3c
parenta55aa869145e7e35f6f268b6fa74b6a72240bc77 (diff)
downloadmongo-300747bfbd735678ae7058a09c65fca3ff48bc3d.tar.gz
SERVER-32527 Move package testing to new BUILD2 VPC
-rw-r--r--buildscripts/package_test/.kitchen.yml4
-rw-r--r--etc/evergreen.yml1
2 files changed, 4 insertions, 1 deletions
diff --git a/buildscripts/package_test/.kitchen.yml b/buildscripts/package_test/.kitchen.yml
index e9b6989d221..3b4a476551c 100644
--- a/buildscripts/package_test/.kitchen.yml
+++ b/buildscripts/package_test/.kitchen.yml
@@ -2,11 +2,13 @@
driver:
name: ec2
region: us-east-1
+ vpc_mode: true
+ vpc_id: <%= ENV['KITCHEN_VPC'] %>
subnet_id: <%= ENV['KITCHEN_SUBNET'] %>
security_group_ids:
- <%= ENV['KITCHEN_SECURITY_GROUP'] %>
aws_ssh_key_id: <%= ENV['KITCHEN_SSH_KEY_ID'] %>
- interface: dns
+ interface: private
associate_public_ip: true
verifier:
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 073f8384a11..e8c904bbc6d 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -405,6 +405,7 @@ functions:
export KITCHEN_SECURITY_GROUP="${kitchen_security_group}"
export KITCHEN_SSH_KEY_ID="${kitchen_ssh_key_id}"
export KITCHEN_SUBNET="${kitchen_subnet}"
+ export KITCHEN_VPC="${kitchen_vpc}"
for i in {1..3}
do