Skip to content

Commit

Permalink
Add increased application upload timeouts for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
maburlik committed Oct 23, 2020
1 parent 41ae206 commit f098f96
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../CounterActorApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
sfctl application provision --application-type-build-path CounterActorApplication
sfctl application create --app-name fabric:/CounterActorApplication --app-type CounterActorApplicationType --app-version 1.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../CounterActorApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../VisualObjectApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
sfctl application provision --application-type-build-path VisualObjectApplication
if [ $# -eq 0 ]
then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../VisualObjectApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../EchoServerApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
sfctl application provision --application-type-build-path EchoServerApplication
if [ $# -eq 0 ]
then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../EchoServerApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../EchoServerApplication2"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
sfctl application provision --application-type-build-path EchoServerApplication2

# Check parameters to see if InstanceCount was previously specified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../EchoServerApplication2"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../GatewayApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
sfctl application provision --application-type-build-path GatewayApplication

if [ $# -eq 0 ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../GatewayApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../WatchdogApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
sfctl application provision --application-type-build-path WatchdogApplication

if [ $# -eq 0 ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
appPkg="$DIR/../WatchdogApplication"

sfctl application upload --path $appPkg --show-progress
sfctl application upload --path $appPkg --show-progress -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion reliable-services-embedded-jetty-sample/Scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else
version="1.0.0"
fi

sfctl application upload --path $appPkgPath
sfctl application upload --path $appPkgPath -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion reliable-services-embedded-jetty-sample/Scripts/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ "$#" != "0" ]];then
else
version="1.0.0"
fi
sfctl application upload --path $appPkgPath
sfctl application upload --path $appPkgPath -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else
version="1.0.0"
fi

sfctl application upload --path $appPkgPath
sfctl application upload --path $appPkgPath -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ "$#" != "0" ]];then
else
version="1.0.0"
fi
sfctl application upload --path $appPkgPath
sfctl application upload --path $appPkgPath -t 1200
if [ $? -ne 0 ]; then
echo "Application copy failed."
exit 1
Expand Down

0 comments on commit f098f96

Please sign in to comment.