Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
LakeDropsDrupalDev
Commits
dd5d11a1
Commit
dd5d11a1
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
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
!20
Merging develop into main
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
start.sh
+27
-12
27 additions, 12 deletions
start.sh
with
28 additions
and
13 deletions
.gitlab-ci.yml
+
1
−
1
View file @
dd5d11a1
...
...
@@ -34,7 +34,7 @@ php:
stage
:
build
parallel
:
matrix
:
-
PHP
:
[
'
7.
2'
,
'
7.3'
,
'
7.
4'
,
'
8.0'
,
'
8.1'
]
-
PHP
:
[
'
7.4'
,
'
8.0'
,
'
8.1'
]
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 push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION}
...
...
This diff is collapsed.
Click to expand it.
start.sh
+
27
−
12
View file @
dd5d11a1
...
...
@@ -121,12 +121,14 @@ function initialSetup {
echo
""
echo
"Options to start:"
echo
" 0 none: start with an empty container"
echo
" 1 LakeDrops Drupal 9 project template"
echo
" 2 LakeDrops Drupal 8 project template"
echo
" 3 drupal.org recommended project template (Drupal 9)"
echo
" 4 Drupal's community project template (Drupal 8)"
echo
" 5 Custom project template"
echo
" 6 Existing git repository"
echo
" 1 LakeDrops Drupal 10 project template"
echo
" 2 LakeDrops Drupal 9 project template"
echo
" 3 LakeDrops Drupal 8 project template"
echo
" 4 drupal.org recommended project template (Drupal 10)"
echo
" 5 drupal.org recommended project template (Drupal 9)"
echo
" 6 Drupal's community project template (Drupal 8)"
echo
" 7 Custom project template"
echo
" 8 Existing git repository"
echo
""
echo
""
...
...
@@ -141,32 +143,45 @@ function initialSetup {
;;
1
)
PROJECT
=
"lakedrops/d
9
-project"
PROJECT
=
"lakedrops/d
10
-project"
SITE_INSTALL_ARGS
=
"--existing-config"
create
break
;;
2
)
PROJECT
=
"lakedrops/d
8
-project"
SITE_INSTALL_ARGS
=
"
config_installer
"
PROJECT
=
"lakedrops/d
9
-project"
SITE_INSTALL_ARGS
=
"
--existing-config
"
create
break
;;
3
)
PROJECT
=
"drupal/recommended-project"
PROJECT
=
"lakedrops/d8-project"
SITE_INSTALL_ARGS
=
"config_installer"
create
break
;;
4
)
PROJECT
=
"drupal
-composer/drupal
-project:
8.x-dev
"
PROJECT
=
"drupal
/recommended
-project:
^10
"
create
break
;;
5
)
PROJECT
=
"drupal/recommended-project:^9"
create
break
;;
6
)
PROJECT
=
"drupal-composer/drupal-project:8.x-dev"
create
break
;;
7
)
# shellcheck disable=SC2162
read
-p
"Custom project template: "
PROJECT
# shellcheck disable=SC2162
...
...
@@ -175,7 +190,7 @@ function initialSetup {
break
;;
6
)
8
)
# shellcheck disable=SC2162
read
-p
"Repository URL: "
REPOSITORY
if
[[
-n
"
${
REPOSITORY
}
"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment