mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-360: Move environment settings to setenv.sh for consitency.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
atl_jdbc_user: 'atljira'
|
||||
atl_jvm_heap: 'PLACEHOLDER'
|
||||
atl_cluster_node_id: 'FAKEID'
|
||||
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: product_common
|
||||
|
||||
@@ -17,8 +17,11 @@ def test_dbconfig_file(host):
|
||||
def test_setenv_file(host):
|
||||
f = host.file('/opt/atlassian/jira-software/current/bin/setenv.sh')
|
||||
assert f.exists
|
||||
assert f.contains('JVM_MINIMUM_MEMORY="PLACEHOLDER"')
|
||||
assert f.contains('JVM_MAXIMUM_MEMORY="PLACEHOLDER"')
|
||||
assert f.contains('^JVM_MINIMUM_MEMORY="PLACEHOLDER"')
|
||||
assert f.contains('^JVM_MAXIMUM_MEMORY="PLACEHOLDER"')
|
||||
assert f.contains('^JIRA_HOME="/var/atlassian/application-data/jira"')
|
||||
assert f.contains('^export CATALINA_OPTS="')
|
||||
|
||||
|
||||
def test_cluster_file(host):
|
||||
f = host.file('/var/atlassian/application-data/jira/cluster.properties')
|
||||
|
||||
Reference in New Issue
Block a user