comparison scripts/exec-all-projects.sh @ 241:fa943a14123d production v2.0.0

flow: Merged <release> 'v2.0.0' to <master> ('production').
author smith@nwoca.org
date Wed, 10 Jan 2018 01:45:28 +0000
parents f6bea554980e
children
comparison
equal deleted inserted replaced
232:773ec9cc88a9 241:fa943a14123d
8 # the second paramter specifies the command to execute against each 8 # the second paramter specifies the command to execute against each
9 # compose project. 9 # compose project.
10 # 10 #
11 # examples: 11 # examples:
12 # 12 #
13 # /ssdt/scripts/exec-all-projects.sh /data/pilot docker-compose ps 13 # /ssdt/scripts/exec-all-projects.sh /data/prod docker-compose ps
14 # 14 #
15 # executes "docker-compose ps" against all projects under /data/pilot 15 # executes "docker-compose ps" against all projects under /data/prod
16 # 16 #
17 # /ssdt/scripts/exec-all-projects.sh /data/pilot /ssdt/ /ssdt/scripts/backup-usas.sh 17 # /ssdt/scripts/exec-all-projects.sh /data/prod /ssdt/ /ssdt/scripts/backup-usas.sh
18 # 18 #
19 # runs backup-usas.sh script against all projects under /data/pilot 19 # runs backup-usas.sh script against all projects under /data/prod
20 # 20 #
21 # /ssdt/scripts/exec-all-projects.sh /data/pilot "/ssdt/scripts/capture.sh | /ssdt/scripts/send.sh -" 21 # /ssdt/scripts/exec-all-projects.sh /data/prod "/ssdt/scripts/capture.sh | /ssdt/scripts/send.sh -"
22 # 22 #
23 # captures the log files from all containers and sends one long file per project 23 # captures the log files from all containers and sends one log file per project
24 # to the SSDT support server. 24 # to the SSDT support server.
25 #
26 # 25 #
27 ## 26 ##
28 27
29 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh" 28 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh"
30 29