capistrano-docker_cluster 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGE_LOG.md +4 -0
- data/bin/docker-cluster +9 -1
- data/lib/capistrano/docker_cluster/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 444ef3fec5be6c32f7f8cf8e2ee1c1bfb89a153372c6213ff8b505ba46ee4ba7
|
4
|
+
data.tar.gz: e36145b530ac39683213d08aff2111930cc5a7a0a75094dfd2a6a15f6fffa7d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9dfeb4a4e6d4b4d97c4a31d5aaf8c1f5e3df7df51e54c3248793d6675bf7616e7c7f3bd25ade0d264db63ef9d076249ac754b609bd3477997c062bab240ef41
|
7
|
+
data.tar.gz: ff8957d0fba36b8b62fd65127aae9419943da6ff3208cc80484234f5e1f3ef61b3f261ee62515b31690b5876348c42a75ec7178c8b11a1add69ada8f3ee183fb
|
data/CHANGE_LOG.md
CHANGED
data/bin/docker-cluster
CHANGED
@@ -41,6 +41,9 @@
|
|
41
41
|
# You can also specify the command by using --. Anything after a double hyphen will be appended to the docker
|
42
42
|
# command line verbatim.
|
43
43
|
#
|
44
|
+
# The --clear-command flag can be used to clear the docker run command. Use this if you need to completely override
|
45
|
+
# command that has already been set on the command line.
|
46
|
+
#
|
44
47
|
# The --force parameter can be used to specify that containers should always be restarted. The default behavior
|
45
48
|
# is to only restart containers if they are not running the specified image.
|
46
49
|
#
|
@@ -116,6 +119,9 @@ read_arguments() {
|
|
116
119
|
[[ -z $val ]] && shift && val=$1
|
117
120
|
DOCKER_RUN_COMMAND="$DOCKER_RUN_COMMAND $val"
|
118
121
|
;;
|
122
|
+
--clear-command )
|
123
|
+
DOCKER_RUN_COMMAND=""
|
124
|
+
;;
|
119
125
|
--one-off )
|
120
126
|
ONE_OFF_CONTAINER="1"
|
121
127
|
CONTAINER_NAME_PREFIX=""
|
@@ -150,7 +156,9 @@ read_arguments() {
|
|
150
156
|
* )
|
151
157
|
DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS $1"
|
152
158
|
esac
|
153
|
-
|
159
|
+
if [ ${#@} -ne 0 ]; then
|
160
|
+
shift
|
161
|
+
fi
|
154
162
|
done
|
155
163
|
}
|
156
164
|
|