Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
  • Loading branch information
willdavsmith committed Nov 2, 2023
1 parent 246fcf8 commit 3c67c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/install-radius.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c67c62

Please sign in to comment.