Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Drupal CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
GitLab Drupal CI
Commits
a3e847e7
Commit
a3e847e7
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'main'
Merging develop into main See merge request
!21
parents
c382c576
66e32444
No related branches found
Branches containing commit
Tags
v2.0.8
Tags containing commit
1 merge request
!21
Merging develop into main
Pipeline
#572651
passed
2 years ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/drush
+17
-5
17 additions, 5 deletions
bin/drush
with
17 additions
and
5 deletions
bin/drush
+
17
−
5
View file @
a3e847e7
...
...
@@ -4,23 +4,35 @@ function setPermissions {
sudo chmod
-R
g+w
.
}
MODE
=
default
FLAG
=
if
[[
"
$1
"
==
"-T"
]]
;
then
FLAG
=
-T
shift
fi
if
[[
"
$1
"
==
"si"
]]
||
[[
"
$1
"
==
"sin"
]]
||
[[
"
$1
"
==
"site-install"
]]
;
then
FLAG
=
"
$FLAG
-e L3D_DISABLE_REDIS=yes"
fi
for
arg
in
"
$@
"
;
do
case
"
$arg
"
in
si|sin|site-install|site:install
)
FLAG
=
"
$FLAG
-e L3D_DISABLE_REDIS=yes"
MODE
=
site-install
break
;;
gen|generate
)
MODE
=
generator
break
;;
esac
done
docker compose
exec
$FLAG
${
LAKEDROPS_DEV_DC_OPTIONS
}
php drush
"
$@
"
EC
=
$?
if
[[
"
$
1
"
==
"si"
]]
||
[[
"
$1
"
==
"sin"
]]
||
[[
"
$1
"
==
"site-install"
]]
;
then
if
[[
"
$
MODE
"
==
"site-install"
]]
;
then
if
[[
-f
web/modules/contrib/redis/example.services.yml
]]
;
then
docker compose
exec
$FLAG
${
LAKEDROPS_DEV_DC_OPTIONS
}
php drush
-y
en redis
fi
fi
if
[[
"
$
1
"
==
"gen"
]]
||
[[
"
$1
"
==
"generat
e
"
]]
;
then
if
[[
"
$
MODE
"
==
"generat
or
"
]]
;
then
setPermissions
fi
...
...
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