Skip to content

Commit 7a270f3

Browse files
chore: migrating repository and organization, commit with boundaries structure
0 parents  commit 7a270f3

218 files changed

Lines changed: 5817 additions & 0 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.

.editorconfig

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
end_of_line = crlf
9+
10+
[*.cs]
11+
dotnet_diagnostic.IDE0055.severity = error
12+
dotnet_diagnostic.IDE0029.severity = error
13+
dotnet_diagnostic.IDE0051.severity = error
14+
dotnet_diagnostic.IDE0059.severity = error
15+
dotnet_diagnostic.IDE0060.severity = error
16+
dotnet_diagnostic.IDE0074.severity = error
17+
dotnet_diagnostic.IDE2000.severity = error
18+
dotnet_diagnostic.IDE2001.severity = error
19+
dotnet_diagnostic.IDE2002.severity = error
20+
21+
dotnet_diagnostic.IDE0005.severity = error
22+
dotnet_diagnostic.CS0168.severity = error
23+
dotnet_diagnostic.CS0219.severity = error
24+
25+
dotnet_diagnostic.CS8600.severity = error
26+
dotnet_diagnostic.CS8601.severity = error
27+
dotnet_diagnostic.CS8602.severity = error
28+
dotnet_diagnostic.CS8603.severity = error
29+
dotnet_diagnostic.CS8604.severity = error
30+
31+
[*.json]
32+
indent_style = space
33+
indent_size = 4
34+
trim_trailing_whitespace = true
35+
36+
[*.{cs,json}]
37+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto
2+
*.cs text eol=lf
3+
*.sh text eol=lf
4+
*.ps1 text eol=crlf
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: deploy comanda.stores to production environment
2+
3+
on:
4+
push:
5+
branches: [master]
6+
paths:
7+
- 'Boundaries/Comanda.Stores/**'
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
defaults:
14+
run:
15+
working-directory: Boundaries/Comanda.Stores
16+
17+
steps:
18+
- name: checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: build docker image
22+
run: |
23+
docker build -t httpsrichardy/comanda.stores:latest .
24+
25+
- name: login to docker hub
26+
uses: docker/login-action@v3
27+
with:
28+
username: ${{ secrets.DOCKERHUB_USERNAME }}
29+
password: ${{ secrets.DOCKERHUB_TOKEN }}
30+
31+
- name: push docker image
32+
run: docker push httpsrichardy/comanda.stores:latest
33+
34+
- name: deploy via easypanel webhook
35+
run: |
36+
curl -X POST ${{ secrets.STORES_PRODUCTION_DEPLOY_URL }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: deploy comanda.subscriptions to production environment
2+
3+
on:
4+
push:
5+
branches: [master]
6+
paths:
7+
- 'Boundaries/Comanda.Subscriptions/**'
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
defaults:
14+
run:
15+
working-directory: Boundaries/Comanda.Subscriptions
16+
17+
steps:
18+
- name: checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: build docker image
22+
run: |
23+
docker build -t httpsrichardy/comanda.subscriptions:latest .
24+
25+
- name: login to docker hub
26+
uses: docker/login-action@v3
27+
with:
28+
username: ${{ secrets.DOCKERHUB_USERNAME }}
29+
password: ${{ secrets.DOCKERHUB_TOKEN }}
30+
31+
- name: push docker image
32+
run: docker push httpsrichardy/comanda.subscriptions:latest
33+
34+
- name: deploy via easypanel webhook
35+
run: |
36+
curl -X POST ${{ secrets.SUBSCRIPTIONS_PRODUCTION_DEPLOY_URL }}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: comanda.stores pull request validation
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
paths:
7+
- 'Boundaries/Comanda.Stores/**'
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
defaults:
14+
run:
15+
working-directory: Boundaries/Comanda.Stores
16+
17+
steps:
18+
- name: checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: setup .NET
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: '9.0.x'
25+
26+
- name: restore project dependencies
27+
run: dotnet restore
28+
29+
- name: build
30+
run: dotnet build --no-restore --configuration Release
31+
32+
- name: run tests
33+
run: dotnet test --no-build --configuration Release --verbosity normal
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: comanda.subscriptions pull request validation
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
paths:
7+
- 'Boundaries/Comanda.Subscriptions/**'
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
defaults:
14+
run:
15+
working-directory: Boundaries/Comanda.Subscriptions
16+
17+
steps:
18+
- name: checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: setup .NET
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: '9.0.x'
25+
26+
- name: restore project dependencies
27+
run: dotnet restore
28+
29+
- name: build
30+
run: dotnet build --no-restore --configuration Release
31+
32+
- name: run tests
33+
run: dotnet test --no-build --configuration Release --verbosity normal

0 commit comments

Comments
 (0)