ITSD-94667 When providing alternative url a tarball is used instead of bin

This commit is contained in:
Glenn Stewart
2022-06-22 14:04:24 +10:00
parent 01cd77619f
commit 1c13113e02
2 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
atl_jsd_build: "8.14.0" atl_jsd_build: "8.14.0"
atl_product_download_url: "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.14.0.tar.gz" atl_product_download_url: "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.14.0.tar.gz"
atl_obr_download_url: "https://marketplace.atlassian.com/download/apps/1213632/version/1040180000" atl_obr_download_url: "https://marketplace.atlassian.com/download/apps/1213632/version/1040180000"
atl_systemd_service_name: "jira.service" atl_systemd_service_name: "jira.service"
atl_jdbc_encoding: 'UNICODE' atl_jdbc_encoding: 'UNICODE'
atl_jdbc_collation: 'C' atl_jdbc_collation: 'C'

View File

@@ -15,12 +15,12 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "8.14.0" assert verfile.content.decode("UTF-8").strip() == "8.14.0"
def test_is_downloaded(host): def test_is_downloaded(host):
installer = host.file('/media/atl/downloads/jira-software.8.14.0-x64.bin') installer = host.file('/media/atl/downloads/jira-software.8.14.0.tar.gz')
assert installer.exists assert installer.exists
assert installer.user == 'root' assert installer.user == 'root'
def test_completed_lockfile(host): def test_completed_lockfile(host):
lockfile = host.file('/media/atl/downloads/jira-software.8.14.0-x64.bin_completed') lockfile = host.file('/media/atl/downloads/jira-software.8.14.0-x64.tar.gz_completed')
assert lockfile.exists assert lockfile.exists
assert lockfile.user == 'root' assert lockfile.user == 'root'