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
Merge requests
!55
Merging develop into main
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merging develop into main
develop
into
main
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
jurgenhaas
requested to merge
develop
into
main
3 months ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
gitlab-drupal-ci#54
Remove composer downgrade
Add support for Drupal CMS
0
0
Merge request reports
Viewing commit
b719cb1a
Prev
Next
Show latest version
1 file
+
22
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b719cb1a
Add support for Drupal CMS
· b719cb1a
jurgenhaas
authored
3 months ago
start.sh
+
22
−
15
Options
@@ -122,14 +122,15 @@ function initialSetup {
echo
""
echo
"Options to start:"
echo
" 0 none: start with an empty container"
echo
" 1 LakeDrops Drupal 11 project template"
echo
" 2 LakeDrops Drupal 10 project template"
echo
" 3 drupal.org recommended project template (Drupal 11)"
echo
" 4 drupal.org recommended project template (Drupal 10)"
echo
" 5 Drupal's community project template (Drupal 11)"
echo
" 6 Drupal's community project template (Drupal 10)"
echo
" 7 Custom project template"
echo
" 8 Existing git repository"
echo
" 1 LakeDrops Drupal CMS"
echo
" 2 LakeDrops Drupal 11 project template"
echo
" 3 LakeDrops Drupal 10 project template"
echo
" 4 drupal.org recommended project template (Drupal 11)"
echo
" 5 drupal.org recommended project template (Drupal 10)"
echo
" 6 Drupal's community project template (Drupal 11)"
echo
" 7 Drupal's community project template (Drupal 10)"
echo
" 8 Custom project template"
echo
" 9 Existing git repository"
echo
""
echo
""
@@ -144,44 +145,50 @@ function initialSetup {
;;
1
)
PROJECT
=
"lakedrops/cms:1.0.x-dev"
create
break
;;
2
)
PROJECT
=
"lakedrops/d11-project"
SITE_INSTALL_ARGS
=
"--existing-config"
create
break
;;
2
)
3
)
PROJECT
=
"lakedrops/d10-project"
SITE_INSTALL_ARGS
=
"--existing-config"
create
break
;;
3
)
4
)
PROJECT
=
"drupal/recommended-project:^11"
create
break
;;
4
)
5
)
PROJECT
=
"drupal/recommended-project:^10"
create
break
;;
5
)
6
)
PROJECT
=
"drupal-composer/drupal-project:11.x-dev"
create
break
;;
6
)
7
)
PROJECT
=
"drupal-composer/drupal-project:10.x-dev"
create
break
;;
7
)
8
)
# shellcheck disable=SC2162
read
-p
"Custom project template: "
PROJECT
# shellcheck disable=SC2162
@@ -190,7 +197,7 @@ function initialSetup {
break
;;
8
)
9
)
# shellcheck disable=SC2162
read
-p
"Repository URL: "
REPOSITORY
if
[[
-n
"
${
REPOSITORY
}
"
]]
;
then
Loading