Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
eos-docker
Commits
45d4c61e
Commit
45d4c61e
authored
Nov 28, 2018
by
Martin Vala
Browse files
Doing abort when docker image cannot be downloaded
parent
07dce537
Pipeline
#607533
skipped with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
projects/eos/eos-docker-utils.spec
View file @
45d4c61e
Name: eos-docker-utils
Version: 1.0.1
3
Version: 1.0.1
4
Release: 1%{?dist}
Summary: EOS docker utils
License: LGPL v3+
...
...
projects/eos/utils/eos-docker
View file @
45d4c61e
...
...
@@ -182,7 +182,7 @@ function eosDockerPull() {
DEBUG
"Pulling
$t
..."
if
[
"
$t
"
==
"mgm"
-o
"
$t
"
==
"_single"
]
;
then
INFO
"Pulling docker '
$ED_DOCKER_PREFIX
/
$ED_DOCKER_IMAGE_NAME_VERSION
' ..."
$ED_DOCKER_CMD
pull
$ED_DOCKER_PREFIX
/
$ED_DOCKER_IMAGE_NAME_VERSION
$ED_DOCKER_CMD
pull
$ED_DOCKER_PREFIX
/
$ED_DOCKER_IMAGE_NAME_VERSION
||
{
ERROR
"Poblem doing '
$ED_DOCKER_CMD
pull
$ED_DOCKER_PREFIX
/
$ED_DOCKER_IMAGE_NAME_VERSION
' !!! Aborting ..."
;
exit
1
;
}
elif
[
"
$t
"
==
"fsts"
]
;
then
[[
$ED_NODE_TYPE
==
mgm
*
]]
&&
[
-f
$ED_ROOT_DIR
/
$ED_FST_HOSTS
]
&&
eos-docker-ssh pull
elif
[
"
$t
"
==
"host"
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment