Add 2020-12 info center, remove 2018-12, update 2020-09
Change-Id: If9eafffc82314b4658b74691894a63bb8aecd6da
Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
diff --git a/infoCenter/app/createInfoCenter.sh b/infoCenter/app/createInfoCenter.sh
index 5512a28..4890f36 100755
--- a/infoCenter/app/createInfoCenter.sh
+++ b/infoCenter/app/createInfoCenter.sh
@@ -108,7 +108,7 @@
jar_list=$(find ${p2_repo_dir}/plugins -name *.jar ! -name *source* -printf '%f\n')
output_file="doc_plugins.tar"
-rm -f "${output_file}.*"
+rm -f "${output_file}*"
for file in ${jar_list}
do
diff --git a/infoCenter/k8s/2020-09/statefulset.yml b/infoCenter/k8s/2020-09/statefulset.yml
index ce89dab..a240d0c 100644
--- a/infoCenter/k8s/2020-09/statefulset.yml
+++ b/infoCenter/k8s/2020-09/statefulset.yml
@@ -38,7 +38,7 @@
terminationGracePeriodSeconds: 1200
containers:
- name: infocenter-2020-09
- image: eclipsecbi/eclipse-infocenter:2020-09@sha256:d404c8f9ba87091c9b0d036db13d268ce4bb917b8028ff59295bb9b9294eab75
+ image: eclipsecbi/eclipse-infocenter:2020-09@sha256:7a993dcafea06dd4d20f917434f5097dcce9b2efdfbc1c64b8b151d8e34293c2
imagePullPolicy: IfNotPresent
command:
- /infocenter/startDockerInfoCenter.sh
diff --git a/infoCenter/k8s/2018-12/nginx-configmap.yml b/infoCenter/k8s/2020-12/nginx-configmap.yml
similarity index 91%
rename from infoCenter/k8s/2018-12/nginx-configmap.yml
rename to infoCenter/k8s/2020-12/nginx-configmap.yml
index 31f2c94..958b8e0 100644
--- a/infoCenter/k8s/2018-12/nginx-configmap.yml
+++ b/infoCenter/k8s/2020-12/nginx-configmap.yml
@@ -10,9 +10,9 @@
kind: ConfigMap
metadata:
labels:
- infocenter.version: "2018-12"
+ infocenter.version: "2020-12"
namespace: "infocenter"
- name: nginx-config-2018-12
+ name: nginx-config-2020-12
data:
nginx.conf: |-
worker_processes 1;
@@ -28,7 +28,7 @@
keepalive_timeout 65;
server {
listen 8080;
- location /2018-12/ {
+ location /2020-12/ {
proxy_pass http://127.0.0.1:8086/help/;
}
}
diff --git a/infoCenter/k8s/2018-12/route.yml b/infoCenter/k8s/2020-12/route.yml
similarity index 88%
rename from infoCenter/k8s/2018-12/route.yml
rename to infoCenter/k8s/2020-12/route.yml
index 46ed288..e1a666f 100644
--- a/infoCenter/k8s/2018-12/route.yml
+++ b/infoCenter/k8s/2020-12/route.yml
@@ -10,14 +10,14 @@
kind: "Route"
metadata:
labels:
- infocenter.version: "2018-12"
+ infocenter.version: "2020-12"
namespace: "infocenter"
annotations:
haproxy.router.openshift.io/timeout: 60s
- name: "infocenter-2018-12"
+ name: "infocenter-2020-12"
spec:
host: "help.eclipse.org"
- path: "/2018-12"
+ path: "/2020-12"
port:
targetPort: "http"
tls:
@@ -25,5 +25,5 @@
termination: "edge"
to:
kind: "Service"
- name: "infocenter-2018-12"
+ name: "infocenter-2020-12"
weight: 100
diff --git a/infoCenter/k8s/2018-12/service.yml b/infoCenter/k8s/2020-12/service.yml
similarity index 87%
rename from infoCenter/k8s/2018-12/service.yml
rename to infoCenter/k8s/2020-12/service.yml
index 99eed0d..38f7a2d 100644
--- a/infoCenter/k8s/2018-12/service.yml
+++ b/infoCenter/k8s/2020-12/service.yml
@@ -10,9 +10,9 @@
kind: "Service"
metadata:
labels:
- infocenter.version: "2018-12"
+ infocenter.version: "2020-12"
namespace: "infocenter"
- name: "infocenter-2018-12"
+ name: "infocenter-2020-12"
spec:
ports:
- name: "http"
@@ -20,4 +20,4 @@
protocol: "TCP"
targetPort: 8080
selector:
- infocenter.version: "2018-12"
+ infocenter.version: "2020-12"
diff --git a/infoCenter/k8s/2018-12/statefulset.yml b/infoCenter/k8s/2020-12/statefulset.yml
similarity index 84%
rename from infoCenter/k8s/2018-12/statefulset.yml
rename to infoCenter/k8s/2020-12/statefulset.yml
index edce849..c5b5cc6 100644
--- a/infoCenter/k8s/2018-12/statefulset.yml
+++ b/infoCenter/k8s/2020-12/statefulset.yml
@@ -10,20 +10,20 @@
kind: StatefulSet
metadata:
labels:
- infocenter.version: "2018-12"
+ infocenter.version: "2020-12"
namespace: "infocenter"
- name: "infocenter-2018-12"
+ name: "infocenter-2020-12"
spec:
replicas: 1
selector:
matchLabels:
- infocenter.version: "2018-12"
- serviceName: "infocenter-2018-12"
+ infocenter.version: "2020-12"
+ serviceName: "infocenter-2020-12"
template:
metadata:
labels:
- infocenter.version: "2018-12"
- name: "infocenter-2018-12"
+ infocenter.version: "2020-12"
+ name: "infocenter-2020-12"
spec:
affinity:
nodeAffinity:
@@ -37,8 +37,8 @@
- fast
terminationGracePeriodSeconds: 1200
containers:
- - name: infocenter-2018-12
- image: eclipsecbi/eclipse-infocenter:2018-12@sha256:d48c67f452e75ef7f2ea07d534a0b0d8d29a35f98693c9aa41a4da3424341cdf
+ - name: infocenter-2020-12
+ image: eclipsecbi/eclipse-infocenter:2020-12@sha256:92848db1c8e6e290e5b4fe01833437ec81d5df0f2f2282a909bd83f7ac2fcd9c
imagePullPolicy: IfNotPresent
command:
- /infocenter/startDockerInfoCenter.sh
@@ -83,4 +83,4 @@
emptyDir: {}
- name: nginx-config
configMap:
- name: nginx-config-2018-12
+ name: nginx-config-2020-12