diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 50b12315c..55be78ccb 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -73,13 +73,13 @@ jobs: just coordinator initializer port-forwarder openssl cryptsetup service-mesh-proxy node-installer ${{ inputs.platform }} - name: E2E Test run: | - nix run .#scripts.get-logs workspace/e2e.namespace & + nix run .#scripts.get-logs start workspace/e2e.namespace & nix shell -L .#contrast.e2e --command ${{ inputs.test-name }}.test -test.v \ --image-replacements workspace/just.containerlookup \ --namespace-file workspace/e2e.namespace \ --platform ${{ inputs.platform }} \ --skip-undeploy="${{ inputs.skip-undeploy && 'true' || 'false' }}" - kill %% + nix run .#scripts.get-logs download workspace/e2e.namespace - name: Upload logs if: always() uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 diff --git a/.github/workflows/e2e_aks_runtime.yml b/.github/workflows/e2e_aks_runtime.yml index 538302cff..23e5ddfa7 100644 --- a/.github/workflows/e2e_aks_runtime.yml +++ b/.github/workflows/e2e_aks_runtime.yml @@ -80,14 +80,14 @@ jobs: az extension add --name confcom - name: E2E test run: | - nix run .#scripts.get-logs workspace/e2e.namespace & + nix run .#scripts.get-logs start workspace/e2e.namespace & nix build .#contrast.e2e ./result/bin/aks-runtime.test -test.v \ --image-replacements workspace/just.containerlookup \ --namespace-file workspace/e2e.namespace \ --platform AKS-CLH-SNP \ --skip-undeploy="false" - kill %% + nix run .#scripts.get-logs download workspace/e2e.namespace - name: Upload logs if: always() uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3