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
8f7e7bb0
Commit
8f7e7bb0
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Debugging
parent
e4e55e81
No related branches found
Branches containing commit
Tags
v2.4.1
v2.4.2
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
run/scripts/selfupdate
+2
-3
2 additions, 3 deletions
run/scripts/selfupdate
setup/scripts/setup
+0
-9
0 additions, 9 deletions
setup/scripts/setup
with
2 additions
and
12 deletions
run/scripts/selfupdate
+
2
−
3
View file @
8f7e7bb0
...
...
@@ -12,13 +12,11 @@ if [[ "$NEWVERSION" == "" ]]; then
fi
echo
"Loading new version ..."
UPDATE
=
$(
docker run
-v
${
SCRIPTPATH
}
:/setup
--rm
registry.lakedrops.com/docker/l3d/setup:
${
NEWVERSION
}
)
# 2>&1)
UPDATE
=
$(
docker run
-v
${
SCRIPTPATH
}
:/setup
--rm
registry.lakedrops.com/docker/l3d/setup:
${
NEWVERSION
}
2>&1
)
if
[[
"
$UPDATE
"
==
*
"setup:
${
NEWVERSION
}
not found"
*
]]
;
then
echo
"Version
${
NEWVERSION
}
not found."
exit
fi
docker images
echo
"Self update to version
${
NEWVERSION
}
succeeded!"
echo
""
...
...
@@ -37,6 +35,7 @@ echo ""
echo
""
echo
""
docker pull registry.lakedrops.com/docker/l3d/run:
${
NEWVERSION
}
2>&1
export
L3DVERSION
=
${
NEWVERSION
}
export
L3D_FORCE_UPDATE
=
0
/usr/local/bin/reset
This diff is collapsed.
Click to expand it.
setup/scripts/setup
+
0
−
9
View file @
8f7e7bb0
...
...
@@ -2,15 +2,6 @@
cp
/usr/local/bin/l3d /setup/l3d
cp
/usr/local/bin/prepareMac4L3d /setup/prepareMac4L3d
if
[
"
${
NEWVERSION
}
"
=
""
]
;
then
echo
"Loading latest"
docker pull registry.lakedrops.com/docker/l3d/run:latest
#2>&1
else
echo
"Loading
${
NEWVERSION
}
"
docker pull registry.lakedrops.com/docker/l3d/run:
${
NEWVERSION
}
#2>&1
fi
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