Use official dockerhub repo in YAMLs
Change-Id: I0f5878bbea2e6e756fdb864324cf788191fc0e22
Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
diff --git a/infoCenter/k8s/createInfoCenter_yaml.sh b/infoCenter/k8s/createInfoCenter_yaml.sh
index 83ccead..1cd5aa0 100755
--- a/infoCenter/k8s/createInfoCenter_yaml.sh
+++ b/infoCenter/k8s/createInfoCenter_yaml.sh
@@ -18,6 +18,7 @@
release_name=${1:-}
namespace="infocenter"
hostname="help-staging.eclipse.org"
+dockerhub_repo="eclipsecbi/eclipse-infocenter"
# Verify inputs
if [[ -z "${release_name}" && $# -lt 1 ]]; then
@@ -168,10 +169,10 @@
terminationGracePeriodSeconds: 1200
containers:
- name: infocenter-${release_name}
- image: fr3d/infocentertest:${release_name}
+ image: ${dockerhub_repo}:${release_name}
imagePullPolicy: IfNotPresent
command:
- - /infocenter/startInfoCenter.sh
+ - /infocenter/startDockerInfoCenter.sh
livenessProbe:
httpGet:
path: /help/index.jsp
@@ -199,7 +200,7 @@
memory: 1.5Gi
volumeMounts:
- name: workspace
- mountPath: "/infocenter/eclipse/workspace"
+ mountPath: "/infocenter/workspace"
- name: nginx
image: twalter/openshift-nginx:stable-alpine
ports:
diff --git a/infoCenter/k8s/deployInfoCenter.sh b/infoCenter/k8s/deployInfoCenter.sh
old mode 100644
new mode 100755