From 6cff831d33bef32dac06b749c62c497191a734b6 Mon Sep 17 00:00:00 2001 From: Prem Saraswat Date: Wed, 3 Aug 2022 17:10:16 +0530 Subject: [PATCH] ci: Enable upgrade tests using ct Signed-off-by: Prem Saraswat --- .github/workflows/tests.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 50e28104..3821431e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,11 @@ jobs: with: fetch-depth: 0 + - name: Set up Helm + uses: azure/setup-helm@v3.3 + with: + version: ${{ env.helm-version }} + - name: Set up chart-testing uses: helm/chart-testing-action@v2.2.1 @@ -34,6 +39,11 @@ jobs: with: fetch-depth: 0 + - name: Set up Helm + uses: azure/setup-helm@v3.3 + with: + version: ${{ env.helm-version }} + - name: Set up chart-testing uses: helm/chart-testing-action@v2.2.1 @@ -50,7 +60,7 @@ jobs: run: kubectl create namespace tobs-test - name: Run chart-testing (install) - run: ct install --config ct.yaml --namespace tobs-test + run: ct install --config ct.yaml --namespace tobs-test --upgrade # TODO(onprem): Figure out a workaround to test datasources as ct just removes # the chart release after a successful install.