summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2020-06-08 19:16:37 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-06 18:15:16 +0000
commita6a748f34037aec39a0d75d6082a9819031747fa (patch)
tree645ffc7e95f46861467551110beee4ba04fc3c3a
parente0bf15d44afb336a58a189d092437f966152e04e (diff)
downloadmongo-a6a748f34037aec39a0d75d6082a9819031747fa.tar.gz
SERVER-48659 Update SLES 12 AMI for package tests
-rw-r--r--buildscripts/package_test/.kitchen.yml2
-rw-r--r--buildscripts/package_test/recipes/install_mongodb.rb14
2 files changed, 3 insertions, 13 deletions
diff --git a/buildscripts/package_test/.kitchen.yml b/buildscripts/package_test/.kitchen.yml
index 76b805b8ac5..fbe0bd1bdd3 100644
--- a/buildscripts/package_test/.kitchen.yml
+++ b/buildscripts/package_test/.kitchen.yml
@@ -78,7 +78,7 @@ platforms:
username: ec2-user
- name: suse12
driver:
- image_id: ami-aeb532c6
+ image_id: ami-043eebeabcc4e3d35
transport:
username: ec2-user
- name: suse15
diff --git a/buildscripts/package_test/recipes/install_mongodb.rb b/buildscripts/package_test/recipes/install_mongodb.rb
index 3968aa8b949..3914b9cc56a 100644
--- a/buildscripts/package_test/recipes/install_mongodb.rb
+++ b/buildscripts/package_test/recipes/install_mongodb.rb
@@ -116,23 +116,13 @@ if platform_family? 'suse'
EOD
end
- %w(
- SLES12-Pool
- SLES12-Updates
- ).each do |repo|
- execute "add #{repo}" do
- command "zypper addrepo --check --refresh --name \"#{repo}\" http://smt-ec2.susecloud.net/repo/SUSE/Products/SLE-SERVER/12/x86_64/product?credentials=SMT-http_smt-ec2_susecloud_net 'SMT-http_smt-ec2_susecloud_net:#{repo}'"
- not_if "zypper lr | grep #{repo}"
- end
- end
-
execute 'install mongod' do
- command 'zypper -n install `find . -name "*server*.rpm"`'
+ command 'zypper --no-gpg-checks -n install `find . -name "*server*.rpm"`'
cwd homedir
end
execute 'install mongo' do
- command 'zypper -n install `find . -name "*shell*.rpm"`'
+ command 'zypper --no-gpg-checks -n install `find . -name "*shell*.rpm"`'
cwd homedir
end
end