From 3c67c62a2d9583baccfdac174d18ec5b1748ce7f Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Thu, 2 Nov 2023 15:02:44 -0700 Subject: [PATCH] test Signed-off-by: willdavsmith --- .github/scripts/install-radius.sh | 2 +- .github/workflows/test.yaml | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/scripts/install-radius.sh b/.github/scripts/install-radius.sh index 48e9ebab..23d0265f 100755 --- a/.github/scripts/install-radius.sh +++ b/.github/scripts/install-radius.sh @@ -27,7 +27,7 @@ if [[ $VERSION == "edge" ]]; then mv ./dist/linux_amd64/release/rad ./rad chmod +x ./rad mv ./rad /usr/local/bin/rad -elif [[ $VERSION != *"rc"* ]]; then +elif [[ -n $VERSION && $VERSION != *"rc"* ]]; then INPUT_CHANNEL=$(echo $VERSION | cut -d '.' -f 1,2) echo "Downloading rad CLI version $INPUT_CHANNEL" wget -q $RAD_CLI_URL -O - | /bin/bash -s $INPUT_CHANNEL diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8e0e7f24..7a49e185 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -214,17 +214,7 @@ jobs: run: | namespace="default-${{ matrix.app }}" label="radapp.io/application=${{ matrix.app }}" - kubectl get pods -l $label -n $namespace - kubectl get pod -A --no-headers |awk '{arr[$4]++}END{for (a in arr) print a, arr[a]}' - kubectl wait --for=condition=Ready pod -l $label -n $namespace --timeout=5m - - name: Wait for all pods to be ready2 - if: always() - run: | - namespace="default-${{ matrix.app }}" - label="radapp.io/application=${{ matrix.app }}" - kubectl get pod -A --no-headers |awk '{arr[$4]++}END{for (a in arr) print a, arr[a]}' - kubectl get pods -l $label -n $namespace - kubectl describe pods -l $label -n $namespace + k rollout status deployment -n $namespace -l $label --timeout=5m - name: Run Playwright Test if: steps.gen-id.outputs.RUN_TEST == 'true' && matrix.uiTestFile != '' id: run-playwright-test