The function setupJira in $STACI_HOME/functions/autoconfigs.f might only work locally.
It should be tested on Virtualbox as provider, both on single host and in cluster mode.
Maybe Docker client needs to be pointing to the external host or cluster if used. This is not tested, and should be.
If it needs it, use $STACI_HOME/functions/build.f as an inspiration.
A bit like this :
local provider_type=$(getProperty "provider_type")
local cluster=$(getProperty "createCluster")
if [ "$cluster" == "1" ]; then
eval $(docker-machine env "$node_prefix-jira")
else
if [ ! "$provider_type" == "none" ];then
node_prefix=$(getProperty "clusterNodePrefix")
eval $(docker-machine env $node_prefix-Atlassian)
fi
fi
The function setupJira in $STACI_HOME/functions/autoconfigs.f might only work locally. It should be tested on Virtualbox as provider, both on single host and in cluster mode.
Maybe Docker client needs to be pointing to the external host or cluster if used. This is not tested, and should be.
If it needs it, use $STACI_HOME/functions/build.f as an inspiration.
A bit like this :