9 Commits

Author SHA1 Message Date
steinhelge f80388351f Update .gitea/workflows/build.yml
Build & Push MinAttest / Wake Zorin (push) Successful in 12s
Build & Push MinAttest / build-and-push (push) Failing after 9m13s
2025-12-16 11:25:00 +00:00
steinhelge 9332f77959 Update .gitea/workflows/build.yml 2025-12-16 11:24:25 +00:00
steinhelge 6353e0c7b3 Update frontend/minattest-app-host/appsettings.Development.json
Build & Push MinAttest / build-and-push (push) Successful in 2m0s
2025-11-27 14:21:40 +00:00
steinhelge 1161717f74 Update frontend/minattest-app-host/appsettings.json
Build & Push MinAttest / build-and-push (push) Has been cancelled
2025-11-27 14:21:15 +00:00
steinhelge b50f928318 Update backend/src/MinAttest.Api/appsettings.json
Build & Push MinAttest / build-and-push (push) Successful in 9m33s
2025-11-27 13:57:57 +00:00
steinhelge 256858f169 Update .gitea/workflows/build.yml
Build & Push MinAttest / build-and-push (push) Successful in 19s
2025-11-27 12:46:50 +00:00
steinhelge fcab8b4a25 Update backend/src/MinAttest.Api/appsettings.json
Build & Push MinAttest / build-and-push (push) Successful in 8m36s
2025-11-27 12:27:10 +00:00
steinhelge fa62efc2e3 Merge pull request 'dev' (#3) from dev into main
Build & Push MinAttest / build-and-push (push) Successful in 17s
Reviewed-on: #3
2025-11-18 20:20:04 +00:00
steinhelge 3a4e8a2f5a Merge pull request 'dev' (#2) from dev into main
Build & Push MinAttest / build-and-push (push) Successful in 5m15s
Reviewed-on: #2
2025-11-17 20:35:47 +00:00
4 changed files with 111 additions and 91 deletions
+20
View File
@@ -8,8 +8,22 @@ on:
env: env:
REGISTRY: gitea.theriise.net/steinhelge REGISTRY: gitea.theriise.net/steinhelge
REGISTRY_HOST: gitea.theriise.net
REGISTRY_NAMESPACE: steinhelge
IMAGE_NAME: minattest
jobs: jobs:
wake-zorin:
name: Wake Zorin
runs-on: waker # t610-waker-runneren med label "waker"
steps:
- name: Wake Zorin via WOL
run: /home/steinhelge/wake-zorin.sh
- name: Vent på at Zorin våkner
run: sleep 10
build-and-push: build-and-push:
runs-on: self-hosted runs-on: self-hosted
@@ -76,4 +90,10 @@ jobs:
- name: Push App Host (${{ env.TAG }}) - name: Push App Host (${{ env.TAG }})
run: | run: |
docker push $REGISTRY/minattest-app-host:${TAG} docker push $REGISTRY/minattest-app-host:${TAG}
- name: Deploy (docker compose pull + up)
run: |
cd /srv/minattest # ← Endre denne pathen hvis compose ligger et annet sted
docker compose pull
docker compose up -d
+9 -9
View File
@@ -1,9 +1,9 @@
{ {
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Information", "Default": "Information",
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
}, },
"AllowedHosts": "*" "AllowedHosts": "*"
} }
@@ -1,42 +1,42 @@
{ {
"Serilog": { "Serilog": {
"Using": [ "Serilog.Sinks.Console" ], "Using": [ "Serilog.Sinks.Console" ],
"MinimumLevel": { "MinimumLevel": {
"Default": "Verbose", "Default": "Verbose",
"Override": { "Override": {
"Microsoft": "Information", "Microsoft": "Information",
"System": "Information" "System": "Information"
} }
}, },
"WriteTo": [ "WriteTo": [
{ {
"Name": "Console", "Name": "Console",
"Args": { "Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Literate, Serilog.Sinks.Console", "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Literate, Serilog.Sinks.Console",
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}|{RequestId}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}" "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}|{RequestId}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
} }
} }
], ],
"Enrich": [ "FromLogContext" ] "Enrich": [ "FromLogContext" ]
}, },
"ReverseProxy": { "ReverseProxy": {
"Routes": { "Routes": {
"userApiRoute": { "userApiRoute": {
"ClusterId": "clusterUser", "ClusterId": "clusterUser",
"Match": { "Match": {
"Path": "/api/{**catch-all}" "Path": "/api/{**catch-all}"
} }
} }
}, },
"Clusters": { "Clusters": {
"clusterUser": { "clusterUser": {
"Destinations": { "Destinations": {
"destination1": { "destination1": {
"Address": "https://localhost:7172/" "Address": "http://backend-api:8080/"
} }
} }
} }
} }
}, },
"AllowedHosts": "*" "AllowedHosts": "*"
} }
+41 -41
View File
@@ -1,42 +1,42 @@
{ {
"Serilog": { "Serilog": {
"Using": [ "Serilog.Sinks.Console" ], "Using": [ "Serilog.Sinks.Console" ],
"MinimumLevel": { "MinimumLevel": {
"Default": "Verbose", "Default": "Verbose",
"Override": { "Override": {
"Microsoft": "Information", "Microsoft": "Information",
"System": "Information" "System": "Information"
} }
}, },
"WriteTo": [ "WriteTo": [
{ {
"Name": "Console", "Name": "Console",
"Args": { "Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Literate, Serilog.Sinks.Console", "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Literate, Serilog.Sinks.Console",
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}|{RequestId}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}" "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}|{RequestId}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
} }
} }
], ],
"Enrich": [ "FromLogContext" ] "Enrich": [ "FromLogContext" ]
}, },
"ReverseProxy": { "ReverseProxy": {
"Routes": { "Routes": {
"userApiRoute": { "userApiRoute": {
"ClusterId": "clusterUser", "ClusterId": "clusterUser",
"Match": { "Match": {
"Path": "/api/{**catch-all}" "Path": "/api/{**catch-all}"
} }
} }
}, },
"Clusters": { "Clusters": {
"clusterUser": { "clusterUser": {
"Destinations": { "Destinations": {
"destination1": { "destination1": {
"Address": "https://localhost:7172/" "Address": "http://backend-api:8080/"
} }
} }
} }
} }
}, },
"AllowedHosts": "*" "AllowedHosts": "*"
} }