SERVER-48282 Add RHEL8.2 arm64 builders

This commit is contained in:
Andrew Morrow 2020-08-19 19:43:42 -04:00 committed by Evergreen Agent
parent b87b25eea7
commit 29ec0810ce
4 changed files with 119 additions and 2 deletions

View File

@ -332,7 +332,7 @@ class Distro(object):
if re.search("(suse)", self.dname):
return ["suse11", "suse12", "suse15"]
elif re.search("(redhat|fedora|centos)", self.dname):
return ["rhel80", "rhel70", "rhel71", "rhel72", "rhel62", "rhel55", "rhel67"]
return ["rhel82", "rhel80", "rhel70", "rhel71", "rhel72", "rhel62", "rhel55", "rhel67"]
elif self.dname in ['amazon', 'amazon2']:
return [self.dname]
elif self.dname == 'ubuntu':

View File

@ -137,6 +137,8 @@ class EnterpriseDistro(packager.Distro):
if arch == "arm64":
if self.dname == 'ubuntu':
return ["ubuntu1604", "ubuntu1804", "ubuntu2004"]
if self.dname == 'redhat':
return ["rhel82"]
return []
if re.search("(redhat|fedora|centos)", self.dname):

View File

@ -360,6 +360,7 @@ variables:
- enterprise-rhel-72-s390x
- enterprise-rhel-72-s390x-inmem
- enterprise-rhel-80-64-bit
- enterprise-rhel-82-arm64
- enterprise-suse12-64
- enterprise-suse15-64
- enterprise-suse12-s390x
@ -392,6 +393,7 @@ variables:
- enterprise-rhel-62-64-bit
- enterprise-rhel-62-64-bit-dynamic-required
- enterprise-rhel-70-64-bit
- enterprise-rhel-82-arm64
- enterprise-ubuntu1604-64
- enterprise-ubuntu1804-64
- enterprise-windows
@ -421,7 +423,9 @@ variables:
- enterprise-rhel-81-ppc64le
- enterprise-rhel-72-s390x
- rhel80
- rhel-82-arm64
- enterprise-rhel-80-64-bit
- enterprise-rhel-82-arm64
- suse12
- suse12-s390x
- enterprise-suse12-64
@ -4392,7 +4396,7 @@ tasks:
## Standalone generational fuzzer for multiversion aggregation expressions ##
- <<: *jstestfuzz_template
name: aggregation_expression_multiversion_fuzzer_gen
tags: ["aggfuzzer"]
tags: ["aggfuzzer", "multiversion"]
commands:
- func: "generate fuzzer tasks"
vars:
@ -10757,6 +10761,56 @@ buildvariants:
distros:
- rhel80-small
- name: enterprise-rhel-82-arm64
display_name: "Enterprise RHEL 8.2 arm64"
modules:
- enterprise
run_on:
- rhel82-arm64-small
expansions:
additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-rhel82
compile_flags: --ssl MONGO_DISTMOD=rhel82 -j$(grep -c ^processor /proc/cpuinfo) CCFLAGS="-march=armv8-a+crc -mtune=generic" --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
has_packages: true
packager_script: packager_enterprise.py
packager_arch: arm64
packager_distro: rhel82
repo_edition: enterprise
scons_cache_scope: shared
tasks:
- name: compile_all_run_unittests_TG
distros:
- rhel82-arm64-large
- name: .aggfuzzer !.multiversion
- name: audit
- name: auth_audit_gen
- name: auth_gen
- name: causally_consistent_jscore_txns_passthrough
- name: .encrypt !.sharding !.replica_sets !.aggregation !.jscore
- name: external_auth
- name: external_auth_aws
- name: .jscore .common !.compat !.decimal !.sharding
- name: jsCore_txns_large_txns_format
- name: .jstestfuzz .common
- name: .logical_session_cache .one_sec
- name: replica_sets_auth_gen
- name: replica_sets_jscore_passthrough
- name: .replica_sets .multi_oplog
- name: sasl
- name: search
- name: search_auth
- name: search_ssl
- name: sharding_auth_audit_gen
- name: sharding_auth_gen
- name: snmp
- name: .stitch
- name: .publish
distros:
- rhel82-arm64-small
# This variant is to intentionally test uncommon features nightly
- <<: *enterprise-rhel-70-64-bit-template
name: enterprise-rhel-70-64-bit-kitchen-sink
@ -11027,6 +11081,51 @@ buildvariants:
distros:
- rhel80-small
- name: rhel-82-arm64
display_name: RHEL 8.2 arm64
run_on:
- rhel82-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-rhel82
compile_flags: --ssl MONGO_DISTMOD=rhel82 -j$(grep -c ^processor /proc/cpuinfo) CCFLAGS="-march=armv8-a+crc -mtune=generic" --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
has_packages: true
packager_script: packager.py
packager_arch: arm64
packager_distro: rhel82
repo_edition: org
scons_cache_scope: shared
tasks:
- name: compile_all_run_unittests_TG
distros:
- rhel82-arm64-large
- name: aggregation
- name: .auth !.audit !.multiversion
- name: causally_consistent_jscore_txns_passthrough
- name: .misc_js
- name: .concurrency .common
distros:
- rhel82-arm64-large
- name: concurrency_replication_causal_consistency
distros:
- rhel82-arm64-large
- name: disk_wiredtiger
- name: free_monitoring
- name: .jscore .common
- name: .jstestfuzz .common
- name: .logical_session_cache .one_sec
- name: replica_sets
- name: .replica_sets .common
- name: .sharding .txns
- name: .sharding .common !.op_query !.csrs !.multiversion
- name: .ssl
- name: .stitch
- name: .publish
distros:
- rhel82-arm64-small
# This variant compiles on RHEL 7.0 and runs tests on RHEL 7.6
- name: rhel76_compile_rhel70
display_name: RHEL 7.0/7.6 Cross-ABI

View File

@ -106,6 +106,14 @@ repos:
- yum/redhat/8/mongodb-org
- yum/redhat/8Server/mongodb-org
- name: rhel82
type: rpm
edition: org
bucket: repo.mongodb.org
repos:
- yum/redhat/8/mongodb-org
- yum/redhat/8Server/mongodb-org
- name: amazon
type: rpm
edition: org
@ -313,6 +321,14 @@ repos:
- yum/redhat/8/mongodb-enterprise
- yum/redhat/8Server/mongodb-enterprise
- name: rhel82
type: rpm
edition: enterprise
bucket: repo.mongodb.com
repos:
- yum/redhat/8/mongodb-enterprise
- yum/redhat/8Server/mongodb-enterprise
- name: amazon
type: rpm
edition: enterprise