Skip to content

Commit 1311176

Browse files
committed
Disable self hosted runners and runner selection
1 parent 3fa0653 commit 1311176

1 file changed

Lines changed: 26 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,23 @@ env:
3636
TZ: "Europe/London"
3737

3838
jobs:
39-
runner-selection:
40-
name: Runner Selection
41-
runs-on: ${{ github.repository_owner == 'boostorg' && fromJSON('[ "self-hosted", "linux", "x64", "ubuntu-latest-aws" ]') || 'ubuntu-latest' }}
42-
outputs:
43-
labelmatrix: ${{ steps.aws_hosted_runners.outputs.labelmatrix }}
44-
steps:
45-
- name: AWS Hosted Runners
46-
id: aws_hosted_runners
47-
uses: cppalliance/aws-hosted-runners@v1.0.0
39+
# Self-hosted runner selection is disabled to allow re-running individual
40+
# failed jobs from the GitHub Actions UI. When using dynamic runner selection,
41+
# the runs-on value depends on this job's output, which isn't available when
42+
# re-running a subset of jobs.
43+
#
44+
# runner-selection:
45+
# name: Runner Selection
46+
# runs-on: ${{ github.repository_owner == 'boostorg' && fromJSON('[ "self-hosted", "linux", "x64", "ubuntu-latest-aws" ]') || 'ubuntu-latest' }}
47+
# outputs:
48+
# labelmatrix: ${{ steps.aws_hosted_runners.outputs.labelmatrix }}
49+
# steps:
50+
# - name: AWS Hosted Runners
51+
# id: aws_hosted_runners
52+
# uses: cppalliance/aws-hosted-runners@v1.0.0
4853

4954
build:
50-
needs: [ runner-selection ]
55+
# needs: [ runner-selection ]
5156
defaults:
5257
run:
5358
shell: bash
@@ -266,7 +271,9 @@ jobs:
266271
install: "gcc-multilib g++-multilib"
267272

268273
name: ${{ matrix.name }}
269-
runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)[matrix.runs-on] }}
274+
# Skip self-hosted runner selection for now
275+
# runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)[matrix.runs-on] }}
276+
runs-on: ${{ matrix.runs-on }}
270277
container:
271278
image: ${{ matrix.container }}
272279
options: --privileged
@@ -506,13 +513,15 @@ jobs:
506513
echo "" >> $GITHUB_STEP_SUMMARY
507514
508515
changelog:
509-
needs: [ runner-selection ]
516+
# needs: [ runner-selection ]
510517
defaults:
511518
run:
512519
shell: bash
513520

514521
name: Changelog Summary
515-
runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)['ubuntu-22.04'] }}
522+
# Skip self-hosted runner selection for now
523+
# runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)['ubuntu-22.04'] }}
524+
runs-on: 'ubuntu-22.04'
516525
timeout-minutes: 120
517526

518527
steps:
@@ -531,9 +540,11 @@ jobs:
531540
tag-pattern: 'boost-.*\..*\..*'
532541

533542
antora:
534-
needs: [ runner-selection ]
543+
# needs: [ runner-selection ]
535544
name: Antora Docs
536-
runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)['ubuntu-latest'] }}
545+
# Skip self-hosted runner selection for now
546+
# runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)['ubuntu-latest'] }}
547+
runs-on: 'ubuntu-latest'
537548
defaults:
538549
run:
539550
shell: bash

0 commit comments

Comments
 (0)