summaryrefslogtreecommitdiff
path: root/etc/cloud_nightly.yml
diff options
context:
space:
mode:
authorGeoff Mishkin <geoff@amsa.info>2018-10-23 12:45:15 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-10-23 12:45:15 -0400
commit15140764a587b404ec442d1d84502bfd0cc502cd (patch)
tree279fa2300c68bbf770a46d6d6d51c3059a37c11e /etc/cloud_nightly.yml
parentbb91ac5a2c0b647b80d65d4aaf5a448351b9cc33 (diff)
downloadmongo-15140764a587b404ec442d1d84502bfd0cc502cd.tar.gz
SERVER-37583 Refactored mms package structure
Move sleep til after tasks JSON is created and uploaded So it can be debugged during the sleep if desired Closes #1260. Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com>
Diffstat (limited to 'etc/cloud_nightly.yml')
-rw-r--r--etc/cloud_nightly.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/cloud_nightly.yml b/etc/cloud_nightly.yml
index 6fce020dde1..c2639e21123 100644
--- a/etc/cloud_nightly.yml
+++ b/etc/cloud_nightly.yml
@@ -21,9 +21,7 @@ tasks:
cd mms/scripts
./init_virtualenv.sh ${workdir} 'no-om'
VIRTUAL_ENV_DISABLE_PROMPT=true source venv-activate
- cd evergreen
- sleep ${compile_wait_duration_seconds}
- ./mongo_cloud_nightly/generate_cloud_nightly.py > ${workdir}/cloud_nightly.json
+ generate_cloud_nightly > "${workdir}/cloud_nightly.json"
- command: s3.put
params:
aws_key: ${aws_key}
@@ -34,6 +32,12 @@ tasks:
content_type: application/json
display_name: "Generated tasks (cloud_nightly.json)"
permissions: private
+ - command: shell.exec
+ params:
+ shell: bash
+ script: |
+ set -ex
+ sleep ${compile_wait_duration_seconds}
- command: generate.tasks
params:
files: