summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2020-05-18 09:11:07 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-18 19:00:47 +0000
commit20de257ec7f9f1def474e7a62375df364ae85f4b (patch)
treee5c70701b57c94e3f00e33e17d9b54c3fa377c5b
parent972ce94f18c972b1d648eb89a88f901965fa22dc (diff)
downloadmongo-20de257ec7f9f1def474e7a62375df364ae85f4b.tar.gz
SERVER-44071 Platform Support: Add Community & Enterprise Ubuntu 20.04 ARM
-rwxr-xr-xbuildscripts/packager_enterprise.py2
-rw-r--r--etc/evergreen.yml79
-rw-r--r--etc/repo_config.yaml4
3 files changed, 82 insertions, 3 deletions
diff --git a/buildscripts/packager_enterprise.py b/buildscripts/packager_enterprise.py
index 989c1769896..ee28ad0d7ee 100755
--- a/buildscripts/packager_enterprise.py
+++ b/buildscripts/packager_enterprise.py
@@ -136,7 +136,7 @@ class EnterpriseDistro(packager.Distro):
return []
if arch == "arm64":
if self.dname == 'ubuntu':
- return ["ubuntu1604", "ubuntu1804"]
+ return ["ubuntu1604", "ubuntu1804", "ubuntu2004"]
return []
if re.search("(redhat|fedora|centos)", self.dname):
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index cb2a1872e65..a84f609d2ec 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -367,6 +367,7 @@ variables:
- enterprise-ubuntu1604-arm64
- enterprise-ubuntu1804-64
- enterprise-ubuntu1804-arm64
+ - enterprise-ubuntu2004-arm64
- enterprise-ubuntu1804-ppc64le
- enterprise-ubuntu1804-s390x
- enterprise-ubuntu2004-64
@@ -435,10 +436,12 @@ variables:
- ubuntu-dynamic-1604-clang
- ubuntu1804
- ubuntu1804-arm64
+ - ubuntu2004-arm64
- ubuntu1804-s390x
- ubuntu2004
- enterprise-ubuntu1804-64
- enterprise-ubuntu1804-arm64
+ - enterprise-ubuntu2004-arm64
- enterprise-ubuntu1804-ppc64le
- enterprise-ubuntu1804-s390x
- enterprise-ubuntu2004-64
@@ -9375,6 +9378,82 @@ buildvariants:
distros:
- ubuntu2004-small
+- name: enterprise-ubuntu2004-arm64
+ display_name: Enterprise Ubuntu 20.04 arm64
+ modules:
+ - enterprise
+ run_on:
+ - ubuntu2004-arm64-large
+ expansions:
+ additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ push_path: linux
+ push_bucket: downloads.10gen.com
+ push_name: linux
+ push_arch: aarch64-enterprise-ubuntu2004
+ compile_flags: --ssl MONGO_DISTMOD=ubuntu2004 -j$(grep -c ^processor /proc/cpuinfo) CCFLAGS="-march=armv8-a+crc -mtune=generic" --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ resmoke_jobs_max: 4 # Avoid starting too many mongod's on ARM test servers
+ has_packages: true
+ packager_script: packager_enterprise.py
+ packager_arch: arm64
+ packager_distro: ubuntu2004
+ repo_edition: enterprise
+ multiversion_platform: ubuntu2004
+ multiversion_architecture: arm64
+ multiversion_architecture_42_or_later: aarch64
+ multiversion_edition: enterprise
+ tasks:
+ - name: compile_all_run_unittests_TG
+ - name: aggregation
+ - name: aggregation_wildcard_fuzzer_gen
+ - name: .auth !.audit !.multiversion !.jscore
+ - name: causally_consistent_jscore_txns_passthrough
+ - name: .misc_js
+ - name: .concurrency .common
+ - name: concurrency_replication_causal_consistency
+ - name: fle
+ - name: .jscore .common !.auth
+ - name: .jstestfuzz .common
+ - name: .logical_session_cache .one_sec
+ - name: replica_sets
+ - name: .replica_sets .common
+ - name: .sharding .txns
+ - name: sharding_gen
+ - name: sharding_jscore_passthrough
+ - name: .ssl
+ - name: .stitch
+ - name: .publish
+ distros:
+ - ubuntu2004-test
+
+- name: ubuntu2004-arm64
+ display_name: Ubuntu 20.04 arm64
+ run_on:
+ - ubuntu2004-arm64-large
+ expansions:
+ push_path: linux
+ push_bucket: downloads.mongodb.org
+ push_name: linux
+ push_arch: aarch64-ubuntu2004
+ compile_flags: --ssl MONGO_DISTMOD=ubuntu2004 -j$(grep -c ^processor /proc/cpuinfo) CCFLAGS="-march=armv8-a+crc -mtune=generic" --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers
+ has_packages: true
+ packager_script: packager.py
+ packager_arch: arm64
+ packager_distro: ubuntu2004
+ repo_edition: org
+ multiversion_platform: ubuntu2004
+ multiversion_architecture: arm64
+ multiversion_architecture_42_or_later: aarch64
+ multiversion_edition: targeted
+ tasks:
+ - name: compile_all_run_unittests_TG
+ - name: free_monitoring
+ - name: jsCore
+ - name: replica_sets_jscore_passthrough
+ - name: .publish
+ distros:
+ - ubuntu2004-test
+
- name: enterprise-linux-64-amazon-ami
display_name: "Enterprise Amazon Linux"
modules:
diff --git a/etc/repo_config.yaml b/etc/repo_config.yaml
index 20dccb09704..e56dd5ae261 100644
--- a/etc/repo_config.yaml
+++ b/etc/repo_config.yaml
@@ -249,7 +249,7 @@ repos:
- s390x
- arm64
repos:
- - apt/ubuntu/dists/bionic/mongodb-org
+ - apt/ubuntu/dists/focal/mongodb-org
####################
#
@@ -468,4 +468,4 @@ repos:
- s390x
- arm64
repos:
- - apt/ubuntu/dists/bionic/mongodb-enterprise
+ - apt/ubuntu/dists/focal/mongodb-enterprise