mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITSD-94667 Debug Tue 14 Jun 2022 15:53:10 AEST
This commit is contained in:
@@ -37,6 +37,7 @@ atl_servicedesk_url_map:
|
|||||||
atl_servicedesk_metadata_url: "{{ atl_servicedesk_url_map[atl_product_version] | default(atl_servicedesk_url_map['default']) }}"
|
atl_servicedesk_metadata_url: "{{ atl_servicedesk_url_map[atl_product_version] | default(atl_servicedesk_url_map['default']) }}"
|
||||||
|
|
||||||
atl_install_jsd_as_obr: false
|
atl_install_jsd_as_obr: false
|
||||||
|
atl_obr_download_url: ''
|
||||||
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
||||||
|
|
||||||
force_version_update: false
|
force_version_update: false
|
||||||
|
|||||||
@@ -1,37 +1,42 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Get the installer product version info
|
- name: Source jira-servicedesk obr from marketplace
|
||||||
uri:
|
|
||||||
url: "{{ atl_mpac_products }}/key/jira/versions/name/{{ atl_product_version }}"
|
|
||||||
return_content: yes
|
|
||||||
register: atl_product_version_info
|
|
||||||
|
|
||||||
- name: Show the returned build number
|
- name: Get the installer product version info
|
||||||
debug:
|
uri:
|
||||||
msg="buildNumber={{ atl_product_version_info.json.buildNumber }}"
|
url: "{{ atl_mpac_products }}/key/jira/versions/name/{{ atl_product_version }}"
|
||||||
|
return_content: yes
|
||||||
|
register: atl_product_version_info
|
||||||
|
|
||||||
- name: Get the JSD build version info
|
- name: Show the returned build number
|
||||||
uri:
|
debug:
|
||||||
url: "{{ atl_mpac_products }}/key/jira-servicedesk/versions/latest?application=\
|
msg="buildNumber={{ atl_product_version_info.json.buildNumber }}"
|
||||||
jira&applicationBuild={{ atl_product_version_info.json.buildNumber }}"
|
|
||||||
return_content: yes
|
|
||||||
register: atl_jsd_build_info
|
|
||||||
|
|
||||||
- name: Show the returned obr binary href
|
- name: Get the JSD build version info
|
||||||
debug:
|
uri:
|
||||||
msg="obr_ref={{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
url: "{{ atl_mpac_products }}/key/jira-servicedesk/versions/latest?application=\
|
||||||
|
jira&applicationBuild={{ atl_product_version_info.json.buildNumber }}"
|
||||||
|
return_content: yes
|
||||||
|
register: atl_jsd_build_info
|
||||||
|
|
||||||
- name: Set atl_obr_download_url
|
- name: Show the returned obr binary href
|
||||||
set_fact:
|
debug:
|
||||||
atl_obr_download_url: "{{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
msg="obr_ref={{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
||||||
|
|
||||||
- name: Show the obr filename
|
- name: Set atl_obr_download_url
|
||||||
debug:
|
set_fact:
|
||||||
msg="obr_name=jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
atl_obr_download_url: "{{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
||||||
|
|
||||||
- name: Set the obr filename
|
- name: Show the obr filename
|
||||||
set_fact:
|
debug:
|
||||||
atl_obr_filename: "jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
msg="obr_name=jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
||||||
|
|
||||||
|
- name: Set the obr filename
|
||||||
|
set_fact:
|
||||||
|
atl_obr_filename: "jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
||||||
|
|
||||||
|
when:
|
||||||
|
- atl_obr_download_url is undefined
|
||||||
|
|
||||||
- name: is shared_home set ?
|
- name: is shared_home set ?
|
||||||
debug:
|
debug:
|
||||||
@@ -48,7 +53,7 @@
|
|||||||
download_obr: true
|
download_obr: true
|
||||||
move_obr: false
|
move_obr: false
|
||||||
atl_obr_download: "{{ atl_installer_temp }}/{{ atl_obr_filename }}"
|
atl_obr_download: "{{ atl_installer_temp }}/{{ atl_obr_filename }}"
|
||||||
atl_obr_shared_download: "{{ atl_product_home_shared_download_dir }}/{{ atl_obr_filename }}.obr"
|
atl_obr_shared_download: "{{ atl_product_home_shared_download_dir }}/{{ atl_obr_filename }}"
|
||||||
atl_obr_moving_lock: "{{ atl_product_home_shared_download_dir }}/{{ atl_obr_filename }}_moving"
|
atl_obr_moving_lock: "{{ atl_product_home_shared_download_dir }}/{{ atl_obr_filename }}_moving"
|
||||||
atl_obr_completed_lock: "{{ atl_product_home_shared_download_dir }}/{{ atl_obr_filename }}_completed"
|
atl_obr_completed_lock: "{{ atl_product_home_shared_download_dir }}/{{ atl_obr_filename }}_completed"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user