File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 1
- ---
2
- buildvariants :
3
- -
1
+ ---
2
+ buildvariants :
3
+ -
4
4
display_name : " Ubuntu 18.04"
5
- expansions :
5
+ expansions :
6
6
venv : ~/venv/bin
7
7
name : ubuntu1804
8
- run_on :
8
+ run_on :
9
9
- ubuntu1804-test
10
- tasks :
11
- -
10
+ tasks :
11
+ -
12
12
name : build-docs
13
- tasks :
14
- -
15
- commands :
16
- -
13
+ tasks :
14
+ -
15
+ commands :
16
+ -
17
17
command : git.get_project
18
- params :
18
+ params :
19
19
directory : docs-mongodb
20
20
type : setup
21
- -
21
+ -
22
22
command : shell.exec
23
- params :
23
+ params :
24
24
script : |
25
25
26
26
# install_helper(name)
39
39
### Original Working Script Start ###
40
40
41
41
rm -rf ~/venv
42
-
42
+
43
43
virtualenv ~/venv
44
44
${venv}/pip install -r requirements.txt
45
45
@@ -69,28 +69,28 @@ tasks:
69
69
PATH=$PATH:~/venv/bin
70
70
71
71
working_dir : docs-mongodb
72
- -
72
+ -
73
73
command : shell.exec
74
- params :
74
+ params :
75
75
script : |
76
- # remember that this script should be silent if it
76
+ # remember that this script should be silent if it
77
77
# manipulates keys
78
78
mkdir ~/.config
79
79
touch ~/.config/giza-aws-authentication.conf
80
80
echo "${aws_key}" > ~/.config/giza-aws-authentication.conf
81
81
echo "${aws_secret}" >> ~/.config/giza-aws-authentication.conf
82
82
chmod 600 ~/.config/giza-aws-authentication.conf
83
-
83
+
84
84
# as an alternative, you could pass the aws keys to the
85
85
# makefile directly if it supports that
86
86
shell : bash
87
87
silent : true
88
- -
88
+ -
89
89
command : shell.exec
90
- params :
90
+ params :
91
91
script : |
92
92
export USER=${github_author}
93
-
93
+
94
94
if [ "${is_patch}" != "true" ]; then
95
95
make publish
96
96
make deploy
You can’t perform that action at this time.
0 commit comments