Skip to content

Commit

Permalink
Switch to canonical's self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Oct 2, 2023
1 parent 315f9ed commit 71a721e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/qa-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
build-wsl-pro-service:
name: Build wsl-pro-service debian package
runs-on: ubuntu-latest
runs-on: ["self-hosted", "Linux", "jammy", "X64", "small"]
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
# Uninstall Appx
Get-AppxPackage -Name "CanonicalGroupLimited.UbuntuProForWindows" | Remove-AppxPackage -ErrorAction Ignore
# Uninstall certificate
$thumbprint = (Get-PfxCertificate -FilePath "ci-artifacts\windows-agent\UbuntuProForWindows_*.cer").Thumbprint
Remove-Item -Path "Cert:LocalMachine\TrustedPeople\${thumbprint}"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- os: ubuntu
subproject: end-to-end

runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os == 'ubuntu' && fromJson('["self-hosted", "Linux", "jammy", "X64", "small"]') || 'windows-latest' }}
steps:
- name: Set up git
# This step needs to be done before checkout so that the checkout respects clrf
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
matrix:
os: [ubuntu, windows]
package: ["gui/packages/p4w_ms_store", "gui/packages/ubuntupro"]
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os == 'ubuntu' && fromJson('["self-hosted", "Linux", "jammy", "X64", "small"]') || 'windows-latest' }}
steps:
- name: Set up git
# This step needs to be done before checkout so that the checkout respects clrf
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
# such as the dependency on xvfb since ubuntu runners on GH don't have graphical capabilities.
matrix:
os: [windows]
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os == 'ubuntu' && fromJson('["self-hosted", "Linux", "jammy", "X64", "small"]') || 'windows-latest' }}
steps:
- name: Set up git
# This step needs to be done before checkout so that the checkout respects clrf
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
# Excluded because microsoftstore_test needs msbuild
- os: ubuntu
subproject: "storeapi/go-wrapper/microsoftstore"
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os == 'ubuntu' && fromJson('["self-hosted", "Linux", "jammy", "X64", "small"]') || 'windows-latest' }}
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:

generated-grpc:
name: gRPC files are up to date
runs-on: ubuntu-latest
runs-on: ["self-hosted", "Linux", "jammy", "X64", "small"]
container: ubuntu:rolling
strategy:
fail-fast: false
Expand Down

0 comments on commit 71a721e

Please sign in to comment.