Skip to content

Commit 4ca43cb

Browse files
authored
Finished product management (#17)
1 parent f097f49 commit 4ca43cb

132 files changed

Lines changed: 2444 additions & 767 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.

.github/workflows/graph-api.yml

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,34 @@ on:
1313
branches: [ master ]
1414

1515
jobs:
16-
# build-dotnet:
17-
# runs-on: ubuntu-latest
18-
# steps:
19-
# - uses: actions/checkout@v2
20-
# - name: Setup .NET Core
21-
# uses: actions/setup-dotnet@v1
22-
# with:
23-
# dotnet-version: 3.1.101
24-
# - name: Build with dotnet
25-
# run: dotnet build src/GraphApi/CoolStore.GraphApi/CoolStore.GraphApi.csproj --configuration Release
26-
27-
build-docker:
16+
build-dotnet:
2817
runs-on: ubuntu-latest
2918
steps:
19+
3020
- uses: actions/checkout@v2
31-
- uses: aarnott/nbgv@v0.3
21+
22+
- name: Setup .NET Core
23+
uses: actions/setup-dotnet@v1
3224
with:
33-
setAllVars: true
34-
- name: Build docker image
35-
run: docker build . --file ./src/GraphApi/CoolStore.GraphApi/Dockerfile --tag image
36-
- name: Log into registry
37-
run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
38-
- name: Push image
39-
run: |
40-
VERSION=$NBGV_SemVer2
41-
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/dapr-graph-api
42-
docker tag image $IMAGE_ID:$VERSION
43-
docker push $IMAGE_ID:$VERSION
25+
dotnet-version: 3.1.201
26+
27+
- name: Build with dotnet
28+
run: dotnet build src/GraphApi/CoolStore.GraphApi/CoolStore.GraphApi.csproj --configuration Release
29+
30+
# build-docker:
31+
# runs-on: ubuntu-latest
32+
# steps:
33+
# - uses: actions/checkout@v2
34+
# - uses: aarnott/nbgv@v0.3
35+
# with:
36+
# setAllVars: true
37+
# - name: Build docker image
38+
# run: docker build . --file ./src/GraphApi/CoolStore.GraphApi/Dockerfile --tag image
39+
# - name: Log into registry
40+
# run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
41+
# - name: Push image
42+
# run: |
43+
# VERSION=$NBGV_SemVer2
44+
# IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/dapr-graph-api
45+
# docker tag image $IMAGE_ID:$VERSION
46+
# docker push $IMAGE_ID:$VERSION

.github/workflows/identity-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
- run: echo ${{ github.event.path }}
2121
- run: |
2222
git fetch --unshallow
23-
23+
2424
- uses: aarnott/nbgv@v0.3
2525
with:
2626
setAllVars: true
2727

2828
- name: Setup .NET Core
2929
uses: actions/setup-dotnet@v1
3030
with:
31-
dotnet-version: 3.1.101
31+
dotnet-version: 3.1.201
3232

3333
- name: Build with dotnet
3434
run: dotnet build src/Identity/CoolStore.IdentityServer/CoolStore.IdentityServer.csproj --configuration Release

.github/workflows/inventory-api.yml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,40 +8,42 @@ on:
88
paths:
99
- "src/Inventory/**"
1010
- "src/BuildingBlocks/**"
11-
- ".helm/inventory-api/**"
1211
- ".github/workflows/inventory-api.yml"
1312
pull_request:
1413
branches: [ master ]
1514

1615
jobs:
17-
# build-dotnet:
18-
# runs-on: ubuntu-latest
19-
# steps:
20-
# - uses: actions/checkout@v2
21-
# - name: Setup .NET Core
22-
# uses: actions/setup-dotnet@v1
23-
# with:
24-
# dotnet-version: 3.1.101
25-
# - name: Build with dotnet
26-
# run: dotnet build src/Inventory/CoolStore.InventoryApi/CoolStore.InventoryApi.csproj --configuration Release
27-
28-
build-docker:
16+
build-dotnet:
2917
runs-on: ubuntu-latest
3018
steps:
19+
3120
- uses: actions/checkout@v2
32-
- uses: aarnott/nbgv@v0.3
21+
22+
- name: Setup .NET Core
23+
uses: actions/setup-dotnet@v1
3324
with:
34-
setAllVars: true
35-
- name: Build docker image
36-
run: docker build . --file ./src/Inventory/CoolStore.InventoryApi/Dockerfile --tag image
37-
- name: Log into registry
38-
run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
39-
- name: Push image
40-
run: |
41-
VERSION=$NBGV_GitCommitIdShort
42-
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/dapr-inventory-api
43-
docker tag image $IMAGE_ID:$VERSION
44-
docker push $IMAGE_ID:$VERSION
25+
dotnet-version: 3.1.201
26+
27+
- name: Build with dotnet
28+
run: dotnet build src/Inventory/CoolStore.InventoryApi/CoolStore.InventoryApi.csproj --configuration Release
29+
30+
# build-docker:
31+
# runs-on: ubuntu-latest
32+
# steps:
33+
# - uses: actions/checkout@v2
34+
# - uses: aarnott/nbgv@v0.3
35+
# with:
36+
# setAllVars: true
37+
# - name: Build docker image
38+
# run: docker build . --file ./src/Inventory/CoolStore.InventoryApi/Dockerfile --tag image
39+
# - name: Log into registry
40+
# run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
41+
# - name: Push image
42+
# run: |
43+
# VERSION=$NBGV_GitCommitIdShort
44+
# IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/dapr-inventory-api
45+
# docker tag image $IMAGE_ID:$VERSION
46+
# docker push $IMAGE_ID:$VERSION
4547

4648
# build-publish-aks:
4749
# runs-on: ubuntu-latest

.github/workflows/product-catalog-api.yml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,40 +8,42 @@ on:
88
paths:
99
- "src/ProductCatalog/**"
1010
- "src/BuildingBlocks/**"
11-
- ".helm/product-catalog-api/**"
1211
- ".github/workflows/product-catalog-api.yml"
1312
pull_request:
1413
branches: [ master ]
1514

1615
jobs:
17-
# build-dotnet:
18-
# runs-on: ubuntu-latest
19-
# steps:
20-
# - uses: actions/checkout@v2
21-
# - name: Setup .NET Core
22-
# uses: actions/setup-dotnet@v1
23-
# with:
24-
# dotnet-version: 3.1.101
25-
# - name: Build with dotnet
26-
# run: dotnet build src/ProductCatalog/CoolStore.ProductCatalogApi/CoolStore.ProductCatalogApi.csproj --configuration Release
27-
28-
build-docker:
16+
build-dotnet:
2917
runs-on: ubuntu-latest
3018
steps:
19+
3120
- uses: actions/checkout@v2
32-
- uses: aarnott/nbgv@v0.3
21+
22+
- name: Setup .NET Core
23+
uses: actions/setup-dotnet@v1
3324
with:
34-
setAllVars: true
35-
- name: Build docker image
36-
run: docker build . --file ./src/ProductCatalog/CoolStore.ProductCatalogApi/Dockerfile --tag image
37-
- name: Log into registry
38-
run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
39-
- name: Push image
40-
run: |
41-
VERSION=$NBGV_GitCommitIdShort
42-
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/dapr-product-catalog-api
43-
docker tag image $IMAGE_ID:$VERSION
44-
docker push $IMAGE_ID:$VERSION
25+
dotnet-version: 3.1.201
26+
27+
- name: Build with dotnet
28+
run: dotnet build src/ProductCatalog/CoolStore.ProductCatalogApi/CoolStore.ProductCatalogApi.csproj --configuration Release
29+
30+
# build-docker:
31+
# runs-on: ubuntu-latest
32+
# steps:
33+
# - uses: actions/checkout@v2
34+
# - uses: aarnott/nbgv@v0.3
35+
# with:
36+
# setAllVars: true
37+
# - name: Build docker image
38+
# run: docker build . --file ./src/ProductCatalog/CoolStore.ProductCatalogApi/Dockerfile --tag image
39+
# - name: Log into registry
40+
# run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
41+
# - name: Push image
42+
# run: |
43+
# VERSION=$NBGV_GitCommitIdShort
44+
# IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/dapr-product-catalog-api
45+
# docker tag image $IMAGE_ID:$VERSION
46+
# docker push $IMAGE_ID:$VERSION
4547

4648
# build-publish-aks:
4749
# runs-on: ubuntu-latest

.helm/inventory-api/Chart.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.helm/inventory-api/templates/NOTES.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

.helm/inventory-api/templates/_helpers.tpl

Lines changed: 0 additions & 23 deletions
This file was deleted.

.helm/inventory-api/templates/deployment.yaml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.helm/inventory-api/templates/service.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.helm/inventory-api/values.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)