Skip to content

Commit aa7088b

Browse files
committed
add e2e test gate
Signed-off-by: Matthew F Leader <mleader@redhat.com>
1 parent 87c7216 commit aa7088b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/generate-release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,26 @@ jobs:
247247
with:
248248
go-version-file: go.mod
249249

250+
- name: Run E2E Tests
251+
id: e2e
252+
uses: ./.github/workflows/run-e2e-test.yml
253+
254+
- name: Display E2E Results
255+
if: always()
256+
run: |
257+
echo "E2E Test Results:"
258+
echo "Success: ${{ steps.e2e.outputs.success }}"
259+
echo "Summary: ${{ steps.e2e.outputs.summary }}"
260+
echo "Run URL: ${{ steps.e2e.outputs.run_url }}"
261+
262+
if [ "${{ steps.e2e.outputs.success }}" != "true" ]; then
263+
echo "E2E tests failed - release cannot proceed"
264+
echo "Check detailed logs: ${{ steps.e2e.outputs.run_url }}"
265+
exit 1
266+
else
267+
echo "E2E tests passed - proceeding with release"
268+
fi
269+
250270
- name: Build release image
251271
shell: bash
252272
run: |

0 commit comments

Comments
 (0)