Skip to content

Commit

Permalink
more tweaking the CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpromislow committed May 15, 2024
1 parent e2fd260 commit 7ed456a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:
run : ls -R ./dist/artifacts
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Install helm
uses: zypper -n install helm
- name : Run integration tests
run : ./scripts/integration-test
env:
Expand Down
17 changes: 9 additions & 8 deletions scripts/integration-test
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "Starting Rancher Server"
bash -ex "$(which entrypoint.sh)" >./rancher.log 2>&1 &
RANCHER_PID=$!

echo "Home on this here host $(hostname) is $HOME"
echo "Home on this here container is $HOME"

echo "Waiting for Rancher health check..."
RETRIES=0
Expand All @@ -34,15 +34,16 @@ while ! curl -sf http://localhost:80/healthz >/dev/null 2>&1; do
fi
echo "Try #$RETRIES waiting for rancher"
if [ $RETRIES -eq 10 ] ; then
echo "is k3s running?"
ps auxww | grep k3s
echo "is rancher running?"
ps auxww | grep rancher
#echo "is k3s running?"
#ps || true
#echo "is rancher running?"
#ps auxww | grep rancher
echo "ok all of ps..."
ps auxww
ps auxww || echo 'no ps on this machine'
echo "What about .kube"?
ls $HOME
ls $HOME/.kube
ls $HOME || true
ls $HOME/.kube || true
ls /etc/rancher || true
fi

sleep 2
Expand Down

0 comments on commit 7ed456a

Please sign in to comment.