Add wait to fleet-and-orbit.yml until fleet and tunnel are responding (#28508)

Similar to the fix for https://github.com/fleetdm/fleet/issues/26349.
This commit is contained in:
Lucas Manuel Rodriguez 2025-04-23 19:07:36 -03:00 committed by GitHub
parent 40960a0ad8
commit 004027cca2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -340,6 +340,14 @@ jobs:
with:
name: fleet-osquery.pkg
- name: Wait until fleet address is reachable and fleet responds
run: |
until curl -v -fail ${{ needs.gen.outputs.address }}/version;
do
echo "Awaiting until fleet server responds..."
sleep 10
done
- name: Install pkg
run: |
sudo hostname orbit-macos
@ -391,6 +399,14 @@ jobs:
with:
name: fleet-osquery_42.0.0_amd64.deb
- name: Wait until fleet address is reachable and fleet responds
run: |
until curl -v -fail ${{ needs.gen.outputs.address }}/version;
do
echo "Awaiting until fleet server responds..."
sleep 10
done
- name: Install deb
run: |
sudo hostname orbit-ubuntu
@ -442,6 +458,14 @@ jobs:
with:
name: fleet-osquery.msi
- name: Wait until fleet address is reachable and fleet responds
run: |
until curl -v -fail ${{ needs.gen.outputs.address }}/version;
do
echo "Awaiting until fleet server responds..."
sleep 10
done
- name: Install msi
shell: pwsh
run: |