Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cern-drupal-distribution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
drupal
paas
cern-drupal-distribution
Commits
a836cd37
Commit
a836cd37
authored
3 years ago
by
Vineet Reddy Rajula
Committed by
Konstantinos Samaras-Tsakiris
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix S2i workflow
parent
ea186530
No related branches found
No related tags found
1 merge request
!43
Fix S2i workflow
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
images/s2i/bin/assemble
+2
-2
2 additions, 2 deletions
images/s2i/bin/assemble
scripts/composer/ScriptHandler.php
+0
-8
0 additions, 8 deletions
scripts/composer/ScriptHandler.php
with
2 additions
and
10 deletions
images/s2i/bin/assemble
+
2
−
2
View file @
a836cd37
...
...
@@ -26,7 +26,7 @@ mv composer.admins.json composer.json
if
[
-f
composer.json
]
&&
[
-f
composer.user.json
]
&&
[
-f
composer.lock
]
;
then
echo
"---> Found 'composer.lock', updating dependencies ... "
composer
install
--optimize-autoloader
-vvv
composer
update
--optimize-autoloader
-vvv
--with-dependencies
fi
echo
"--> Ignition..."
\ No newline at end of file
echo
"--> Ignition..."
This diff is collapsed.
Click to expand it.
scripts/composer/ScriptHandler.php
+
0
−
8
View file @
a836cd37
...
...
@@ -50,14 +50,6 @@ public static function createRequiredFiles(Event $event) {
$fs
->
chmod
(
$drupalRoot
.
'/sites/default/settings.php'
,
0666
);
$event
->
getIO
()
->
write
(
"Created a sites/default/settings.php file with chmod 0666"
);
}
// Create the files directory with chmod 0777
if
(
!
$fs
->
exists
(
$drupalRoot
.
'/sites/default/files'
))
{
$oldmask
=
umask
(
0
);
$fs
->
mkdir
(
$drupalRoot
.
'/sites/default/files'
,
0777
);
umask
(
$oldmask
);
$event
->
getIO
()
->
write
(
"Created a sites/default/files directory with chmod 0777"
);
}
}
/**
...
...
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