@@ -231,6 +231,116 @@ commands:
231231 at : workspace
232232 - run : python .circleci/package_release.py
233233
234+
235+ validate_documentation :
236+ steps :
237+ - run :
238+ name : " Pull Submodules"
239+ command : |
240+ git submodule init
241+ git submodule update --remote --recursive
242+ - run :
243+ name : Download pip
244+ command : curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
245+ - run :
246+ name : Install pip
247+ command : sudo python get-pip.py
248+ - run :
249+ name : Install virtualenv
250+ command : pip install --user virtualenv
251+ - run :
252+ name : Init virtualenv
253+ command : virtualenv env
254+ - run :
255+ name : install tox
256+ command : pip install --user pygithub pyyaml==3.10
257+ - run :
258+ name : upgrade setuptools
259+ command : pip install --upgrade setuptools
260+ - run :
261+ name : install local project
262+ command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
263+ - attach_workspace :
264+ at : workspace
265+ - run : python .circleci/validate_docs.py
266+
267+ validate_version :
268+ steps :
269+ - run :
270+ name : " Pull Submodules"
271+ command : |
272+ git submodule init
273+ git submodule update --remote --recursive
274+ - run :
275+ name : Download pip
276+ command : curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
277+ - run :
278+ name : Install pip
279+ command : sudo python get-pip.py
280+ - run :
281+ name : Install virtualenv
282+ command : pip install --user virtualenv
283+ - run :
284+ name : Init virtualenv
285+ command : virtualenv env
286+ - run :
287+ name : install tox
288+ command : pip install --user pygithub pyyaml==3.10
289+ - run :
290+ name : upgrade setuptools
291+ command : pip install --upgrade setuptools
292+ - run :
293+ name : install local project
294+ command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
295+ - attach_workspace :
296+ at : workspace
297+ - run : python .circleci/validate_version.py
298+
299+
300+ merge_docs :
301+ steps :
302+ - attach_workspace :
303+ at : workspace
304+ - run :
305+ name : " Pull Submodules"
306+ command : |
307+ git submodule init
308+ git submodule update --remote --recursive
309+ - run :
310+ name : Set Python
311+ command : |
312+ if ! pyenv -v COMMAND &> /dev/null
313+ then
314+ echo "pyenv could not be found"
315+ exit
316+ else
317+ pyenv global 3.6.5
318+ fi
319+ - run :
320+ name : Download pip
321+ command : curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
322+ - run :
323+ name : Install pip
324+ command : sudo python get-pip.py
325+ - run :
326+ name : Install virtualenv
327+ command : pip install --user virtualenv
328+ - run :
329+ name : Init virtualenv
330+ command : virtualenv env
331+ - run :
332+ name : install tox
333+ command : pip install --user pygithub pyyaml==3.10
334+ - run :
335+ name : upgrade setuptools
336+ command : pip install --upgrade setuptools
337+ - run :
338+ name : install local project
339+ command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
340+ - attach_workspace :
341+ at : workspace
342+ - run : python .circleci/merge_docs.py
343+
234344jobs :
235345
236346 unittests_py27 :
@@ -249,6 +359,18 @@ jobs:
249359 - checkout
250360 - check_py3_compat
251361
362+ validate_version :
363+ executor : py36
364+ steps :
365+ - checkout
366+ - validate_version
367+
368+ validate_documentation :
369+ executor : py36
370+ steps :
371+ - checkout
372+ - validate_documentation
373+
252374 wagon :
253375 executor : wagon_generator
254376 steps :
@@ -292,12 +414,20 @@ jobs:
292414 - checkout
293415 - release_plugin
294416
417+ merge_docs :
418+ executor : py36
419+ steps :
420+ - checkout
421+ - merge_docs
422+
295423workflows :
296424 version : 2
297425 tests :
298426 jobs :
299427 - py3_compat
300428 - unittests_py27
429+ - validate_version
430+ - validate_documentation
301431 - unittests_py36 :
302432 requires :
303433 - py3_compat
@@ -316,20 +446,6 @@ workflows:
316446 requires :
317447 - wagon
318448 - rhel_wagon
319- # - integration_tests_505:
320- # requires:
321- # - unittests_py27
322- # - build_bundle
323- # filters:
324- # branches:
325- # only: /([0-9\.]*\-build|master|dev)/
326- # - integration_tests_510:
327- # requires:
328- # - unittests_py36
329- # - build_bundle
330- # filters:
331- # branches:
332- # only: /([0-9\.]*\-build|master|dev)/
333449 - release :
334450 filters :
335451 branches :
@@ -339,8 +455,13 @@ workflows:
339455 - wagon
340456 - rhel_wagon
341457 - build_bundle
342- # - integration_tests_505
343- # - integration_tests_510
458+ - merge_docs :
459+ filters :
460+ branches :
461+ only : /master/
462+ requires :
463+ - release
464+ - validate_documentation
344465
345466 nightly :
346467 triggers :
0 commit comments