Skip to content

Commit 39e1469

Browse files
committed
not working
1 parent 0fb2af0 commit 39e1469

File tree

3 files changed

+65
-55
lines changed

3 files changed

+65
-55
lines changed
Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
# This workflow will build a .NET project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
1+
# # This workflow will build a .NET project
2+
# # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
33

4-
name: build_and_test_2
4+
# name: build_and_test_2
55

6-
on:
7-
push:
8-
branches: [ "tenants_and_users" ]
9-
pull_request:
10-
branches: [ "tenants_and_users" ]
6+
# on:
7+
# push:
8+
# branches: [ "tenants_and_users" ]
9+
# pull_request:
10+
# branches: [ "tenants_and_users" ]
1111

12-
jobs:
13-
build:
14-
runs-on: ubuntu-latest
15-
services:
16-
docker:
17-
image: docker:27.2.0
18-
options: --privileged
19-
# ports:
20-
# - 8082:8080
21-
# - 5435:5432
22-
# - 15672:15672
23-
# - 5672:5672
24-
# - 6379:6379
25-
# - 6380:6379
26-
# - 8001:8001
27-
# - 8004:8004
12+
# jobs:
13+
# build:
14+
# runs-on: ubuntu-latest
15+
# services:
16+
# docker:
17+
# image: docker:27.2.0
18+
# options: --privileged
19+
# # ports:
20+
# # - 8082:8080
21+
# # - 5435:5432
22+
# # - 15672:15672
23+
# # - 5672:5672
24+
# # - 6379:6379
25+
# # - 6380:6379
26+
# # - 8001:8001
27+
# # - 8004:8004
2828

29-
defaults:
30-
run:
31-
working-directory: ./
32-
steps:
33-
- name: Checkout repo
34-
uses: actions/checkout@v4
29+
# defaults:
30+
# run:
31+
# working-directory: ./
32+
# steps:
33+
# - name: Checkout repo
34+
# uses: actions/checkout@v4
3535

36-
- name: Run docker compose
37-
run: docker compose -f docker-compose.yml up --build -d
38-
working-directory: ./
36+
# - name: Run docker compose
37+
# run: docker compose -f docker-compose.yml up --build -d
38+
# working-directory: ./
3939

40-
- name: Print Docker Compose logs
41-
run: docker compose logs
40+
# - name: Print Docker Compose logs
41+
# run: docker compose logs
4242

43-
# - name: Set up Docker Compose
44-
# uses: hoverkraft-tech/compose-action@v2.0.2
45-
# with:
46-
# compose-file: |
47-
# docker-compose.yml
48-
# docker-integration-tests.yml
43+
# # - name: Set up Docker Compose
44+
# # uses: hoverkraft-tech/compose-action@v2.0.2
45+
# # with:
46+
# # compose-file: |
47+
# # docker-compose.yml
48+
# # docker-integration-tests.yml
4949

50-
- name: Setup .NET
51-
uses: actions/setup-dotnet@v3
52-
with:
53-
dotnet-version: 8.0.x
50+
# - name: Setup .NET
51+
# uses: actions/setup-dotnet@v3
52+
# with:
53+
# dotnet-version: 8.0.x
5454

55-
- name: Restore dependencies
56-
run: dotnet restore
57-
working-directory: ./src/
55+
# - name: Restore dependencies
56+
# run: dotnet restore
57+
# working-directory: ./src/
5858

59-
- name: Build
60-
run: dotnet build -c Debug --no-restore
61-
working-directory: ./src/
59+
# - name: Build
60+
# run: dotnet build -c Debug --no-restore
61+
# working-directory: ./src/
6262

63-
- name: Test
64-
if: ${{ success() }}
65-
run: dotnet test -c Debug --no-build --no-restore
66-
working-directory: ./src/
63+
# - name: Test
64+
# if: ${{ success() }}
65+
# run: dotnet test -c Debug --no-build --no-restore
66+
# working-directory: ./src/

act

17.6 MB
Binary file not shown.

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,16 @@ services:
228228
ports:
229229
- "5000:8080"
230230

231+
finisher:
232+
container_name: wait-for-completion
233+
image: alpine
234+
healthcheck:
235+
test: exit 0
236+
interval: 2s
237+
depends_on:
238+
security-api-test:
239+
condition: service_started
240+
231241
volumes:
232242
ubik-rabbitmq-vol:
233243
ubik-postgresl-vol:

0 commit comments

Comments
 (0)