File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ libmongoc_variables:
29
29
30
30
default_expansions_def : &default_expansions
31
31
env_vars : CFLAGS=""
32
- mongodb_args : " --fork --nojournal --smallfiles --logpath=/data/log --dbpath=/data/db --pidfilepath=/data/pid"
32
+ mongodb_logpath : /data/log
33
+ mongodb_args : " --fork --noprealloc --smallfiles --dbpath=/data/db --pidfilepath=/data/pid"
33
34
34
35
i386_expansions_def : &i386_expansions
35
36
env_vars : CFLAGS="-m32 -march=i386"
71
72
remote_key : project_aws_key
72
73
- local_key : aws_secret
73
74
remote_key : project_aws_secret
74
-
75
- - command : shell.exec
76
- params :
77
- script : |
78
- set -o verbose
79
- rm -rf libmongoc
80
- rm -rf /data/db
81
- mkdir -p /data/db
82
-
83
75
post :
84
76
- command : shell.exec
85
77
params :
@@ -130,6 +122,13 @@ tasks:
130
122
depends_on :
131
123
- name : compile
132
124
commands :
125
+ - command : shell.exec
126
+ params :
127
+ script : |
128
+ set -o verbose
129
+ rm -rf libmongoc
130
+ rm -rf /data/db
131
+ mkdir -p /data/db
133
132
- command : shell.exec
134
133
params :
135
134
script : |
@@ -148,7 +147,11 @@ tasks:
148
147
${decompress} mongo_enterprise.${ext|tgz}
149
148
cp mongodb*/bin/mongod${extension} ./mongod${extension}
150
149
chmod +x ./mongod${extension}
151
- ./mongod${extension} ${mongodb_args}
150
+ if ! ./mongod${extension} ${mongodb_args} --logpath=${mongodb_logpath}
151
+ then
152
+ cat ${mongodb_logpath}
153
+ exit 1
154
+ fi
152
155
sleep 30
153
156
make check
154
157
You can’t perform that action at this time.
0 commit comments