Skip to content

Commit

Permalink
Trying self hosted runners to see if they work (#4707)
Browse files Browse the repository at this point in the history
To unblock CI/CD
  • Loading branch information
jkotalik authored Nov 23, 2022
1 parent 3418f80 commit 6203f88
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/runners/runner-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ kind: RunnerDeployment
metadata:
name: aks-runnerdeploy
spec:
replicas: 3
replicas: 12
template:
spec:
organization: project-radius
dockerdWithinRunnerContainer: true
image: summerwind/actions-runner-dind
nodeSelector:
agentpool: runnerpool
agentpool: dsrunnerpool
2 changes: 1 addition & 1 deletion .github/workflows/assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
publish:
name: Assets
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
jobs:
build:
name: Build ${{ matrix.target_os }}_${{ matrix.target_arch }} binaries
runs-on: ubuntu-latest
runs-on: self-hosted
env:
GOOS: ${{ matrix.target_os }}
GOARCH: ${{ matrix.target_arch }}
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
# - push the image for pushes to master, or to a tag
images:
name: Container image build
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
helm:
name: Helm chart build
needs: ['images']
runs-on: ubuntu-latest
runs-on: self-hosted
env:
ARTIFACT_DIR: ./dist/Charts
HELM_PACKAGE_DIR: helm
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
name: Run Kubernetes tests
needs: [ 'build', 'images' ]
if: ${{ false }} # Disable until we switch back to github action from ADO pipeline.
runs-on: ubuntu-latest
runs-on: self-hosted
env:
# Timeout used for Kubernetes functional tests
K8S_FUNCTIONALTEST_TIMEOUT: 20m
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
publish:
name: Publish rad CLI binaries
needs: [ 'build' ]
runs-on: ubuntu-latest
runs-on: self-hosted
if: (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags/v') # upload on push to main or tag
steps:
- name: Checkout
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
name: Delete artifacts
if: ${{ success() }}
needs: [ 'build', 'publish' ]
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Delete release artifacts
uses: geekyeggo/delete-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devops-boards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
alert:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: danhellem/[email protected]
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
customer:
name: Add a label if Issue created by customer
runs-on: ubuntu-latest
runs-on: self-hosted
env:
GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }}
steps:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
project:
name: Add Issue to Core Team project
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Add Issue to Core Team project
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
linter_check:
name: Lint
runs-on: ubuntu-latest
runs-on: self-hosted
timeout-minutes: 12
env:
GOVER: '^1.18'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
update-types:
name: Update Bicep extensibility provider types
runs-on: ubuntu-latest
runs-on: self-hosted
timeout-minutes: 10
env:
GOVER: '^1.18'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
delete-artifacts:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/triggersampleworkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ on:

jobs:
samples:
if: false # TODO Re-enable sample validation workflow
name: Trigger samples workflow
runs-on: ubuntu-latest
runs-on: self-hosted
timeout-minutes: 15
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
build:
name: Validate Bicep Code
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
Expand Down

0 comments on commit 6203f88

Please sign in to comment.