summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2020-02-18 10:02:45 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-18 17:19:39 +0000
commit3f529eeb89a3821604012ea86e9ef7d6fb962a24 (patch)
tree1dc03b0e9f8664a8b18e005442347f1fbb47c2ca
parent99e7754701d5be6fafb567296540df36cb26ab87 (diff)
downloadmongo-3f529eeb89a3821604012ea86e9ef7d6fb962a24.tar.gz
SERVER-46198 Use the dist tarball in the push task
-rw-r--r--etc/evergreen.yml33
1 files changed, 31 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 0f108298882..68f33fc5f49 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -521,6 +521,24 @@ functions:
extract_to: src
build_variants: *package_variants
+ "fetch dist tarball": &fetch_dist_tarball
+ command: s3.get
+ params:
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ remote_file: ${project}/${build_variant}/${revision}/dist/mongo-${build_id}.${ext|tgz}
+ bucket: mciuploads
+ local_file: src/mongo-binaries.tgz
+
+ "fetch dist debugsymbols": &fetch_dist_debugsymbols
+ command: s3.get
+ params:
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ remote_file: ${project}/${build_variant}/${revision}/dist/mongo-${build_id}-debugsymbols.${ext|tgz}
+ bucket: mciuploads
+ local_file: src/mongo-debugsymbols.tgz
+
"fetch binaries": &fetch_binaries
command: s3.get
params:
@@ -7593,6 +7611,17 @@ tasks:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
+ local_file: src/mongodb-dist.${ext|tgz}
+ remote_file: ${project}/${build_variant}/${revision}/dist/mongo-${build_id}-debugsymbols.${ext|tgz}
+ bucket: mciuploads
+ permissions: public-read
+ content_type: application/tar
+ display_name: Dist Debugsymbols
+ - command: s3.put
+ params:
+ optional: true
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
local_file: packages.tgz
remote_file: ${project}/${build_variant}/${revision}/artifacts/${build_id}-packages.tgz
bucket: mciuploads
@@ -7671,7 +7700,7 @@ tasks:
commands:
- func: "fetch artifacts"
- func: "fetch packages"
- - func: "fetch binaries"
+ - func: "fetch dist tarball"
# Fetch the shell
- command: s3.get
params:
@@ -7700,7 +7729,7 @@ tasks:
local_file: src/distsrc.${ext|tgz}
build_variants: [rhel70, windows]
- func: "apply compile expansions"
- - func: "fetch debugsymbols archive"
+ - func: "fetch dist debugsymbols"
- func: "set up remote credentials"
vars:
aws_key_remote: ${repo_aws_key}