Skip to content
Snippets Groups Projects
Commit dd5d11a1 authored by jurgenhaas's avatar jurgenhaas
Browse files

Remove PHP 7.2 and 7.3

Add support for Drupal 10
parent 8c7a4600
No related branches found
No related tags found
1 merge request!20Merging develop into main
...@@ -34,7 +34,7 @@ php: ...@@ -34,7 +34,7 @@ php:
stage: build stage: build
parallel: parallel:
matrix: matrix:
- PHP: ['7.2','7.3','7.4','8.0','8.1'] - PHP: ['7.4','8.0','8.1']
script: script:
- docker build --pull --build-arg PHP_VERSION=${PHP} --build-arg VERSION=${VERSION} --build-arg CI_VERSION=${CI_VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} . - docker build --pull --build-arg PHP_VERSION=${PHP} --build-arg VERSION=${VERSION} --build-arg CI_VERSION=${CI_VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} .
- docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} - docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION}
......
...@@ -121,12 +121,14 @@ function initialSetup { ...@@ -121,12 +121,14 @@ function initialSetup {
echo "" echo ""
echo "Options to start:" echo "Options to start:"
echo " 0 none: start with an empty container" echo " 0 none: start with an empty container"
echo " 1 LakeDrops Drupal 9 project template" echo " 1 LakeDrops Drupal 10 project template"
echo " 2 LakeDrops Drupal 8 project template" echo " 2 LakeDrops Drupal 9 project template"
echo " 3 drupal.org recommended project template (Drupal 9)" echo " 3 LakeDrops Drupal 8 project template"
echo " 4 Drupal's community project template (Drupal 8)" echo " 4 drupal.org recommended project template (Drupal 10)"
echo " 5 Custom project template" echo " 5 drupal.org recommended project template (Drupal 9)"
echo " 6 Existing git repository" echo " 6 Drupal's community project template (Drupal 8)"
echo " 7 Custom project template"
echo " 8 Existing git repository"
echo "" echo ""
echo "" echo ""
...@@ -141,32 +143,45 @@ function initialSetup { ...@@ -141,32 +143,45 @@ function initialSetup {
;; ;;
1 ) 1 )
PROJECT="lakedrops/d9-project" PROJECT="lakedrops/d10-project"
SITE_INSTALL_ARGS="--existing-config" SITE_INSTALL_ARGS="--existing-config"
create create
break break
;; ;;
2 ) 2 )
PROJECT="lakedrops/d8-project" PROJECT="lakedrops/d9-project"
SITE_INSTALL_ARGS="config_installer" SITE_INSTALL_ARGS="--existing-config"
create create
break break
;; ;;
3 ) 3 )
PROJECT="drupal/recommended-project" PROJECT="lakedrops/d8-project"
SITE_INSTALL_ARGS="config_installer"
create create
break break
;; ;;
4 ) 4 )
PROJECT="drupal-composer/drupal-project:8.x-dev" PROJECT="drupal/recommended-project:^10"
create create
break break
;; ;;
5 ) 5 )
PROJECT="drupal/recommended-project:^9"
create
break
;;
6 )
PROJECT="drupal-composer/drupal-project:8.x-dev"
create
break
;;
7 )
# shellcheck disable=SC2162 # shellcheck disable=SC2162
read -p "Custom project template: " PROJECT read -p "Custom project template: " PROJECT
# shellcheck disable=SC2162 # shellcheck disable=SC2162
...@@ -175,7 +190,7 @@ function initialSetup { ...@@ -175,7 +190,7 @@ function initialSetup {
break break
;; ;;
6 ) 8 )
# shellcheck disable=SC2162 # shellcheck disable=SC2162
read -p "Repository URL: " REPOSITORY read -p "Repository URL: " REPOSITORY
if [[ -n "${REPOSITORY}" ]]; then if [[ -n "${REPOSITORY}" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment