Skip to content

Commit

Permalink
feat: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Dec 31, 2024
1 parent 2d188de commit 4e48500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,14 @@ jobs:
--sources "k8s-gitops"
--output-file diff.patch
- name: Generate Diff
id: diff
run: |
diff=$(cat diff.patch)
echo "::set-output name=diff::${diff}"
- if: ${{ steps.diff.outputs.diff != '' }}
name: Add Comment
uses: mshick/add-pr-comment@v2
with:
repo-token: "${{ steps.app-token.outputs.token }}"
message-id: "${{ github.event.pull_request.number }}/kubernetes/${{ matrix.resources }}"
message-failure: Diff was not successful
message: |
```diff
${{ steps.diff.outputs.diff }}
```
message-path: diff.patch

# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
flux-diff-success:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-pull-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
shell: bash
run: |
images=$(jq --compact-output --raw-input --null-input '[inputs]' images.txt)
echo "::set-output name=${{ matrix.branches }}::${images}"
echo "${{ matrix.branches }}=${images}" >> $GITHUB_OUTPUT
compare-images:
name: Compare Images
Expand Down

0 comments on commit 4e48500

Please sign in to comment.