diff --git a/.github/actions/generate-chart-matrix/action.yml b/.github/actions/generate-chart-matrix/action.yml index a912a84b4d..dbe95e9f00 100644 --- a/.github/actions/generate-chart-matrix/action.yml +++ b/.github/actions/generate-chart-matrix/action.yml @@ -11,6 +11,13 @@ outputs: runs: using: composite steps: + - name: ℹ️ Print workflow inputs ℹ️ + shell: bash + env: + GITHUB_CONTEXT: ${{ toJson(inputs) }} + run: | + echo "Action Inputs:" + echo "${GITHUB_CONTEXT}" - name: Get changed dirs id: changed-files uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8 # v45 @@ -20,15 +27,15 @@ runs: shell: bash id: set-chart-versions env: - ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + ALL_MODIFIED_FILES: ${{ steps.changed-files.outputs.all_modified_files }} run: | echo "Setting matrix based on changed files" echo "Changed files:" - printf "%s\n" ${ALL_CHANGED_FILES} + printf "%s\n" ${ALL_MODIFIED_FILES} touch matrix_versions.txt ls -d ${{ inputs.charts-path }} | while read chart_dir; do - if [[ $(echo ${ALL_CHANGED_FILES} | grep "${chart_dir}") ]]; then + if [[ $(echo ${ALL_MODIFIED_FILES} | grep "${chart_dir}") ]]; then camunda_version="$(echo ${chart_dir} | cut -d '-' -f 3)"; echo "Camunda version: ${camunda_version}" echo "${camunda_version}" >> matrix_versions.txt; diff --git a/.github/workflows/test-version-maintenance.yaml b/.github/workflows/test-version-maintenance.yaml index 87985bb9f8..b46b152c70 100644 --- a/.github/workflows/test-version-maintenance.yaml +++ b/.github/workflows/test-version-maintenance.yaml @@ -31,12 +31,12 @@ jobs: outputs: matrix: ${{ steps.generate-chart-versions.outputs.matrix }} steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - name: Generate chart versions - id: generate-chart-versions - uses: ./.github/actions/generate-chart-matrix - with: - charts-path: "charts/camunda-platform-8*" + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - name: Generate chart versions + id: generate-chart-versions + uses: ./.github/actions/generate-chart-matrix + with: + charts-path: "charts/camunda-platform-8*" validation: if: ${{ needs.init.outputs.matrix != '[]' }} diff --git a/charts/camunda-platform-8.2/charts/identity/templates/tests/test-connection.yaml b/charts/camunda-platform-8.2/charts/identity/templates/tests/test-connection.yaml deleted file mode 100644 index 5b1eef421f..0000000000 --- a/charts/camunda-platform-8.2/charts/identity/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.2/charts/operate/templates/tests/test-connection.yaml b/charts/camunda-platform-8.2/charts/operate/templates/tests/test-connection.yaml deleted file mode 100644 index 8d9e02d4c8..0000000000 --- a/charts/camunda-platform-8.2/charts/operate/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "operate.fullname" . }}-test-connection" - labels: -{{ include "operate.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "operate.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.2/charts/optimize/templates/tests/test-connection.yaml b/charts/camunda-platform-8.2/charts/optimize/templates/tests/test-connection.yaml deleted file mode 100644 index eae2d45ad7..0000000000 --- a/charts/camunda-platform-8.2/charts/optimize/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "optimize.fullname" . }}-test-connection" - labels: -{{ include "optimize.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "optimize.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.2/charts/tasklist/templates/tests/test-connection.yaml b/charts/camunda-platform-8.2/charts/tasklist/templates/tests/test-connection.yaml deleted file mode 100644 index cd7508afb9..0000000000 --- a/charts/camunda-platform-8.2/charts/tasklist/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "tasklist.fullname" . }}-test-connection" - labels: -{{ include "tasklist.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "tasklist.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.2/charts/zeebe/templates/tests/test-connection.yaml b/charts/camunda-platform-8.2/charts/zeebe/templates/tests/test-connection.yaml deleted file mode 100644 index bcf8d3e13f..0000000000 --- a/charts/camunda-platform-8.2/charts/zeebe/templates/tests/test-connection.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ tpl .Values.global.zeebeClusterName . }}-test-connection" - labels: {{ include "zeebe.labels.broker" . | nindent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ tpl .Values.global.zeebeClusterName . }}:{{ .Values.service.httpPort }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.2/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-8.2/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-8.2/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-8.3/charts/identity/templates/tests/test-connection.yaml b/charts/camunda-platform-8.3/charts/identity/templates/tests/test-connection.yaml deleted file mode 100644 index 5b1eef421f..0000000000 --- a/charts/camunda-platform-8.3/charts/identity/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.3/templates/operate/tests/test-connection.yaml b/charts/camunda-platform-8.3/templates/operate/tests/test-connection.yaml deleted file mode 100644 index 69155714d0..0000000000 --- a/charts/camunda-platform-8.3/templates/operate/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "operate.fullname" . }}-test-connection" - labels: -{{ include "operate.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "operate.fullname" . }}:{{ .Values.operate.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.3/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-8.3/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-8.3/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-8.4/charts/identity/templates/tests/test-connection.yaml b/charts/camunda-platform-8.4/charts/identity/templates/tests/test-connection.yaml deleted file mode 100644 index 5b1eef421f..0000000000 --- a/charts/camunda-platform-8.4/charts/identity/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.4/templates/operate/tests/test-connection.yaml b/charts/camunda-platform-8.4/templates/operate/tests/test-connection.yaml deleted file mode 100644 index 69155714d0..0000000000 --- a/charts/camunda-platform-8.4/templates/operate/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "operate.fullname" . }}-test-connection" - labels: -{{ include "operate.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "operate.fullname" . }}:{{ .Values.operate.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.4/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-8.4/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-8.4/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-8.5/templates/identity/tests/test-connection.yaml b/charts/camunda-platform-8.5/templates/identity/tests/test-connection.yaml deleted file mode 100644 index 31f9805974..0000000000 --- a/charts/camunda-platform-8.5/templates/identity/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.identity.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.identity.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-8.5/templates/operate/tests/test-connection.yaml b/charts/camunda-platform-8.5/templates/operate/tests/test-connection.yaml deleted file mode 100644 index 69155714d0..0000000000 --- a/charts/camunda-platform-8.5/templates/operate/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "operate.fullname" . }}-test-connection" - labels: -{{ include "operate.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "operate.fullname" . }}:{{ .Values.operate.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.5/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-8.5/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-8.5/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-8.6/templates/identity/tests/test-connection.yaml b/charts/camunda-platform-8.6/templates/identity/tests/test-connection.yaml deleted file mode 100644 index 31f9805974..0000000000 --- a/charts/camunda-platform-8.6/templates/identity/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.identity.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.identity.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-8.6/templates/operate/tests/test-connection.yaml b/charts/camunda-platform-8.6/templates/operate/tests/test-connection.yaml deleted file mode 100644 index 69155714d0..0000000000 --- a/charts/camunda-platform-8.6/templates/operate/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "operate.fullname" . }}-test-connection" - labels: -{{ include "operate.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "operate.fullname" . }}:{{ .Values.operate.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-8.6/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-8.6/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-8.6/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-alpha-8.8/templates/identity/tests/test-connection.yaml b/charts/camunda-platform-alpha-8.8/templates/identity/tests/test-connection.yaml deleted file mode 100644 index 31f9805974..0000000000 --- a/charts/camunda-platform-alpha-8.8/templates/identity/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.identity.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.identity.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-alpha-8.8/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-alpha-8.8/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-alpha-8.8/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-alpha/templates/identity/tests/test-connection.yaml b/charts/camunda-platform-alpha/templates/identity/tests/test-connection.yaml deleted file mode 100644 index 31f9805974..0000000000 --- a/charts/camunda-platform-alpha/templates/identity/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.identity.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "identity.fullname" . }}-test-connection" - labels: -{{ include "identity.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "identity.fullname" . }}:{{ .Values.identity.service.port }}'] - restartPolicy: Never -{{- end }} diff --git a/charts/camunda-platform-alpha/templates/operate/tests/test-connection.yaml b/charts/camunda-platform-alpha/templates/operate/tests/test-connection.yaml deleted file mode 100644 index 69155714d0..0000000000 --- a/charts/camunda-platform-alpha/templates/operate/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "operate.fullname" . }}-test-connection" - labels: -{{ include "operate.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "operate.fullname" . }}:{{ .Values.operate.service.port }}'] - restartPolicy: Never diff --git a/charts/camunda-platform-alpha/templates/web-modeler/tests/test-connection.yaml b/charts/camunda-platform-alpha/templates/web-modeler/tests/test-connection.yaml deleted file mode 100644 index 83aa539345..0000000000 --- a/charts/camunda-platform-alpha/templates/web-modeler/tests/test-connection.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if .Values.webModeler.enabled -}} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "webModeler.fullname" . }}-test-connection" - labels: -{{ include "webModeler.labels" . | indent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "webModeler.webapp.fullname" . }}:{{ .Values.webModeler.webapp.service.port }}'] - restartPolicy: Never -{{- end }}