2023-01-10 11:09:46 +04:00
|
|
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
2023-08-07 11:42:03 +04:00
|
|
|
if profile jclain; then
|
|
|
|
setenv REGISTRY=docker.jclain.fr
|
2023-08-22 10:43:43 +04:00
|
|
|
setenv PRIVAREG=docker.jclain.fr
|
2023-08-07 11:42:03 +04:00
|
|
|
elif profile prod test; then
|
2023-08-22 10:32:14 +04:00
|
|
|
setenv REGISTRY=pubdocker.univ-reunion.fr
|
2023-08-22 10:43:43 +04:00
|
|
|
setenv PRIVAREG=pridocker.univ-reunion.fr
|
2023-11-17 23:12:10 +04:00
|
|
|
host_mappings=(
|
|
|
|
pridocker.univ-reunion.fr:10.85.1.56
|
|
|
|
pubdocker.univ-reunion.fr:10.85.1.57
|
|
|
|
repos.univ-reunion.fr:10.85.1.57
|
|
|
|
git.univ-reunion.fr:10.85.1.55
|
|
|
|
)
|
|
|
|
default docker host-mappings="${host_mappings[*]}"
|
2023-01-10 11:09:46 +04:00
|
|
|
else
|
2023-08-11 09:55:46 +04:00
|
|
|
setenv REGISTRY=docker.devel.self
|
2023-08-22 10:43:43 +04:00
|
|
|
setenv PRIVAREG=docker.devel.self
|
2023-01-10 11:09:46 +04:00
|
|
|
fi
|