Skip to content

Commit

Permalink
fix: remove test-connection pods
Browse files Browse the repository at this point in the history
also find changes across all commits in the pr branch
  • Loading branch information
hisImminence authored and aabouzaid committed Feb 27, 2025
1 parent c7a8d10 commit f16ce6d
Show file tree
Hide file tree
Showing 25 changed files with 16 additions and 375 deletions.
13 changes: 10 additions & 3 deletions .github/actions/generate-chart-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-version-maintenance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 != '[]' }}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f16ce6d

Please sign in to comment.