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
0c18ab4b
Commit
0c18ab4b
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#72
Implement "l3d info"
parent
63098a2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+1
-0
1 addition, 0 deletions
Dockerfile
run/scripts/info
+3
-3
3 additions, 3 deletions
run/scripts/info
run/scripts/selfupdate
+14
-10
14 additions, 10 deletions
run/scripts/selfupdate
start.sh
+3
-3
3 additions, 3 deletions
start.sh
with
21 additions
and
16 deletions
Dockerfile
+
1
−
0
View file @
0c18ab4b
...
...
@@ -18,6 +18,7 @@ ADD configIdea.sh /usr/local/bin/.configIdea
ADD
l3dComposer.php /usr/local/bin/.l3dComposer.php
ADD
run/scripts/info /usr/local/bin/l3d
ADD
run/scripts/version /usr/local/bin/version
ADD
run/scripts/l3dnewversion /usr/local/bin/l3dnewversion
RUN
echo
"Install dorgflow"
&&
\
cd
/var/opt
&&
\
...
...
This diff is collapsed.
Click to expand it.
run/scripts/info
+
3
−
3
View file @
0c18ab4b
...
...
@@ -26,9 +26,9 @@ function infol3d() {
more .env
fi
else
echo
-e
"
\\
033[31m
"
========================================
"
\\
033[0m"
echo
-e
"
\\
033[31m
"
Calling L3D inside of L3D is not useful.
"
\\
033[0m"
echo
-e
"
\\
033[31m
"
========================================
"
\\
033[0m"
echo
-e
"
\\
033[31m ========================================
\\
033[0m"
echo
-e
"
\\
033[31m Calling L3D inside of L3D is not useful.
\\
033[0m"
echo
-e
"
\\
033[31m ========================================
\\
033[0m"
fi
fi
sectionFooter
...
...
This diff is collapsed.
Click to expand it.
run/scripts/selfupdate
+
14
−
10
View file @
0c18ab4b
...
...
@@ -19,18 +19,22 @@ if [[ "$UPDATE" == *"setup:${NEWVERSION} not found"* ]]; then
fi
echo
"Self update to version
${
NEWVERSION
}
succeeded!"
export
L3DVERSION
=
${
NEWVERSION
}
export
L3D_FORCE_UPDATE
=
0
/usr/local/bin/reset
echo
""
echo
""
echo
""
echo
"================================================================"
echo
"It's recommended to run"
echo
"=================================================================="
echo
"The cleanup process only removes unused and outdated components."
echo
"If you also want to update the components of your current projects"
echo
"you need to run"
echo
""
echo
-e
"
\\
033[31m l3d reset
\\
033[0m"
echo
""
echo
" l3d reset"
echo
"when the self-update has completed."
echo
"=================================================================="
echo
""
echo
"now, so that we can clean the legacy components properly."
echo
"================================================================"
echo
""
echo
""
export
L3DVERSION
=
${
NEWVERSION
}
export
L3D_FORCE_UPDATE
=
0
/usr/local/bin/reset
This diff is collapsed.
Click to expand it.
start.sh
+
3
−
3
View file @
0c18ab4b
...
...
@@ -192,9 +192,9 @@ readEnv
# Validate PHP version
INSTALLED_PHP_VERSION
=
$(
php
-r
"echo(substr(phpversion(),0,3));"
)
if
[[
"
$INSTALLED_PHP_VERSION
"
!=
"
$PHP_VERSION
"
]]
;
then
echo
-e
"
\\
033[31m
"
=============================================
"
\\
033[0m"
echo
-e
"
\\
033[31m
"
ERROR: PHP
$INSTALLED_PHP_VERSION
installed but
$PHP_VERSION
expected
!!!
"
\\
033[0m"
echo
-e
"
\\
033[31m
"
=============================================
"
\\
033[0m"
echo
-e
"
\\
033[31m =============================================
\\
033[0m"
echo
-e
"
\\
033[31m ERROR: PHP
$INSTALLED_PHP_VERSION
installed but
$PHP_VERSION
expected !!!
\\
033[0m"
echo
-e
"
\\
033[31m =============================================
\\
033[0m"
fi
if
[[
"
$COMPOSER_DOWNGRADE
"
==
"1"
]]
;
then
composer self-update
--1
...
...
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