mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
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:
parent
40960a0ad8
commit
004027cca2
1 changed files with 24 additions and 0 deletions
24
.github/workflows/fleet-and-orbit.yml
vendored
24
.github/workflows/fleet-and-orbit.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue