mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-224: Add Jira cluster config.
This commit is contained in:
@@ -16,6 +16,8 @@ provisioner:
|
||||
skip-tags: runtime_pkg
|
||||
lint:
|
||||
name: ansible-lint
|
||||
options:
|
||||
x: ["701"]
|
||||
inventory:
|
||||
links:
|
||||
group_vars: ../../../../group_vars/
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
atl_product_version: "7.13.2"
|
||||
atl_jdbc_user: 'atljira'
|
||||
atl_jvm_heap: 'PLACEHOLDER'
|
||||
atl_cluster_node_id: 'FAKEID'
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: product_common
|
||||
|
||||
@@ -19,3 +19,9 @@ def test_setenv_file(host):
|
||||
assert f.exists
|
||||
assert f.contains('JVM_MINIMUM_MEMORY="PLACEHOLDER"')
|
||||
assert f.contains('JVM_MAXIMUM_MEMORY="PLACEHOLDER"')
|
||||
|
||||
def test_cluster_file(host):
|
||||
f = host.file('/var/atlassian/application-data/jira/cluster.properties')
|
||||
assert f.exists
|
||||
assert f.contains('jira.node.id = FAKEID')
|
||||
assert f.contains('jira.shared.home = /media/atl/jira/shared')
|
||||
|
||||
Reference in New Issue
Block a user