From 065825c12d174c44d23b668e252d41bfc788c9e4 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Wed, 8 Apr 2020 14:26:07 +0300 Subject: [PATCH] Add smoke tests to CI --- .github/workflows/e2e.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index e4f033ff..8cf84ba6 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -39,8 +39,15 @@ jobs: run: make dev-deploy IMG=test/source-controller:latest env: KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin + - name: Run smoke tests + run: | + kubectl apply -f ./config/samples + kubectl wait gitrepository/podinfo --for=condition=ready --timeout=1m + kubectl wait helmrepository/podinfo --for=condition=ready --timeout=1m - name: Debug failure if: failure() run: | + kubectl get gitrepositories -oyaml + kubectl get helmrepositories -oyaml kubectl -n sourcer-system get all kubectl -n sourcer-system logs deploy/sourcer-controller