Mercurial > hg > cc > azure
comparison master/bin/share.sh @ 33:4c117ee8ed75
fixDates, _fixAndMerge, _doFetch
towards rework of date fixup
share.sh, old_invoke.sh
recover the old approach to sharing, which works
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Tue, 20 Nov 2018 14:49:07 +0000 |
parents | a7637c994964 |
children |
comparison
equal
deleted
inserted
replaced
32:9342f6269edf | 33:4c117ee8ed75 |
---|---|
26 np=$(az vmss get-instance-view -g $group -n $name | jq '.virtualMachine.statusesSummary | .[0].count') | 26 np=$(az vmss get-instance-view -g $group -n $name | jq '.virtualMachine.statusesSummary | .[0].count') |
27 echo "|$name|$cmd|$@|$np|" 1>&2 | 27 echo "|$name|$cmd|$@|$np|" 1>&2 |
28 az vmss list-instance-connection-info -g $group -n $name | tr -s ',": ' '\t' | \ | 28 az vmss list-instance-connection-info -g $group -n $name | tr -s ',": ' '\t' | \ |
29 tail -n +2 | head -$np |cut -f 3-5 | tee /dev/stderr |\ | 29 tail -n +2 | head -$np |cut -f 3-5 | tee /dev/stderr |\ |
30 while read id ip port | 30 while read id ip port |
31 do tar -czf - "$@" | "$(dirname "$0")"/internal/invoke.sh -x "" bash /dev/null "" $port $ip -c \""$cmd"\" | 31 do tar -czf - "$@" | "$(dirname "$0")"/internal/old_invoke.sh -x "" bash /dev/null "" $port $ip -c \""$cmd"\" |
32 done | 32 done |
33 | 33 |