Sync from GitHub main #1
@@ -7,7 +7,6 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
@@ -52,41 +51,3 @@ jobs:
|
|||||||
- name: Verify published entrypoint
|
- name: Verify published entrypoint
|
||||||
working-directory: server
|
working-directory: server
|
||||||
run: test -f publish/linux-x64/CommonwealthOnline.Server.dll
|
run: test -f publish/linux-x64/CommonwealthOnline.Server.dll
|
||||||
|
|
||||||
deploy-runner-fleet:
|
|
||||||
name: One-shot runner fleet deployment
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[deploy-runner-fleet]')
|
|
||||||
runs-on: [self-hosted, Linux, X64, co-server]
|
|
||||||
concurrency:
|
|
||||||
group: one-shot-runner-fleet-deployment
|
|
||||||
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
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user