This commit is contained in:
Christian Arenas 2017-07-05 08:24:37 +02:00
commit 060cc48cf4
9 changed files with 12 additions and 11 deletions

View File

@ -3,7 +3,8 @@
declare -x path=$1 declare -x path=$1
if [ -z "$path" ]; then if [ -z "$path" ]; then
$path="$(pwd)/../src"; $path="$(pwd)/../src";
echo -e "\e[33mNo path passed. Will use $path"
fi fi
declare -a projectList=( declare -a projectList=(
@ -30,9 +31,9 @@ do
echo -e "\e[33m\tRemoving old publish output" echo -e "\e[33m\tRemoving old publish output"
pushd $path/$project pushd $path/$project
rm -rf obj/Docker/publish rm -rf obj/Docker/publish
echo -e "\e[33m\tRestoring project" echo -e "\e[33m\tRestoring project $project"
dotnet restore dotnet restore
echo -e "\e[33m\tBuilding and publishing projects" echo -e "\e[33m\tBuilding and publishing $project"
dotnet publish -o obj/Docker/publish dotnet publish -o obj/Docker/publish
popd popd
done done

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
services: services:
sql.data: sql.data:

View File

@ -1,4 +1,4 @@
version: '3' version: '2.1'
services: services:
ci-build: ci-build:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
services: services:
basket.api: basket.api:

View File

@ -1,4 +1,4 @@
version: '3' version: '2.1'
# The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine. # The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine.
# The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:

View File

@ -1,4 +1,4 @@
version: '3' version: '2.1'
# The Production docker-compose file has to have the external/real IPs or DNS names for the services # The Production docker-compose file has to have the external/real IPs or DNS names for the services
# The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:

View File

@ -1,4 +1,4 @@
version: '3' version: '2.1'
services: services:
basket.api: basket.api:

View File

@ -1,4 +1,4 @@
version: '3' version: '2.1'
services: services:
basket.api: basket.api:

View File

@ -1,4 +1,4 @@
version: '3' version: '2.1'
services: services:
graceperiodmanager: graceperiodmanager: