xebialabs-community / xld-docker-plugin

*** Use the supported plugin now *** The Docker plugin is a XL Deploy plugin that adds capability for deploying applications to a Docker machines or Docker Swarm Clusters.
https://xebialabs.com/plugins/docker/
7 stars 7 forks source link

if tls-verify is unchecked commands should not fail looking for TLS variables #9

Closed mickfeech closed 1 year ago

mickfeech commented 7 years ago

If TLS is unchecked jobs will fail if DOCKER_TLS_VERIFY and DOCKER_CERT_PATH are not set. Furthermore, if TLS is unchecked and you don't supply a certificate path the job also fails because that item is empty.


Executing /tmp/ot-20170209T191940267/working.directory.tmp/docker-compose/up.sh on host Infrastructure/Unix/server1
TLS configuration is invalid - make sure your DOCKER_TLS_VERIFY and DOCKER_CERT_PATH are set correctly.
You might need to run `eval "$(docker-machine env default)"`
Execution failed with exit code 1```
bmoussaud commented 7 years ago

@mickfeech thank you for this report. can you create a PR to fix it ? except this issue, does the plugin offer enough features ?