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-07 20:43:23 +0000
commit362dbbd4c3c71a9604a085fbcf2636a961b5ff32 (patch)
treee10673fa738030bc26b24dee833e33160b68eb29 /etc
parent4f4630d1303008c855711283556abf6bef99c345 (diff)
downloadmongo-362dbbd4c3c71a9604a085fbcf2636a961b5ff32.tar.gz
SERVER-66461 added macos signing at evergreen archive step
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen_yml_components/definitions.yml8
-rw-r--r--etc/macos_entitlements.xml8
2 files changed, 16 insertions, 0 deletions
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml
index 5e722b0098f..03e14a5b106 100644
--- a/etc/evergreen_yml_components/definitions.yml
+++ b/etc/evergreen_yml_components/definitions.yml
@@ -2224,6 +2224,14 @@ tasks:
archive-dist-test
task_compile_flags: >-
PREFIX=dist-test
+ - command: subprocess.exec
+ params:
+ binary: bash
+ add_expansions_to_env: true
+ args:
+ - "src/evergreen/run_python_script.sh"
+ - "evergreen/macos_notary.py"
+ - "mongodb-binaries.${ext|tgz}"
- command: s3.put
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>
+