Compare commits
4
Commits
459d929da0
...
d357dbd62d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d357dbd62d | ||
|
|
febd599ce2 | ||
|
|
12034c16cd | ||
|
|
0cc4c0e4d4 |
@@ -71,3 +71,22 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_STATUS_TOKEN: ${{ github.token }}
|
GH_STATUS_TOKEN: ${{ github.token }}
|
||||||
run: bash .github/ops/deploy-runner-fleet.sh
|
run: bash .github/ops/deploy-runner-fleet.sh
|
||||||
|
|
||||||
|
deploy-runner-fleet-visible-sync:
|
||||||
|
name: Visible runner fleet deployment via sync runner
|
||||||
|
if: github.event_name == 'pull_request' && github.head_ref == 'ops/visible-sync-runner-deploy-20260818'
|
||||||
|
runs-on: [self-hosted, Linux, X64, co-server-sync]
|
||||||
|
concurrency:
|
||||||
|
group: one-shot-runner-fleet-deployment-sync
|
||||||
|
cancel-in-progress: false
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Deploy scheduler and runner fleet
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
GH_STATUS_TOKEN: ${{ github.token }}
|
||||||
|
run: bash .github/ops/deploy-runner-fleet.sh
|
||||||
|
|||||||
@@ -7,9 +7,11 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
open-gitea-pr:
|
open-gitea-pr:
|
||||||
|
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[deploy-runner-fleet-sync]')
|
||||||
runs-on: [self-hosted, Linux, X64, co-server-sync]
|
runs-on: [self-hosted, Linux, X64, co-server-sync]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||||
@@ -83,3 +85,22 @@ jobs:
|
|||||||
echo "::error::Unexpected Gitea response (${http_code})."
|
echo "::error::Unexpected Gitea response (${http_code})."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
deploy-runner-fleet:
|
||||||
|
name: One-shot runner fleet deployment via sync runner
|
||||||
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[deploy-runner-fleet-sync]')
|
||||||
|
runs-on: [self-hosted, Linux, X64, co-server-sync]
|
||||||
|
concurrency:
|
||||||
|
group: one-shot-runner-fleet-deployment-sync
|
||||||
|
cancel-in-progress: false
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Deploy scheduler and runner fleet
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
GH_STATUS_TOKEN: ${{ github.token }}
|
||||||
|
run: bash .github/ops/deploy-runner-fleet.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user