-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcloud_nightly.yml
48 lines (45 loc) · 1.17 KB
/
cloud_nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
stepback: true
# Needed til EVG-3714 is deployed
functions:
something:
- command: shell.exec
params:
shell: bash
script: |
exit
tasks:
- name: GENERATE_MMS_TESTS
commands:
- command: shell.exec
params:
shell: bash
script: |
set -ex
git clone --branch ${cloud_branch} --depth 1 [email protected]:${cloud_repo} mms
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
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
bucket: mciuploads
local_file: cloud_nightly.json
remote_file: cloud-nightly/${task_id}
content_type: application/json
display_name: "Generated tasks (cloud_nightly.json)"
permissions: private
- command: generate.tasks
params:
files:
- cloud_nightly.json
buildvariants:
- name: cloud_nightly
display_name: "Cloud Nightly"
run_on:
rhel70-small
tasks:
- name: GENERATE_MMS_TESTS