ci: move Linux jobs (backend, web, docker api/web) to self-hosted runner
POS stays on windows-latest (tag/manual only). Runner is registered on the stage server, systemd-managed, labels [self-hosted, Linux, X64]. Goal: drop dependency on the 2000 GitHub-hosted minute quota — Windows POS build now runs at most once per release tag. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bcbda1ae5d
commit
5dce324f24
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -15,7 +15,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
backend:
|
backend:
|
||||||
name: Backend (.NET 8)
|
name: Backend (.NET 8)
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux]
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
|
|
||||||
web:
|
web:
|
||||||
name: Web (React + Vite)
|
name: Web (React + Vite)
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: src/food-market.web
|
working-directory: src/food-market.web
|
||||||
|
|
|
||||||
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -21,7 +21,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
api:
|
api:
|
||||||
name: API image
|
name: API image
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
|
|
||||||
web:
|
web:
|
||||||
name: Web image
|
name: Web image
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue