mirror of https://github.com/mongodb/mongo
SERVER-37768 Added Debian10 build variant
This commit is contained in:
parent
54d1ab6130
commit
0d0c7ec99f
|
|
@ -49,6 +49,11 @@ platforms:
|
||||||
image_id: ami-71b7750b
|
image_id: ami-71b7750b
|
||||||
transport:
|
transport:
|
||||||
username: admin
|
username: admin
|
||||||
|
- name: debian10
|
||||||
|
driver:
|
||||||
|
image_id: ami-02ad06066b040a84b
|
||||||
|
transport:
|
||||||
|
username: admin
|
||||||
- name: rhel62
|
- name: rhel62
|
||||||
driver:
|
driver:
|
||||||
# Use rhel 6.3 because chef-solo fails on rhel 6.2
|
# Use rhel 6.3 because chef-solo fails on rhel 6.2
|
||||||
|
|
|
||||||
|
|
@ -144,18 +144,19 @@ if deb
|
||||||
it { should be_directory }
|
it { should be_directory }
|
||||||
end
|
end
|
||||||
|
|
||||||
if os[:release] == '18.04'
|
describe user('mongodb') do
|
||||||
describe user('mongodb') do
|
it { should exist }
|
||||||
it { should exist }
|
its('groups') { should include 'mongodb' }
|
||||||
its('groups') { should include 'mongodb' }
|
# All versions of Debian 10 will use /usr/sbin/nologin for service
|
||||||
its('shell') { should eq '/usr/sbin/nologin' }
|
# account shells
|
||||||
end
|
its('shell') {
|
||||||
else
|
if ((os[:family] == 'debian' and os[:release].split('.')[0] == '10') or
|
||||||
describe user('mongodb') do
|
(os[:family] == 'ubuntu' and os[:release] == '18.04'))
|
||||||
it { should exist }
|
should eq '/usr/sbin/nologin'
|
||||||
its('groups') { should include 'mongodb' }
|
else
|
||||||
its('shell') { should eq '/bin/false' }
|
should eq '/bin/false'
|
||||||
end
|
end
|
||||||
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,8 @@ class Distro(object):
|
||||||
return 'jessie'
|
return 'jessie'
|
||||||
elif build_os == 'debian92':
|
elif build_os == 'debian92':
|
||||||
return 'stretch'
|
return 'stretch'
|
||||||
|
elif build_os == 'debian10':
|
||||||
|
return 'buster'
|
||||||
else:
|
else:
|
||||||
raise Exception("unsupported build_os: %s" % build_os)
|
raise Exception("unsupported build_os: %s" % build_os)
|
||||||
else:
|
else:
|
||||||
|
|
@ -339,7 +341,7 @@ class Distro(object):
|
||||||
"ubuntu1804",
|
"ubuntu1804",
|
||||||
]
|
]
|
||||||
elif self.dname == 'debian':
|
elif self.dname == 'debian':
|
||||||
return ["debian81", "debian92"]
|
return ["debian81", "debian92", "debian10"]
|
||||||
else:
|
else:
|
||||||
raise Exception("BUG: unsupported platform?")
|
raise Exception("BUG: unsupported platform?")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -361,6 +361,7 @@ variables:
|
||||||
- mongocryptd_variants: &mongocryptd_variants
|
- mongocryptd_variants: &mongocryptd_variants
|
||||||
- enterprise-amazon2
|
- enterprise-amazon2
|
||||||
- enterprise-debian92-64
|
- enterprise-debian92-64
|
||||||
|
- enterprise-debian10-64
|
||||||
- enterprise-linux-64-amazon-ami
|
- enterprise-linux-64-amazon-ami
|
||||||
- enterprise-macos
|
- enterprise-macos
|
||||||
- enterprise-macos-openssl
|
- enterprise-macos-openssl
|
||||||
|
|
@ -11856,6 +11857,110 @@ buildvariants:
|
||||||
- ubuntu1604-packer
|
- ubuntu1604-packer
|
||||||
- name: .publish
|
- name: .publish
|
||||||
|
|
||||||
|
- name: enterprise-debian10-64
|
||||||
|
display_name: Enterprise Debian 10
|
||||||
|
modules:
|
||||||
|
- enterprise
|
||||||
|
run_on:
|
||||||
|
- debian10-test
|
||||||
|
batchtime: 1440 # 1 day
|
||||||
|
expansions:
|
||||||
|
push_path: linux
|
||||||
|
push_bucket: downloads.10gen.com
|
||||||
|
push_name: linux
|
||||||
|
push_arch: x86_64-enterprise-debian10
|
||||||
|
mh_target: dist-mh
|
||||||
|
compile_flags: --ssl MONGO_DISTMOD=debian10 --release -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
|
||||||
|
multiversion_platform: debian10
|
||||||
|
multiversion_edition: enterprise
|
||||||
|
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
|
||||||
|
# spawning a large number of linker processes.
|
||||||
|
num_scons_link_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
|
||||||
|
has_packages: true
|
||||||
|
packager_script: packager_enterprise.py
|
||||||
|
packager_arch: x86_64
|
||||||
|
packager_distro: debian10
|
||||||
|
repo_edition: enterprise
|
||||||
|
tooltags: "ssl sasl gssapi"
|
||||||
|
scons_cache_scope: shared
|
||||||
|
build_mongoreplay: true
|
||||||
|
tasks:
|
||||||
|
- name: compile_all_run_unittests_TG
|
||||||
|
distros:
|
||||||
|
- debian10-build
|
||||||
|
- name: .aggfuzzer .common
|
||||||
|
- name: audit
|
||||||
|
- name: causally_consistent_jscore_txns_passthrough
|
||||||
|
- name: .encrypt !.replica_sets !.aggregation !.sharding !.jscore
|
||||||
|
- name: .jscore .common !.decimal !.compat !.sharding
|
||||||
|
- name: .jstestfuzz .common
|
||||||
|
- name: .logical_session_cache .one_sec
|
||||||
|
- name: replica_sets_auth_gen
|
||||||
|
- name: replica_sets_jscore_passthrough
|
||||||
|
- name: sasl
|
||||||
|
- name: sharding_auth_gen
|
||||||
|
- name: snmp
|
||||||
|
- name: .stitch
|
||||||
|
- name: package
|
||||||
|
distros:
|
||||||
|
- ubuntu1604-packer
|
||||||
|
- name: .publish
|
||||||
|
|
||||||
|
- name: debian10
|
||||||
|
display_name: Debian 10
|
||||||
|
run_on:
|
||||||
|
- debian10-test
|
||||||
|
batchtime: 1440 # 1 day
|
||||||
|
expansions:
|
||||||
|
push_path: linux
|
||||||
|
push_bucket: downloads.mongodb.org
|
||||||
|
push_name: linux
|
||||||
|
push_arch: x86_64-debian10
|
||||||
|
compile_flags: --ssl MONGO_DISTMOD=debian10 -j$(grep -c ^processor /proc/cpuinfo) --release --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
|
||||||
|
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
|
||||||
|
# spawning a large number of linker processes.
|
||||||
|
num_scons_link_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
|
||||||
|
multiversion_platform: debian10
|
||||||
|
multiversion_edition: targeted
|
||||||
|
has_packages: true
|
||||||
|
packager_script: packager.py
|
||||||
|
packager_arch: x86_64
|
||||||
|
packager_distro: debian10
|
||||||
|
repo_edition: org
|
||||||
|
tooltags: "ssl"
|
||||||
|
scons_cache_scope: shared
|
||||||
|
build_mongoreplay: true
|
||||||
|
tasks:
|
||||||
|
- name: compile_all_run_unittests_TG
|
||||||
|
distros:
|
||||||
|
- debian10-build
|
||||||
|
- name: .aggfuzzer .common
|
||||||
|
- name: aggregation
|
||||||
|
- name: aggregation_auth
|
||||||
|
- name: .auth !.audit !.multiversion
|
||||||
|
- name: causally_consistent_jscore_txns_passthrough
|
||||||
|
- name: .misc_js
|
||||||
|
- name: .concurrency .common
|
||||||
|
- name: concurrency_replication_causal_consistency
|
||||||
|
distros:
|
||||||
|
- debian10-build
|
||||||
|
- name: disk_wiredtiger
|
||||||
|
- name: free_monitoring
|
||||||
|
- name: .jscore .common !.decimal
|
||||||
|
- name: .jstestfuzz .common
|
||||||
|
- name: .logical_session_cache .one_sec
|
||||||
|
- name: multiversion
|
||||||
|
- name: replica_sets
|
||||||
|
- name: .replica_sets .common
|
||||||
|
- name: .sharding .jscore !.wo_snapshot !.multi_stmt
|
||||||
|
- name: .sharding .common !.op_query !.csrs
|
||||||
|
- name: .ssl
|
||||||
|
- name: .stitch
|
||||||
|
- name: package
|
||||||
|
distros:
|
||||||
|
- ubuntu1604-packer
|
||||||
|
- name: .publish
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# storage engine buildvariants #
|
# storage engine buildvariants #
|
||||||
################################
|
################################
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,17 @@ repos:
|
||||||
repos:
|
repos:
|
||||||
- apt/debian/dists/stretch/mongodb-org
|
- apt/debian/dists/stretch/mongodb-org
|
||||||
|
|
||||||
|
- name: debian10
|
||||||
|
type: deb
|
||||||
|
code_name: "buster"
|
||||||
|
bucket: repo.mongodb.org
|
||||||
|
edition: org
|
||||||
|
component: main
|
||||||
|
architectures:
|
||||||
|
- amd64
|
||||||
|
repos:
|
||||||
|
- apt/debian/dists/buster/mongodb-org
|
||||||
|
|
||||||
- name: debian71
|
- name: debian71
|
||||||
type: deb
|
type: deb
|
||||||
code_name: "wheezy"
|
code_name: "wheezy"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue