From ff3ca3a3552b6fba40dcf24a8d76a49b0674802c Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 7 May 2024 15:38:38 +0300 Subject: [PATCH] ci: Add events test to e2e Signed-off-by: Stefan Prodan --- .github/workflows/e2e.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 72470259..536515fe 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -36,6 +36,7 @@ jobs: with: version: v0.22.0 cluster_name: kind + wait: 5s config: .github/kind/config.yaml # disable KIND-net # The versions below should target the oldest supported Kubernetes version # Keep this up-to-date with https://endoflife.date/kubernetes @@ -227,9 +228,19 @@ jobs: - name: flux tree run: | ./bin/flux tree kustomization flux-system | grep Service/podinfo + - name: flux events + run: | + ./bin/flux -n flux-system events --for Kustomization/apps | grep 'HelmRelease/podinfo' + ./bin/flux -n podinfo events --for HelmRelease/podinfo | grep 'podinfo.v1' + - name: flux stats + run: | + ./bin/flux stats -A - name: flux check run: | ./bin/flux check + - name: flux version + run: | + ./bin/flux version - name: flux uninstall run: | ./bin/flux uninstall --silent