Passing the correct stackname to the kubernetes tests
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -346,7 +346,7 @@ jobs:
- name: Setup Config
run: |
mkdir -p "$HOME/.kube/"
- pulumi stack -s "${{ secrets.PULUMI_TEST_OWNER }}/${{ github.sha }}" -C misc/scripts/testinfra/ output kubeconfig >~/.kube/config
+ pulumi stack -s "${{ secrets.PULUMI_TEST_OWNER }}/${{ github.sha }}-${{ github.run_number }}" -C misc/scripts/testinfra/ output kubeconfig >~/.kube/config
- name: Run ${{ matrix.tests-set }} Tests
run: make specific_test_set TestSet=Kubernetes
- if: failure() && github.event_name == 'push'

MODIFY
.github/workflows/run-tests-command.yml
.github/workflows/run-tests-command.yml
@@ -344,6 +344,6 @@ jobs:
- name: Setup Config
run: |
mkdir -p "$HOME/.kube/"
- pulumi stack -s "${{ secrets.PULUMI_TEST_OWNER }}/${{ github.sha }}" -C misc/scripts/testinfra/ output kubeconfig >~/.kube/config
+ pulumi stack -s "${{ secrets.PULUMI_TEST_OWNER }}/${{ github.sha }}-${{ github.run_number }}" -C misc/scripts/testinfra/ output kubeconfig >~/.kube/config
- name: Run ${{ matrix.tests-set }} Tests
run: make specific_test_set TestSet=Kubernetes

Passing the correct stackname to the kubernetes tests