Skip to content

Commit c0b6ef8

Browse files
committed
Let CI use parallel builds
Signed-off-by: Tom Wieczorek <[email protected]>
1 parent 9675f37 commit c0b6ef8

12 files changed

+32
-0
lines changed

.github/workflows/build-airgap-image-bundle.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
description: The airgap image bundle's cache key.
1616
value: ${{ jobs.build.outputs.cache-key }}
1717

18+
env:
19+
MAKEFLAGS: -j
20+
1821
jobs:
1922
build:
2023
name: "${{ inputs.target-os }}-${{ inputs.target-arch }}"

.github/workflows/build-docs.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- CODE_OF_CONDUCT.md
1212
- docs/**
1313

14+
env:
15+
MAKEFLAGS: -j
16+
1417
jobs:
1518
build:
1619
name: Build docs

.github/workflows/build-k0s.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
required: true
1313
description: The architecture to build k0s for.
1414

15+
env:
16+
MAKEFLAGS: -j
17+
1518
jobs:
1619
build:
1720
name: ${{ inputs.target-os }}-${{ inputs.target-arch }}

.github/workflows/check-network.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
schedule:
99
- cron: "0 23 * * *"
1010

11+
env:
12+
MAKEFLAGS: -j
13+
1114
jobs:
1215
check-network:
1316
env:

.github/workflows/go.yml

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- '.github/workflows/mkdocs-set-default-version.yml'
2929
- 'mkdocs.yml'
3030

31+
env:
32+
MAKEFLAGS: -j
33+
3134
jobs:
3235
prepare:
3336
name: Prepare

.github/workflows/lint.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ on:
2929
- 'mkdocs.yml'
3030
- '*.md'
3131

32+
env:
33+
MAKEFLAGS: -j
34+
3235
jobs:
3336
lint:
3437
name: Lint

.github/workflows/ostests-e2e.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ env:
5050
# This is hopefully somewhat physically close to where the hosted GitHub runners live.
5151
# https://github.com/orgs/community/discussions/24969#discussioncomment-3246032
5252
AWS_REGION: us-east-1
53+
MAKEFLAGS: -j
5354

5455
jobs:
5556
e2e-tests:

.github/workflows/publish-docs-manual.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
required: true
88

99
env:
10+
MAKEFLAGS: -j
1011
PYTHON_VERSION: 3.x
1112
TARGET_VERSION: ${{ github.event.inputs.version }}
1213

.github/workflows/publish-docs.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
types:
88
- published
99

10+
env:
11+
MAKEFLAGS: -j
12+
1013
jobs:
1114
build:
1215
name: Deploy docs

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- v* # Push events to matching v*, i.e. v1.0, v20.15.10
77

8+
env:
9+
MAKEFLAGS: -j
10+
811
jobs:
912
release:
1013
env:

.github/workflows/sbom-upload.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- main
88

9+
env:
10+
MAKEFLAGS: -j
11+
912
jobs:
1013
sbom-upload:
1114
runs-on: ubuntu-latest

vars.sh

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
set -eu
55

6+
# Don't deal with recursive make stuff here!
7+
unset -v MAKEFLAGS MAKELEVEL
8+
69
from=
710
var=
811

0 commit comments

Comments
 (0)