diff options
author | Brian McCarthy <brian.mccarthy@mongodb.com> | 2020-04-24 19:51:05 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-04 21:24:06 +0000 |
commit | 11fd7943b2cc29c189ddd919a21677d4ce50a933 (patch) | |
tree | f258383afbe79df1e5d6b1203842ce8d3a8301c8 /buildscripts/package_test | |
parent | 37dd62061cd41843646ab5b3eb91f29716117196 (diff) | |
download | mongo-11fd7943b2cc29c189ddd919a21677d4ce50a933.tar.gz |
SERVER-44070 Platform Support: Add Community & Enterprise Ubuntu 20.04 x64
(cherry picked from commit a7653f2540a79cbbdb313a0c13be501fadc30878)
Diffstat (limited to 'buildscripts/package_test')
-rw-r--r-- | buildscripts/package_test/.kitchen.yml | 5 | ||||
-rw-r--r-- | buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/buildscripts/package_test/.kitchen.yml b/buildscripts/package_test/.kitchen.yml index d9e6a41d5f1..66ac4488f8c 100644 --- a/buildscripts/package_test/.kitchen.yml +++ b/buildscripts/package_test/.kitchen.yml @@ -105,6 +105,11 @@ platforms: image_id: ami-7ad76705 transport: username: ubuntu + - name: ubuntu2004 + driver: + image_id: ami-068663a3c619dd892 + transport: + username: ubuntu transport: ssh_key: ~/.ssh/kitchen.pem diff --git a/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb b/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb index be53465b0c1..f5cc9799569 100644 --- a/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb +++ b/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb @@ -151,7 +151,8 @@ if deb # account shells its('shell') { if ((os[:name] == 'debian' and os[:release].split('.')[0] == '10') or - (os[:name] == 'ubuntu' and os[:release] == '18.04')) + (os[:name] == 'ubuntu' and os[:release] == '18.04') or + (os[:name] == 'ubuntu' and os[:release] == '20.04')) should eq '/usr/sbin/nologin' else should eq '/bin/false' |