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
ffb4cf04
Commit
ffb4cf04
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Load the run image after setup and selfupdate
parent
0c18ab4b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
run/scripts/selfupdate
+5
-5
5 additions, 5 deletions
run/scripts/selfupdate
setup/scripts/setup
+1
-0
1 addition, 0 deletions
setup/scripts/setup
with
6 additions
and
5 deletions
run/scripts/selfupdate
+
5
−
5
View file @
ffb4cf04
...
...
@@ -11,14 +11,15 @@ if [[ "$NEWVERSION" == "" ]]; then
exit
fi
export
L3DVERSION
=
${
NEWVERSION
}
echo
"Loading new version ..."
UPDATE
=
$(
docker run
-v
${
SCRIPTPATH
}
:/setup
--rm
registry.lakedrops.com/docker/l3d/setup:
${
NEW
VERSION
}
2>&1
)
if
[[
"
$UPDATE
"
==
*
"setup:
${
NEW
VERSION
}
not found"
*
]]
;
then
echo
"Version
${
NEW
VERSION
}
not found."
UPDATE
=
$(
docker run
-v
${
SCRIPTPATH
}
:/setup
--rm
registry.lakedrops.com/docker/l3d/setup:
${
L3D
VERSION
}
2>&1
)
if
[[
"
$UPDATE
"
==
*
"setup:
${
L3D
VERSION
}
not found"
*
]]
;
then
echo
"Version
${
L3D
VERSION
}
not found."
exit
fi
echo
"Self update to version
${
NEW
VERSION
}
succeeded!"
echo
"Self update to version
${
L3D
VERSION
}
succeeded!"
echo
""
echo
""
echo
""
...
...
@@ -35,6 +36,5 @@ echo ""
echo
""
echo
""
export
L3DVERSION
=
${
NEWVERSION
}
export
L3D_FORCE_UPDATE
=
0
/usr/local/bin/reset
This diff is collapsed.
Click to expand it.
setup/scripts/setup
+
1
−
0
View file @
ffb4cf04
...
...
@@ -2,6 +2,7 @@
cp
/usr/local/bin/l3d /setup/l3d
cp
/usr/local/bin/prepareMac4L3d /setup/prepareMac4L3d
docker pull registry.lakedrops.com/docker/l3d/run:
${
L3DVERSION
}
2>&1
echo
"L3D installed successfully!"
echo
""
...
...
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