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: size:
description: "Docker executor size" description: "Docker executor size"
type: enum 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: docker:
- image: ghcr.io/electron/build:e6bebd08a51a0d78ec23e5b3fd7e7c0846412328 - image: ghcr.io/electron/build:e6bebd08a51a0d78ec23e5b3fd7e7c0846412328
resource_class: << parameters.size >> resource_class: << parameters.size >>
@ -1698,7 +1700,7 @@ jobs:
linux-x64-testing: linux-x64-testing:
executor: executor:
name: linux-docker name: linux-docker
size: xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-global <<: *env-global
<<: *env-testing-build <<: *env-testing-build
@ -1715,7 +1717,7 @@ jobs:
linux-x64-testing-asan: linux-x64-testing-asan:
executor: executor:
name: linux-docker name: linux-docker
size: 2xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-global <<: *env-global
<<: *env-testing-build <<: *env-testing-build
@ -1744,7 +1746,7 @@ jobs:
linux-x64-publish: linux-x64-publish:
executor: executor:
name: linux-docker name: linux-docker
size: 2xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-linux-2xlarge-release <<: *env-linux-2xlarge-release
<<: *env-release-build <<: *env-release-build
@ -1767,7 +1769,7 @@ jobs:
linux-arm-testing: linux-arm-testing:
executor: executor:
name: linux-docker name: linux-docker
size: 2xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-global <<: *env-global
<<: *env-arm <<: *env-arm
@ -1787,7 +1789,7 @@ jobs:
linux-arm-publish: linux-arm-publish:
executor: executor:
name: linux-docker name: linux-docker
size: 2xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-linux-2xlarge-release <<: *env-linux-2xlarge-release
<<: *env-arm <<: *env-arm
@ -1812,7 +1814,7 @@ jobs:
linux-arm64-testing: linux-arm64-testing:
executor: executor:
name: linux-docker name: linux-docker
size: 2xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-global <<: *env-global
<<: *env-arm64 <<: *env-arm64
@ -1843,7 +1845,7 @@ jobs:
linux-arm64-publish: linux-arm64-publish:
executor: executor:
name: linux-docker name: linux-docker
size: 2xlarge size: electronjs/aks-linux-large
environment: environment:
<<: *env-linux-2xlarge-release <<: *env-linux-2xlarge-release
<<: *env-arm64 <<: *env-arm64