Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for dokku hostname #75

Merged
merged 1 commit into from
Jul 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
dokku_plugins:
- name: global-cert
url: https://github.com/josegonzalez/dokku-global-cert
dokku_hostname: test.domain
10 changes: 10 additions & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@
- name: Check that dokku_global_cert module can parse output
dokku_global_cert:
state: absent

- name: Get dokku_hostname # noqa 301
command: dokku domains
register: dokku_domains

- name: Check that dokku_hostname is set correctly
assert:
that:
- "'test.domain' in dokku_domains.stdout"
msg: "hostname 'test.domain' not found in output of 'dokku domains'"