File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 4
4
# Run Ansible-lint checks
5
5
ansible-lint :
6
6
docker :
7
- - image : williamyeh /ansible:ubuntu16.04
7
+ - image : yokogawa /ansible-lint
8
8
steps :
9
9
- checkout
10
- - run :
11
- name : Install ansible-lint
12
- command : |
13
- pip install ansible-lint
14
- ansible-lint --version
15
10
- run :
16
11
name : Ansible YAML syntax check
17
12
command : |
18
13
ansible-playbook --syntax-check stackstorm.yml
19
14
- run :
20
15
name : Ansible-lint check
21
16
command : |
22
- ansible-lint -x 204 -v roles/*/*/*.yaml roles/*/*/*.yml stackstorm.yml
17
+ ansible-lint --version
18
+ ansible-lint -x 106,204,208 -v roles/*/*/*.yaml roles/*/*/*.yml stackstorm.yml
23
19
24
20
# Run YAML lint checks
25
21
yaml-lint :
Original file line number Diff line number Diff line change 13
13
- StackStorm.st2chatops
14
14
- StackStorm.st2smoketests
15
15
- role : StackStorm.ewc
16
- when : ewc_license is defined and ewc_license is not none and ewc_license | length > 0
16
+ when : ewc_license is defined and ewc_license is not none and ewc_license | length > 1
17
17
- role : StackStorm.ewc_smoketests
18
- when : ewc_license is defined and ewc_license is not none and ewc_license | length > 0
18
+ when : ewc_license is defined and ewc_license is not none and ewc_license | length > 1
You can’t perform that action at this time.
0 commit comments