From 174ba892c4c93ccf9c1022c1223206dc02ccbfd3 Mon Sep 17 00:00:00 2001 From: Emilien Devos <121870973+edevosc2c@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:53:41 +0100 Subject: [PATCH] remove tests folder since not needed anymore (#119) --- templates/tests/webapps-test.yaml | 144 ------------------------------ 1 file changed, 144 deletions(-) delete mode 100644 templates/tests/webapps-test.yaml diff --git a/templates/tests/webapps-test.yaml b/templates/tests/webapps-test.yaml deleted file mode 100644 index 7e0a06f..0000000 --- a/templates/tests/webapps-test.yaml +++ /dev/null @@ -1,144 +0,0 @@ -{{- if .Values.georchestra.webapps.analytics.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-analytics" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-analytics-svc:8080/analytics/'] - restartPolicy: Never -{{- end }} -{{- if .Values.georchestra.webapps.cas.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-cas" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-cas-svc:8080/cas/login'] - restartPolicy: Never -{{- end }} -{{- if .Values.georchestra.webapps.console.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-console" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-console-svc:8080/console/public/orgs/areaConfig.json'] - restartPolicy: Never -{{- end }} -{{- if .Values.georchestra.webapps.geonetwork.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-geonetwork" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-geonetwork-svc:8080/geonetwork/srv/eng/catalog.search'] - restartPolicy: Never -{{- end}} -{{- if .Values.georchestra.webapps.geoserver.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-geoserver" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-geoserver-svc:8080/geoserver/wms'] - restartPolicy: Never -{{- end }} -{{- if .Values.georchestra.webapps.header.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-header" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-header-svc:8080/header/'] - restartPolicy: Never -{{- end }} -{{- if .Values.georchestra.webapps.mapstore.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-mapstore" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-mapstore-svc:8080/mapstore/'] - restartPolicy: Never -{{- end }} -{{- if .Values.georchestra.webapps.proxy.enabled -}} ---- -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "georchestra.fullname" . }}-test-sp" - labels: - {{- include "georchestra.labels" . | nindent 4 }} - org.georchestra.pod/purpose: test - annotations: - "helm.sh/hook": test -spec: - containers: - - name: curl - image: curlimages/curl - args: ['http://{{ include "georchestra.fullname" . }}-sp-svc:8080/_static/bootstrap_3.0.0/css/bootstrap-theme.min.css'] - restartPolicy: Never -{{- end }} \ No newline at end of file