Skip to content

Commit

Permalink
update CI to only do linting checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed May 7, 2020
1 parent bab99d3 commit 24ee46b
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 156 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ services:
before_install:
- sudo apt-get -qq update
install:
- pip install molecule
# - pip install required driver (e.g. docker, python-vagrant, shade, boto, apache-libcloud)
- pip install docker
- pip install ansible-lint
- pip install yamllint
script:
- molecule lint
# - molecule test -s docker
- bash ci-linting-checks.sh
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
2 changes: 2 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

extends: default

rules:
Expand Down
6 changes: 6 additions & 0 deletions ci-linting-checks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
ansible --version
yamllint --version
ansible-lint --version
yamllint .
ansible-lint -v --exclude=./roles --exclude=./collections .
8 changes: 0 additions & 8 deletions molecule/default/Dockerfile.j2

This file was deleted.

16 changes: 0 additions & 16 deletions molecule/default/INSTALL.rst

This file was deleted.

47 changes: 0 additions & 47 deletions molecule/default/create.yml

This file was deleted.

16 changes: 0 additions & 16 deletions molecule/default/destroy.yml

This file was deleted.

33 changes: 0 additions & 33 deletions molecule/default/molecule.yml

This file was deleted.

6 changes: 0 additions & 6 deletions molecule/default/playbook.yml

This file was deleted.

5 changes: 0 additions & 5 deletions molecule/default/prepare.yml

This file was deleted.

20 changes: 0 additions & 20 deletions molecule/tests/test_default.py

This file was deleted.

0 comments on commit 24ee46b

Please sign in to comment.