Skip to content

Commit

Permalink
Testinfra tests (#44)
Browse files Browse the repository at this point in the history
* master branch

* fixed lint

* aws runner for docker check
  • Loading branch information
azeliashchonak authored and Alexander Kharkevich committed Mar 4, 2019
1 parent 94b524e commit 7a0d264
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Docker jenkins:
script:
- molecule test -s default
tags:
- docker
- aws

AWS jenkins:
variables:
Expand Down
5 changes: 5 additions & 0 deletions molecule/resources/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ def test_hosts_file(host):
assert f.exists
assert f.user == 'root'
assert f.group == 'root'


def test_jenkins(host):
assert host.service('jenkins').is_running
assert host.socket("tcp://0.0.0.0:8080").is_listening

0 comments on commit 7a0d264

Please sign in to comment.