Skip to content

Commit 5d87e8b

Browse files
committed
Switches most jobs to a self-hosted environment + enhances timeouts
1 parent b745a9d commit 5d87e8b

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

.github/workflows/build-and-push.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
platforms: linux/amd64,linux/arm64,linux/arm/v7
3232

3333
build-and-push-image:
34-
runs-on: [ubuntu-22.04]
34+
# Use a self-hosted runner to circumvent 6h timeout
35+
runs-on: [self-hosted]
3536
needs: [build-and-push-base]
36-
timeout-minutes: 720
37+
timeout-minutes: 1440
3738
strategy:
3839
matrix:
3940
year: [2017, 2018, 2019, 2020, 2021, 2022]
@@ -56,13 +57,13 @@ jobs:
5657
push: true
5758
tags: maxkratz/texlive:${{ matrix.year }}
5859
platforms: linux/amd64,linux/arm64,linux/arm/v7
59-
timeout-minutes: 720
60+
timeout-minutes: 1440
6061

6162
build-and-push-image-2023:
6263
# Use a self-hosted runner to circumvent the small storage size of GitHub-hosted runners
6364
runs-on: [self-hosted]
6465
needs: [build-and-push-base]
65-
timeout-minutes: 720
66+
timeout-minutes: 1440
6667
strategy:
6768
matrix:
6869
year: [2023]
@@ -85,14 +86,14 @@ jobs:
8586
push: true
8687
tags: maxkratz/texlive:${{ matrix.year }}
8788
platforms: linux/amd64,linux/arm64,linux/arm/v7
88-
timeout-minutes: 720
89+
timeout-minutes: 1440
8990

9091
# latest is an extra build step because of buggy GitHub Actions if conditions
9192
build-and-push-latest-image:
9293
# Use a self-hosted runner to circumvent the small storage size of GitHub-hosted runners
9394
runs-on: [self-hosted]
9495
needs: [build-and-push-base]
95-
timeout-minutes: 720
96+
timeout-minutes: 1440
9697
strategy:
9798
matrix:
9899
year: [2024]
@@ -117,7 +118,7 @@ jobs:
117118
maxkratz/texlive:${{ matrix.year }}
118119
maxkratz/texlive:latest
119120
platforms: linux/amd64,linux/arm64,linux/arm/v7
120-
timeout-minutes: 720
121+
timeout-minutes: 1440
121122

122123
build-and-push-image-variants:
123124
# Use a self-hosted runner to circumvent the small storage size of GitHub-hosted runners
@@ -148,9 +149,10 @@ jobs:
148149

149150
# 2016 can not be built with arm64 support
150151
build-and-push-2016-image:
151-
runs-on: [ubuntu-22.04]
152+
# Use a self-hosted runner to circumvent 6h timeout
153+
runs-on: [self-hosted]
152154
needs: [build-and-push-base]
153-
timeout-minutes: 720
155+
timeout-minutes: 1440
154156
strategy:
155157
matrix:
156158
year: [2016]
@@ -173,4 +175,4 @@ jobs:
173175
push: true
174176
tags: maxkratz/texlive:${{ matrix.year }}
175177
platforms: linux/amd64,linux/arm/v7
176-
timeout-minutes: 720
178+
timeout-minutes: 1440

.github/workflows/build-only.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
platforms: linux/amd64,linux/arm64,linux/arm/v7
2727

2828
build-image:
29-
runs-on: [ubuntu-22.04]
29+
# Use a self-hosted runner to circumvent 6h timeout
30+
runs-on: [self-hosted]
3031
needs: [build-base]
31-
timeout-minutes: 720
32+
timeout-minutes: 1440
3233
strategy:
3334
matrix:
3435
year: [2017, 2018, 2019, 2020, 2021, 2022, 2023]
@@ -46,7 +47,7 @@ jobs:
4647
push: false
4748
tags: maxkratz/texlive:${{ matrix.year }}
4849
platforms: linux/amd64,linux/arm64,linux/arm/v7
49-
timeout-minutes: 720
50+
timeout-minutes: 1440
5051

5152
build-image-variants:
5253
# Use a self-hosted runner to circumvent the small storage size of GitHub-hosted runners
@@ -72,9 +73,10 @@ jobs:
7273

7374
# latest is an extra build step because of buggy GitHub Actions if conditions
7475
build-latest-image:
75-
runs-on: [ubuntu-22.04]
76+
# Use a self-hosted runner to circumvent 6h timeout
77+
runs-on: [self-hosted]
7678
needs: [build-base]
77-
timeout-minutes: 720
79+
timeout-minutes: 1440
7880
strategy:
7981
matrix:
8082
year: [2024]
@@ -94,13 +96,14 @@ jobs:
9496
maxkratz/texlive:${{ matrix.year }}
9597
maxkratz/texlive:latest
9698
platforms: linux/amd64,linux/arm64,linux/arm/v7
97-
timeout-minutes: 720
99+
timeout-minutes: 1440
98100

99101
# 2016 can not be built with arm64 support
100102
build-2016-image:
101-
runs-on: [ubuntu-22.04]
103+
# Use a self-hosted runner to circumvent 6h timeout
104+
runs-on: [self-hosted]
102105
needs: [build-base]
103-
timeout-minutes: 720
106+
timeout-minutes: 1440
104107
strategy:
105108
matrix:
106109
year: [2016]
@@ -118,4 +121,4 @@ jobs:
118121
push: false
119122
tags: maxkratz/texlive:${{ matrix.year }}
120123
platforms: linux/amd64,linux/arm/v7
121-
timeout-minutes: 720
124+
timeout-minutes: 1440

0 commit comments

Comments
 (0)