Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 10.2-rc and drop eol 9.x #252

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@
set -Eeuo pipefail

declare -A aliases=(
[9.5]='9'
[10.1]='10 latest'
[10.2-rc]='rc'
)

defaultDebianSuite='bookworm'
declare -A debianSuites=(
#[9.2]='buster'
#[10.0]='bullseye'
)

defaultPhpVersion='php8.2'
declare -A defaultPhpVersions=(
# https://www.drupal.org/docs/7/system-requirements/php-requirements#php_required
[7]='php8.1' # PHP 7.4 & 8.0 are EOL, so we don't have a choice but to update the default
# https://www.drupal.org/docs/system-requirements/php-requirements
[9.5]='php8.1'
)

self="$(basename "$BASH_SOURCE")"
Expand Down
20 changes: 10 additions & 10 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@
],
"version": "10.1.6"
},
"7": {
"md5": "4139f0feecb44a53645242194809b73a",
"10.2-rc": {
"composer": {
"version": "2"
},
"phpVersions": [
"8.2",
"8.1"
"8.3",
"8.2"
],
"variants": [
"apache-bookworm",
Expand All @@ -49,12 +51,10 @@
"fpm-alpine3.18",
"fpm-alpine3.17"
],
"version": "7.98"
"version": "10.2.0-rc1"
},
"9.5": {
"composer": {
"version": "2"
},
"7": {
"md5": "4139f0feecb44a53645242194809b73a",
"phpVersions": [
"8.2",
"8.1"
Expand All @@ -67,6 +67,6 @@
"fpm-alpine3.18",
"fpm-alpine3.17"
],
"version": "9.5.11"
"version": "7.98"
}
}
9 changes: 6 additions & 3 deletions versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ for version in "${versions[@]}"; do
drupalRelease="${rcVersion%%.*}.x"
;;
*)
# there is no https://updates.drupal.org/release-history/drupal/9.x
# (07/2020) current could also be used for 8.9, 9.x
# there is no https://updates.drupal.org/release-history/drupal/10.x
# (12/2023) current can be used for 10.x: "<supported_branches>10.0.,10.1.,10.2.</supported_branches>"
drupalRelease='current'
;;
esac
Expand Down Expand Up @@ -89,8 +89,11 @@ for version in "${versions[@]}"; do
version: env.fullVersion,
phpVersions: (
[
# https://www.drupal.org/project/drupal/releases/10.2.0-rc1#php-deps
# Drupal now supports PHP 8.3 and recommends at least PHP 8.2.
if [ "7", "10.0", "10.1" ] | index(env.version) then empty else "8.3" end,
"8.2",
"8.1",
if [ "7", "10.0", "10.1" ] | index(env.version) then "8.1" else empty end,
# https://www.drupal.org/docs/system-requirements/php-requirements
# https://www.drupal.org/docs/7/system-requirements/php-requirements
empty
Expand Down