Skip to content

Commit 11ea843

Browse files
committed
build: split 8x series into two to avoid running into storage limits
1 parent 60f9418 commit 11ea843

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
series: [7x, 8x]
14+
series: [7x, 8x_1, 8x_2]
1515
steps:
1616
- uses: actions/checkout@master
1717
- run: ./build.sh ${{ matrix.series }}

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
series: [7x, 8x, snapshot]
10+
series: [7x, 8x_1, 8x_2, snapshot]
1111
steps:
1212
- uses: actions/checkout@master
1313
- run: ./build.sh ${{ matrix.series }}

build.sh

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
set -euxfo pipefail;
44

55
case "${1:-x}" in
6+
8x_2) declare -r series="8x_2" ;;
7+
8x_1) declare -r series="8x_1" ;;
68
8x) declare -r series="8x" ;;
79
7x) declare -r series="7x" ;;
810
6x) declare -r series="6x" ;;
911
snapshot) declare -r series="snapshot" ;;
1012

11-
*) echo "usage: $0 [6x|7x|8x|snapshot]"
13+
*) echo "usage: $0 [6x|7x|8x|8x_1|8x_2|snapshot]"
1214
exit 1
1315
;;
1416
esac
@@ -129,12 +131,22 @@ tag_latest () {
129131
docker image tag "${repository}:${LATEST_RACKET_VERSION}" "${repository}:latest";
130132
};
131133

132-
build_all_8x () {
133-
foreach build_8x "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "8.6" "8.7" "8.8" "8.9" "8.10" "8.11" "8.11.1" "8.12";
134+
# The 8x series is split into two to avoid running into storage limits in CI.
135+
build_8x_2 () {
136+
foreach build_8x "8.10" "8.11" "8.11.1" "8.12";
134137
tag_latest "${DOCKER_REPOSITORY}";
135138
tag_latest "${SECONDARY_DOCKER_REPOSITORY}";
136139
}
137140

141+
build_8x_1 () {
142+
foreach build_8x "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "8.6" "8.7" "8.8" "8.9";
143+
}
144+
145+
build_all_8x () {
146+
build_8x_1;
147+
build_8x_2;
148+
}
149+
138150
build_all_7x () {
139151
foreach build_6x_7x_old "7.0" "7.1" "7.3";
140152
foreach build_7x "7.4" "7.5" "7.6" "7.7" "7.8" "7.9";
@@ -147,6 +159,8 @@ build_all_6x () {
147159
build_base;
148160

149161
case "$series" in
162+
8x_2) build_8x_2 ;;
163+
8x_1) build_8x_1 ;;
150164
8x) build_all_8x ;;
151165
7x) build_all_7x ;;
152166
6x) build_all_6x ;;

0 commit comments

Comments
 (0)