Skip to content

Commit

Permalink
Merge pull request #276 from StackStorm/disable-ewc-unstable
Browse files Browse the repository at this point in the history
Disable EWC install for unstable packages
  • Loading branch information
arm4b authored Sep 29, 2020
2 parents a47144e + 8b3aafe commit 75193b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@ jobs:
# Run Ansible-lint checks
ansible-lint:
docker:
- image: williamyeh/ansible:ubuntu16.04
- image: yokogawa/ansible-lint
steps:
- checkout
- run:
name: Install ansible-lint
command: |
pip install ansible-lint
ansible-lint --version
- run:
name: Ansible YAML syntax check
command: |
ansible-playbook --syntax-check stackstorm.yml
- run:
name: Ansible-lint check
command: |
ansible-lint -x 204 -v roles/*/*/*.yaml roles/*/*/*.yml stackstorm.yml
ansible-lint --version
ansible-lint -x 106,204,208 -v roles/*/*/*.yaml roles/*/*/*.yml stackstorm.yml
# Run YAML lint checks
yaml-lint:
Expand Down
4 changes: 2 additions & 2 deletions stackstorm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
- StackStorm.st2chatops
- StackStorm.st2smoketests
- role: StackStorm.ewc
when: ewc_license is defined and ewc_license is not none and ewc_license | length > 0
when: ewc_license is defined and ewc_license is not none and ewc_license | length > 1
- role: StackStorm.ewc_smoketests
when: ewc_license is defined and ewc_license is not none and ewc_license | length > 0
when: ewc_license is defined and ewc_license is not none and ewc_license | length > 1

0 comments on commit 75193b9

Please sign in to comment.