Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kubealex committed Jan 3, 2024
1 parent d6ca37a commit 5dc8571
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,14 @@ jobs:
run: |
kubectl create ns mediaserver
kubectl apply -f tests/k8s-mediaserver.yml -n mediaserver
sleep 75
kubectl get pod -n mediaserver $(kubectl get pod -n mediaserver | awk 'NR>1{ print $1 }' | grep jacket) -o yaml
kubectl get deployment -n mediaserver jackett -o yaml
# for pod in $(kubectl get pods -n mediaserver | awk 'NR>1{ print $1 }'); do while [[ $(kubectl get pods $pod -n mediaserver -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "Waiting for mediaserver pods to be ready" && sleep 10; done ; done
# sleep 15
sleep 15
for pod in $(kubectl get pods -n mediaserver | awk 'NR>1{ print $1 }'); do while [[ $(kubectl get pods $pod -n mediaserver -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "Waiting for mediaserver pods to be ready" && sleep 10; done ; done
- name: Edit hosts file and test apps
run: |
sudo echo "127.0.0.1 ${{ env.plex_ingress_host }} ${{ env.ingress_host }}" | sudo tee -a /etc/hosts
sudo echo "127.0.0.1 ${{ env.jellyfin_ingress_host }} ${{ env.ingress_host }}" | sudo tee -a /etc/hosts
wget ${{ env.ingress_host }}/jackett
wget ${{ env.ingress_host }}/sonarr
wget ${{ env.ingress_host }}/radarr
wget ${{ env.ingress_host }}/sabnzbd
wget ${{ env.ingress_host }}/prowlarr
curl ${{ env.plex_ingress_host }}
curl ${{ env.jellyfin_ingress_host }}

0 comments on commit 5dc8571

Please sign in to comment.