@@ -29,6 +29,40 @@ executors:
2929
3030
3131commands :
32+
33+
34+ validate_documentation :
35+ steps :
36+ - run :
37+ name : " Pull Submodules"
38+ command : |
39+ git submodule init
40+ git submodule update --remote --recursive
41+ - run :
42+ name : Download pip
43+ command : curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
44+ - run :
45+ name : Install pip
46+ command : sudo python get-pip.py
47+ - run :
48+ name : Install virtualenv
49+ command : pip install --user virtualenv
50+ - run :
51+ name : Init virtualenv
52+ command : virtualenv env
53+ - run :
54+ name : install tox
55+ command : pip install --user pygithub pyyaml==3.10
56+ - run :
57+ name : upgrade setuptools
58+ command : pip install --upgrade setuptools
59+ - run :
60+ name : install local project
61+ command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
62+ - attach_workspace :
63+ at : workspace
64+ - run : python .circleci/validate_docs.py
65+
3266 run_unittest :
3367 steps :
3468 - run :
@@ -199,8 +233,50 @@ commands:
199233 at : workspace
200234 - run : python .circleci/package_release.py
201235
236+
237+
238+ merge_docs :
239+ steps :
240+ - attach_workspace :
241+ at : workspace
242+ - run :
243+ name : " Pull Submodules"
244+ command : |
245+ git submodule init
246+ git submodule update --remote --recursive
247+ - run :
248+ name : Download pip
249+ command : curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
250+ - run :
251+ name : Install pip
252+ command : sudo python get-pip.py
253+ - run :
254+ name : Install virtualenv
255+ command : pip install --user virtualenv
256+ - run :
257+ name : Init virtualenv
258+ command : virtualenv env
259+ - run :
260+ name : install tox
261+ command : pip install --user pygithub pyyaml==3.10
262+ - run :
263+ name : upgrade setuptools
264+ command : pip install --upgrade setuptools
265+ - run :
266+ name : install local project
267+ command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
268+ - attach_workspace :
269+ at : workspace
270+ - run : python .circleci/merge_docs.py
271+
202272jobs :
203273
274+ validate_documentation :
275+ executor : py27
276+ steps :
277+ - checkout
278+ - validate_documentation
279+
204280 unittests_py27 :
205281 executor : py27
206282 steps :
@@ -248,13 +324,21 @@ jobs:
248324 - checkout
249325 - release_plugin
250326
327+ merge_docs :
328+ executor : py27
329+ steps :
330+ - checkout
331+ - merge_docs
332+
251333workflows :
252334 version : 2
253335 tests :
254- jobs : &all_jobs
336+ jobs :
255337 - py3_compat
256338 - unittests_py27
257339 - unittests_py36
340+ # - validate_documentation
341+
258342 - wagon :
259343 filters :
260344 branches :
@@ -263,21 +347,29 @@ workflows:
263347 filters :
264348 branches :
265349 only : /([0-9\.]*\-build|master)/
266- - integration_tests :
267- requires :
268- - wagon
269- - rhel_wagon
270- filters :
271- branches :
272- only : /([0-9\.]*\-build|master)/
273- - release :
274- filters :
275- branches :
276- only : /master/
277- requires :
278- - wagon
279- - rhel_wagon
280- - integration_tests
350+ # - integration_tests:
351+ # requires:
352+ # - wagon
353+ # - rhel_wagon
354+ # filters:
355+ # branches:
356+ # only: /([0-9\.]*\-build|master)/
357+ # - release:
358+ # filters:
359+ # branches:
360+ # only: /master/
361+ # requires:
362+ # - wagon
363+ # - rhel_wagon
364+ # - integration_tests
365+ # - merge_docs:
366+ # filters:
367+ # branches:
368+ # only: /master/
369+ # requires:
370+ # - release
371+ # - validate_documentation
372+
281373 nightly :
282374 triggers :
283375 - schedule :
@@ -298,10 +390,10 @@ workflows:
298390 filters :
299391 branches :
300392 only : /([0-9\.]*\-build|master)/
301- - integration_tests :
302- requires :
303- - wagon
304- - rhel_wagon
305- filters :
306- branches :
307- only : /([0-9\.]*\-build|master)/
393+ # - integration_tests:
394+ # requires:
395+ # - wagon
396+ # - rhel_wagon
397+ # filters:
398+ # branches:
399+ # only: /([0-9\.]*\-build|master)/
0 commit comments