test job with old namespace support to ensure backward compatibility of fission (#2654)

* trigger test job to ensure backward compatibility
* update builder and function namespace in the CI test
* resolve namespace to show logs for fission-CLI
* export function-namespace variable
* Use a common script for an old and new test run
* Revert empty namespace values in the chart

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Shubham Bansal
2022-12-08 12:15:23 +05:30
committed by GitHub
co-authored by Sanket Sudake
parent 985d94b5b8
commit 612206b033
6 changed files with 205 additions and 5 deletions
+34
View File
@@ -50,6 +50,8 @@ manifests:
imageTag: ""
influxdb.enabled: "false"
namespace: fission
builderNamespace: ""
functionNamespace: ""
openTelemetry.otlpCollectorEndpoint: ""
openTelemetry.otlpInsecure: "true"
podMonitor.additionalPodMonitorLabels.release: prometheus
@@ -126,6 +128,38 @@ profiles:
- op: replace
path: /manifests/helm/releases/0/setValues/grafana.dashboards.enabled
value: true
- name: kind-ci-old
patches:
- op: replace
path: /manifests/helm/releases/0/setValues/repository
value: ""
- op: replace
path: /manifests/helm/releases/0/setValues/storagesvc.archivePruner.interval
value: 1
- op: replace
path: /manifests/helm/releases/0/setValues/routerServiceType
value: NodePort
- op: replace
path: /manifests/helm/releases/0/setValues/canaryDeployment.enabled
value: true
- op: replace
path: /manifests/helm/releases/0/setValues/prometheus.serviceEndpoint
value: http://prometheus-operated.monitoring.svc.cluster.local:9090
- op: replace
path: /manifests/helm/releases/0/setValues/podMonitor.enabled
value: true
- op: replace
path: /manifests/helm/releases/0/setValues/serviceMonitor.enabled
value: true
- op: replace
path: /manifests/helm/releases/0/setValues/grafana.dashboards.enabled
value: true
- op: replace
path: /manifests/helm/releases/0/setValues/builderNamespace
value: fission-builder
- op: replace
path: /manifests/helm/releases/0/setValues/functionNamespace
value: fission-function
- name: kind-opentelemetry
patches:
- op: replace