Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: do not use gh hosted runners #2969

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/automerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ on:

jobs:
automerge:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
steps:
- name: Enable auto-merge for automated chart bump PRs or label
id: automerge
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ permissions:
jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'auto-backport')
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ permissions:
contents: read
jobs:
size-label:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
name: Label PR size
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/kommander-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ permissions:

jobs:
get-kapps-branch-name:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
if: contains(github.event.pull_request.labels.*.name, 'open-kommander-pr')
outputs:
branch_name: ${{ steps.branch-name.outputs.branch_name }}
Expand All @@ -32,7 +34,9 @@ jobs:
run: echo ${{ steps.base-branch-name.outputs.base_branch_name }}

create-kommander-branch:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
needs: get-kapps-branch-name
if: contains(github.event.pull_request.labels.*.name, 'open-kommander-pr')
steps:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/kommander-revert-kapps-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ permissions:

jobs:
get-kapps-branch-name:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'open-kommander-pr')
outputs:
branch_name: ${{ steps.branch-name.outputs.branch_name }}
Expand All @@ -32,7 +34,9 @@ jobs:
run: echo ${{ steps.base-branch-name.outputs.base_branch_name }}

update-kommander-branch:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
needs: get-kapps-branch-name
if: success()
steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:

jobs:
label-pr:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
permissions:
contents: read
pull-requests: write
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/stale-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:
jobs:
stale:
name: Close Stale PRs
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
permissions:
issues: write
pull-requests: write
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
jobs:
test:
name: Go Test
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-service-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:

jobs:
update-service-labels-yaml:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate-licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ on:
- main
jobs:
check-license-yaml:
runs-on: ubuntu-latest
runs-on:
- self-hosted
- small
name: Check licenses.d2iq.yaml
steps:
- name: Checkout code
Expand Down
Loading