diff options
author | Geoff Mishkin <geoff@amsa.info> | 2018-10-23 12:47:54 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-10-23 12:47:54 -0400 |
commit | f6c2dbad5024003b09cc1447219648cbf3e7013e (patch) | |
tree | b06827dead0dc21918bdf1a9c825f0a288bcf9b1 | |
parent | 525d3c67f9f21e22e7cca0c7ba96e3d709676140 (diff) | |
download | mongo-f6c2dbad5024003b09cc1447219648cbf3e7013e.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>
(cherry picked from commit 15140764a587b404ec442d1d84502bfd0cc502cd)
-rw-r--r-- | etc/cloud_nightly.yml | 10 |
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: |