27 lines
		
	
	
		
			809 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			809 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
 | |
| default_profile "${DKBUILD_PROFILE:-prod}"
 | |
| 
 | |
| if profile jclain; then
 | |
|     setenv REGISTRY=docker.jclain.fr
 | |
|     setenv PRIVAREG=docker.jclain.fr
 | |
|     setenv PUB=
 | |
|     setenv PRI=jclain/
 | |
| elif profile prod test; then
 | |
|     setenv REGISTRY=pubdocker.univ-reunion.fr
 | |
|     setenv PRIVAREG=pridocker.univ-reunion.fr
 | |
|     setenv PUB=
 | |
|     setenv PRI=rununiv/
 | |
|     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[*]}"
 | |
| elif profile devel; then
 | |
|     setenv REGISTRY=docker.devel.self
 | |
|     setenv PRIVAREG=docker.devel.self
 | |
|     setenv PUB=
 | |
|     setenv PRI=rununiv/
 | |
| fi
 |