Skip to content

Commit 59b4204

Browse files
David BritchDavid Britch
authored andcommitted
Merge branch 'master' into xamarin
2 parents 90482cc + f85b131 commit 59b4204

109 files changed

Lines changed: 1517 additions & 1076 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.user
77
*.userosscache
88
*.sln.docstates
9+
.vscode/
910

1011
# User-specific files (MonoDevelop/Xamarin Studio)
1112
*.userprefs

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# eShopOnContainers - Microservices Architecture and Containers based Reference Application (**BETA state** - Visual Studio 2017 and CLI environments compatible)
22
Sample .NET Core reference application, powered by Microsoft, based on a simplified microservices architecture and Docker containers. <p>
3+
**Note for Pull Requests**: We accept pull request from the community. When doing it, please do it onto the DEV branch which is the consolidated work-in-progress branch. Do not request it onto Master, if possible.
34

45
> ### DISCLAIMER
56
> **IMPORTANT:** The current state of this sample application is **BETA**, consider it version a 0.1 foundational version, therefore, many areas could be improved and change significantly while refactoring current code and implementing new features. **Feedback with improvements and pull requests from the community will be highly appreciated and accepted.**

cli-linux/build-bits-linux.sh

100644100755
Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
2-
projectList=(
3-
"/src/Services/Catalog/Catalog.API"
4-
"/src/Services/Basket/Basket.API"
5-
"/src/Services/Ordering/Ordering.API"
6-
"/src/Services/Identity/Identity.API"
7-
"/src/Web/WebMVC"
8-
"/src/Web/WebSPA"
9-
"/src/Web/WebStatus
1+
#!/bin/bash
2+
declare -a projectList=(
3+
'../src/Services/Catalog/Catalog.API'
4+
'../src/Services/Basket/Basket.API'
5+
'../src/Services/Ordering/Ordering.API'
6+
'../src/Services/Identity/Identity.API'
7+
'../src/Web/WebMVC'
8+
'../src/Web/WebSPA'
9+
'../src/Web/WebStatus'
1010
)
1111

1212
# Build SPA app
13-
pushd $(pwd)/src/Web/WebSPA
14-
npm rebuild node-sass
15-
npm run build:prod
13+
# pushd $(pwd)../src/Web/WebSPA
14+
# npm run build:prod
1615

1716
for project in "${projectList[@]}"
1817
do
@@ -28,13 +27,13 @@ do
2827
done
2928

3029
# remove old docker images:
31-
#images=$(docker images --filter=reference="eshop/*" -q)
32-
#if [ -n "$images" ]; then
33-
# docker rm $(docker ps -a -q) -f
34-
# echo "Deleting eShop images in local Docker repo"
35-
# echo $images
36-
# docker rmi $(docker images --filter=reference="eshop/*" -q) -f
37-
#fi
30+
images=$(docker images --filter=reference="eshop/*" -q)
31+
if [ -n "$images" ]; then
32+
docker rm $(docker ps -a -q) -f
33+
echo "Deleting eShop images in local Docker repo"
34+
echo $images
35+
docker rmi $(docker images --filter=reference="eshop/*" -q) -f
36+
fi
3837

3938
# No need to build the images, docker build or docker compose will
4039
# do that using the images and containers defined in the docker-compose.yml file.

docker-compose-windows.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2.1'
22

33
services:
44
basket.api:
5-
image: eshop/basket.api
5+
image: eshop/basket.api-win
66
build:
77
context: ./src/Services/Basket/Basket.API
88
dockerfile: Dockerfile.nanowin
@@ -11,31 +11,31 @@ services:
1111
- identity.api
1212

1313
catalog.api:
14-
image: eshop/catalog.api
14+
image: eshop/catalog.api-win
1515
build:
1616
context: ./src/Services/Catalog/Catalog.API
1717
dockerfile: Dockerfile.nanowin
1818
depends_on:
1919
- sql.data
2020

2121
identity.api:
22-
image: eshop/identity.api
22+
image: eshop/identity.api-win
2323
build:
2424
context: ./src/Services/Identity/Identity.API
2525
dockerfile: Dockerfile.nanowin
2626
depends_on:
2727
- sql.data
2828

2929
ordering.api:
30-
image: eshop/ordering.api
30+
image: eshop/ordering.api-win
3131
build:
3232
context: ./src/Services/Ordering/Ordering.API
3333
dockerfile: Dockerfile.nanowin
3434
depends_on:
3535
- sql.data
3636

3737
webspa:
38-
image: eshop/webspa
38+
image: eshop/webspa-win
3939
build:
4040
context: ./src/Web/WebSPA
4141
dockerfile: Dockerfile.nanowin
@@ -44,7 +44,7 @@ services:
4444
- basket.api
4545

4646
webmvc:
47-
image: eshop/webmvc
47+
image: eshop/webmvc-win
4848
build:
4949
context: ./src/Web/WebMVC
5050
dockerfile: Dockerfile.nanowin
@@ -58,18 +58,18 @@ services:
5858
image: microsoft/mssql-server-windows
5959

6060
basket.data:
61-
image: redis
62-
build:
63-
context: ./_docker/redis
64-
dockerfile: Dockerfile.nanowin
61+
image: eshop/redis-win
62+
# build:
63+
# context: ./_docker/redis
64+
# dockerfile: Dockerfile.nanowin
6565
ports:
6666
- "6379:6379"
6767

6868
rabbitmq:
69-
image: rabbitmq
70-
build:
71-
context: ./_docker/rabbitmq
72-
dockerfile: Dockerfile.nanowin
69+
image: eshop/rabbitmq-win
70+
# build:
71+
# context: ./_docker/rabbitmq
72+
# dockerfile: Dockerfile.nanowin
7373
ports:
7474
- "5672:5672"
7575

docker-compose.ci.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ services:
66
volumes:
77
- .:/src
88
working_dir: /src
9-
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && pushd ./../../.. && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
9+
command: /bin/bash -c "dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
1010

0 commit comments

Comments
 (0)