summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-07-07 19:51:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-13 17:21:26 +0000
commit42dee378c0dca21d822ccf11cd8d510d9189aeb8 (patch)
treeb25319af8d83de9624faa2d9b46f3d7f9ee385c2 /etc
parente2c6bf59b4983f936f387e6f6e1cb4cfd91b8f90 (diff)
downloadmongo-42dee378c0dca21d822ccf11cd8d510d9189aeb8.tar.gz
SERVER-66461 added macos signing at evergreen archive step
(cherry picked from commit 362dbbd4c3c71a9604a085fbcf2636a961b5ff32) (cherry picked from commit 6fa7f012f27fe05940223d257f7cccf4c3729a32)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml11
-rw-r--r--etc/macos_entitlements.xml8
2 files changed, 19 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 4a7bbe1c045..f4f6d45f66c 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -3833,6 +3833,17 @@ tasks:
--detect-odr-violations
--separate-debug
PREFIX=dist-test
+ - command: shell.exec
+ params:
+ binary: bash
+ add_expansions_to_env: true
+ working_dir: src
+ script: |
+ set -o errexit
+ set -o verbose
+
+ ${activate_virtualenv}
+ $python evergreen/macos_notary.py mongodb-binaries.${ext|tgz}
- command: archive.targz_pack
params:
diff --git a/etc/macos_entitlements.xml b/etc/macos_entitlements.xml
new file mode 100644
index 00000000000..a7e59c8d96c
--- /dev/null
+++ b/etc/macos_entitlements.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>
+ </dict>
+</plist>
+