Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Docker for Drupal
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
Package Registry
Model registry
Operate
Terraform modules
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
Composer
plugin
Docker for Drupal
Commits
4c785393
Commit
4c785393
authored
1 year ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
docker/l3d#140
Only call config-split:import if that module is installed and enabled
parent
715ae8b3
No related branches found
No related tags found
1 merge request
!81
Merging develop into main
Pipeline
#1156719
passed
1 year ago
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ahoy.current.yml
+8
-2
8 additions, 2 deletions
ahoy.current.yml
ahoy.live.yml
+8
-2
8 additions, 2 deletions
ahoy.live.yml
with
16 additions
and
4 deletions
ahoy.current.yml
+
8
−
2
View file @
4c785393
...
...
@@ -4,7 +4,10 @@ commands:
cmd
:
|
download db ${PROJECT_BRANCH}
drush @default.dev cr
drush -y @default.dev config-split:import develop
SPLIT=$(drush pm-list --format=json --status=enabled --filter=name=config_split)
if [[ "$SPLIT" != "[]" ]]; then
drush -y @default.dev config-split:import develop
fi
download files ${PROJECT_BRANCH}
chmod -R ugo+w files/default/files
chmod -R ugo+w files/default/private
...
...
@@ -13,7 +16,10 @@ commands:
cmd
:
|
download db ${PROJECT_BRANCH}
drush @default.dev cr
drush -y @default.dev config-split:import develop
SPLIT=$(drush pm-list --format=json --status=enabled --filter=name=config_split)
if [[ "$SPLIT" != "[]" ]]; then
drush -y @default.dev config-split:import develop
fi
usage
:
Pull DB from live site
pull-files
:
cmd
:
|
...
...
This diff is collapsed.
Click to expand it.
ahoy.live.yml
+
8
−
2
View file @
4c785393
...
...
@@ -4,7 +4,10 @@ commands:
cmd
:
|
download db main
drush @default.dev cr
drush -y @default.dev config-split:import develop
SPLIT=$(drush pm-list --format=json --status=enabled --filter=name=config_split)
if [[ "$SPLIT" != "[]" ]]; then
drush -y @default.dev config-split:import develop
fi
download files main
chmod -R ugo+w files/default/files
chmod -R ugo+w files/default/private
...
...
@@ -13,7 +16,10 @@ commands:
cmd
:
|
download db main
drush @default.dev cr
drush -y @default.dev config-split:import develop
SPLIT=$(drush pm-list --format=json --status=enabled --filter=name=config_split)
if [[ "$SPLIT" != "[]" ]]; then
drush -y @default.dev config-split:import develop
fi
usage
:
Pull DB from live site
pull-files
:
cmd
:
|
...
...
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