mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 01:43:06 -06:00
DCD-224: Move to testing downloads against jira-core.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
hosts: all
|
||||
vars:
|
||||
atl_product_family: "jira"
|
||||
atl_product_edition: "jira-software"
|
||||
atl_product_edition: "jira-core"
|
||||
atl_product_user: "jira"
|
||||
atl_product_version: "7.13.2"
|
||||
roles:
|
||||
|
||||
@@ -8,18 +8,18 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
|
||||
|
||||
def test_version_is_correct(host):
|
||||
verfile = host.file('/media/atl/jira/shared/jira-software.version')
|
||||
verfile = host.file('/media/atl/jira/shared/jira-core.version')
|
||||
assert verfile.exists
|
||||
|
||||
assert verfile.content.decode("UTF-8").strip() == "7.13.2"
|
||||
|
||||
def test_is_downloaded(host):
|
||||
installer = host.file('/opt/atlassian/tmp/jira-software.7.13.2.tar.gz')
|
||||
installer = host.file('/opt/atlassian/tmp/jira-core.7.13.2.tar.gz')
|
||||
assert installer.exists
|
||||
assert installer.user == 'root'
|
||||
|
||||
def test_is_unpacked(host):
|
||||
installer = host.file('/opt/atlassian/jira-software/7.13.2')
|
||||
installer = host.file('/opt/atlassian/jira-core/7.13.2')
|
||||
assert installer.exists
|
||||
assert installer.is_directory
|
||||
assert installer.user == 'jira'
|
||||
|
||||
Reference in New Issue
Block a user