build: use aks backed runners for linux builds (#39403)

* build: test aks runner

* build: stress test

* build: use super-large nodes for publish jobs

* build: try using aks for everything...

* build: shared host not great

* build: clean up

* build: apparently tests dont run in kube infra?

* build: do not change test size
This commit is contained in:
Samuel Attard 2023-08-08 09:56:41 -07:00 committed by GitHub
parent dcf1c65426
commit 814735cb72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,9 @@ executors:
size:
description: "Docker executor size"
type: enum
enum: ["medium", "xlarge", "2xlarge"]
# aks-linux-medium === 8 core (32 core host, shared with other builds)
# aks-linux-large === 32 core
enum: ["medium", "xlarge", "electronjs/aks-linux-medium", "electronjs/aks-linux-large"]
docker:
- image: ghcr.io/electron/build:e6bebd08a51a0d78ec23e5b3fd7e7c0846412328
resource_class: << parameters.size >>
@ -1698,7 +1700,7 @@ jobs:
linux-x64-testing:
executor:
name: linux-docker
size: xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-global
<<: *env-testing-build
@ -1715,7 +1717,7 @@ jobs:
linux-x64-testing-asan:
executor:
name: linux-docker
size: 2xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-global
<<: *env-testing-build
@ -1744,7 +1746,7 @@ jobs:
linux-x64-publish:
executor:
name: linux-docker
size: 2xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-linux-2xlarge-release
<<: *env-release-build
@ -1767,7 +1769,7 @@ jobs:
linux-arm-testing:
executor:
name: linux-docker
size: 2xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-global
<<: *env-arm
@ -1787,7 +1789,7 @@ jobs:
linux-arm-publish:
executor:
name: linux-docker
size: 2xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-linux-2xlarge-release
<<: *env-arm
@ -1812,7 +1814,7 @@ jobs:
linux-arm64-testing:
executor:
name: linux-docker
size: 2xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-global
<<: *env-arm64
@ -1843,7 +1845,7 @@ jobs:
linux-arm64-publish:
executor:
name: linux-docker
size: 2xlarge
size: electronjs/aks-linux-large
environment:
<<: *env-linux-2xlarge-release
<<: *env-arm64