forked from mongodb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mci.yml
44 lines (37 loc) · 957 Bytes
/
.mci.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
pre:
- command: git.get_project
params:
directory: "docs-tools"
- command: git.apply_patch
params:
directory: "docs-tools"
- command: shell.exec
params:
script: |
virtualenv ~/venv
${venv}/pip install -r requirements.txt
tasks:
- name: "build_manual"
commands:
- command: shell.exec
params:
script: |
export PATH=${venv}:$PATH
${venv}/giza generate source
${venv}/giza sphinx --builder publish --serial_sphinx
- command: shell.exec
params:
script: |
export PATH=${venv}:$PATH
${venv}/giza env package --builder publish
${venv}/giza packaging create --target push
# TODO: deploy build/archive/* to s3
buildvariants:
- name: ubuntu1404-release
display_name: "Ubuntu 14.04"
run_on:
- ubuntu1404-test
expansions:
venv: "~/venv/bin"
tasks:
- name: "build_manual"