bug
This commit is contained in:
parent
3123d8e65e
commit
db1467b8fd
|
@ -1,4 +1,11 @@
|
||||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||||
|
_valid_profiles=(
|
||||||
|
prod test devel
|
||||||
|
jclain
|
||||||
|
)
|
||||||
|
_default_profile=devel
|
||||||
|
[ -z "$DKBUILD_NO_SETPROFILES" ] && setprofiles "$_default_profile" "${_valid_profiles[@]}"
|
||||||
|
|
||||||
if profile jclain; then
|
if profile jclain; then
|
||||||
setenv REGISTRY=docker.jclain.fr
|
setenv REGISTRY=docker.jclain.fr
|
||||||
setenv PRIVAREG=docker.jclain.fr
|
setenv PRIVAREG=docker.jclain.fr
|
||||||
|
@ -12,7 +19,7 @@ elif profile prod test; then
|
||||||
git.univ-reunion.fr:10.85.1.55
|
git.univ-reunion.fr:10.85.1.55
|
||||||
)
|
)
|
||||||
default docker host-mappings="${host_mappings[*]}"
|
default docker host-mappings="${host_mappings[*]}"
|
||||||
else
|
elif profile devel; then
|
||||||
setenv REGISTRY=docker.devel.self
|
setenv REGISTRY=docker.devel.self
|
||||||
setenv PRIVAREG=docker.devel.self
|
setenv PRIVAREG=docker.devel.self
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue