Skip to content

Commit

Permalink
ecosystem-test validate-docs (#70)
Browse files Browse the repository at this point in the history
* ecosystem-test validate-docs

* add job
__NODOCS__

* add job - validate_documentation

* add job validate_version

* add command and job for validate_version

Co-authored-by: nely <[email protected]>
Co-authored-by: EarthmanT <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2021
1 parent 06c8a41 commit 5a5d03a
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,71 @@ commands:
at: workspace
- run: python .circleci/package_release.py

validate_version:
steps:
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote --recursive
- run:
name: Download pip
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
- run:
name: Install pip
command: sudo python get-pip.py
- run:
name: Install virtualenv
command: pip install --user virtualenv
- run:
name: Init virtualenv
command: virtualenv env
- run:
name: install tox
command: pip install --user pygithub pyyaml==3.10
- run:
name: upgrade setuptools
command: pip install --upgrade setuptools
- run:
name: install local project
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
- attach_workspace:
at: workspace
- run: ecosystem-test validate-plugin-version

validate_documentation:
steps:
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote --recursive
- run:
name: Download pip
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
- run:
name: Install pip
command: sudo python get-pip.py
- run:
name: Install virtualenv
command: pip install --user virtualenv
- run:
name: Init virtualenv
command: virtualenv env
- run:
name: install tox
command: pip install --user pygithub pyyaml==3.10
- run:
name: upgrade setuptools
command: pip install --upgrade setuptools
- run:
name: install local project
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
- attach_workspace:
at: workspace
- run: ecosystem-test validate-docs


create_manager_container_505:
steps:
- run:
Expand Down Expand Up @@ -314,12 +379,26 @@ jobs:
- checkout
- release_plugin

validate_documentation:
executor: py36
steps:
- checkout
- validate_documentation

validate_version:
executor: py36
steps:
- checkout
- validate_version

workflows:
version: 2.1
tests:
jobs:
- py3_compat
- unittests_py36
- validate_documentation
- validate_version
- wagon:
filters:
branches:
Expand Down

0 comments on commit 5a5d03a

Please sign in to comment.