Test new runner registration

This commit is contained in:
adilallo
2025-08-29 22:01:35 -06:00
5 changed files with 67 additions and 52 deletions
+18 -9
View File
@@ -4,13 +4,22 @@ run-name: ${{ gitea.actor }} triggered CI pipeline
on: on:
workflow_dispatch: {} workflow_dispatch: {}
push: push:
branches: [main, develop, "fix-runner-trigger"] branches: [main, develop] # only direct pushes/merges to protected branches
pull_request: pull_request:
branches: [main, develop] branches: [main, develop] # PRs into main/develop
types: [opened, reopened, synchronize]
jobs: jobs:
canary:
runs-on: ["self-hosted:host", "macos-latest:host"]
steps:
- run: |
uname -a
node -v || true
echo "Runner labels OK ✅"
test: test:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
strategy: strategy:
matrix: { node-version: [18, 20] } matrix: { node-version: [18, 20] }
env: env:
@@ -39,7 +48,7 @@ jobs:
# bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests # bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests
e2e: e2e:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
strategy: strategy:
matrix: { browser: [chromium, firefox, webkit] } matrix: { browser: [chromium, firefox, webkit] }
steps: steps:
@@ -72,7 +81,7 @@ jobs:
retention-days: 30 retention-days: 30
visual-regression: visual-regression:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -109,7 +118,7 @@ jobs:
retention-days: 30 retention-days: 30
performance: performance:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -147,7 +156,7 @@ jobs:
path: lhci-results path: lhci-results
storybook: storybook:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -158,7 +167,7 @@ jobs:
env: { CI: true } env: { CI: true }
lint: lint:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -168,7 +177,7 @@ jobs:
- run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" - run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"
build: build:
runs-on: [self-hosted, macos-latest] runs-on: ["self-hosted:host", "macos-latest:host"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
+6 -6
View File
@@ -1,12 +1,12 @@
{ {
"WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.", "WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
"id": 7, "id": 12,
"uuid": "3a8b9f5a-189b-47a3-b0b1-1a06c933cc06", "uuid": "1f114e7b-9330-40fc-9c96-816b07f3e4c2",
"name": "community-rule-runner-1", "name": "community-rule-test-runner",
"token": "23ecad1165282704291cfa5112a36aebfadfa40a", "token": "ba42513830cbc9e2eb6abf86ee119fadfcb7a14b",
"address": "https://git.medlab.host", "address": "https://git.medlab.host",
"labels": [ "labels": [
"macos-latest:host", "self-hosted:host",
"self-hosted:host" "macos-latest:host"
] ]
} }
+1 -1
View File
@@ -1 +1 @@
39731 35293
+5
View File
@@ -178,4 +178,9 @@ community-rule/
## 📄 License ## 📄 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
<<<<<<< HEAD
# Test from working commit # Test from working commit
=======
# Test trigger
>>>>>>> bead0c737303fb7e83b3be0c5dbd121b00351b90
# Test new runner
+2 -1
View File
@@ -9,8 +9,8 @@ runner:
fetch_timeout: 5s fetch_timeout: 5s
fetch_interval: 2s fetch_interval: 2s
labels: labels:
- "macos-latest:host"
- "self-hosted:host" - "self-hosted:host"
- "macos-latest:host"
cache: cache:
enabled: true enabled: true
@@ -27,6 +27,7 @@ container:
valid_volumes: [] valid_volumes: []
docker_host: "" docker_host: ""
force_pull: false force_pull: false
mode: "host"
host: host:
workdir_parent: "" workdir_parent: ""