Skip to content

Commit

Permalink
Backport of ci: increase ENT runner size for xl to match OSS. have bu…
Browse files Browse the repository at this point in the history
…ild-distros use xl to match CircleCI into release/1.14.x (#16923)

* no-op commit due to failed cherry-picking

* increase ENT runner size for xl to match OSS.  have guild-distros use xl to match CircleCI (#16920)

---------

Co-authored-by: temp <[email protected]>
Co-authored-by: John Murret <[email protected]>
  • Loading branch information
3 people authored Apr 7, 2023
1 parent cd12db3 commit 7df3fbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/get_runner_classes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ case "$GITHUB_REPOSITORY" in
echo "compute-small=['self-hosted', 'linux', 'small']" >> "$GITHUB_OUTPUT"
echo "compute-medium=['self-hosted', 'linux', 'medium']" >> "$GITHUB_OUTPUT"
echo "compute-large=['self-hosted', 'linux', 'large']" >> "$GITHUB_OUTPUT"
echo "compute-xl=['self-hosted', 'ondemand', 'linux', 'type=m5.2xlarge']" >> "$GITHUB_OUTPUT"
# m5d.8xlarge is equivalent to our xl custom runner in OSS
echo "compute-xl=['self-hosted', 'ondemand', 'linux', 'type=m5d.8xlarge']" >> "$GITHUB_OUTPUT"
;;
*)
# shellcheck disable=SC2129
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-distros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- check-go-mod
env:
XC_OS: "freebsd linux windows"
runs-on: ${{ fromJSON(needs.setup.outputs.compute-medium) }}
runs-on: ${{ fromJSON(needs.setup.outputs.compute-xl) }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # [email protected]

Expand All @@ -68,7 +68,7 @@ jobs:
- check-go-mod
env:
XC_OS: "darwin freebsd linux solaris windows"
runs-on: ${{ fromJSON(needs.setup.outputs.compute-medium) }}
runs-on: ${{ fromJSON(needs.setup.outputs.compute-xl) }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # [email protected]

Expand Down

0 comments on commit 7df3fbe

Please sign in to comment.