Skip to content

Commit c731468

Browse files
committed
Update output format for environments and charts in CI/CD summary to YAML
1 parent 7f22e2d commit c731468

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/infrastructure-ci-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
environments_json=$(printf '%s\n' "${environments[@]}" | jq -R . | jq -s -c .)
8888
8989
echo "environments=${environments_json}" >> $GITHUB_OUTPUT
90-
echo -e "#Environments to process: \n\`\`\`yaml\n\n$(echo $environments_json | yq -y)\n\`\`\`" >> $GITHUB_STEP_SUMMARY
90+
echo -e "#Environments to process: \n\n\`\`\`json\n$(echo $environments_json | jq)\n\`\`\`" >> $GITHUB_STEP_SUMMARY
9191
9292
- name: Set matrix for changed charts
9393
id: set-chart-matrix
@@ -146,14 +146,14 @@ jobs:
146146
charts_json=$(printf '%s\n' "${charts[@]}" | jq -s -c '.')
147147
148148
echo "charts=${charts_json}" >> $GITHUB_OUTPUT
149-
echo -e "#Charts to process: \n\`\`\`yaml\n\n$(echo $charts_json | yq -y)\n\`\`\`" >> $GITHUB_STEP_SUMMARY
149+
echo -e "#Charts to process: \n\n\`\`\`json\n$(echo $charts_json | jq)\n\`\`\`" >> $GITHUB_STEP_SUMMARY
150150
151151
lint-and-test:
152152
needs: setup
153153
runs-on: ubuntu-latest
154154
if: needs.setup.outputs.charts != '[]'
155155
concurrency:
156-
group: ${{ github.ref }}
156+
group: ${{ github.ref }}-${{ matrix.environment.name }}-${{ matrix.chart.name }}-lint-and-test
157157
cancel-in-progress: true
158158
strategy:
159159
fail-fast: false

0 commit comments

Comments
 (0)