Reduce runs in parallel

This commit is contained in:
Jill Regan
2026-03-09 15:03:24 -04:00
parent f4a6c38f2a
commit 2b062ec18c

View File

@@ -30,6 +30,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: true fail-fast: true
max-parallel: 3
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
version: [latest, 2.30.0] version: [latest, 2.30.0]
@@ -195,23 +196,6 @@ jobs:
connect-host: http://localhost:8080 connect-host: http://localhost:8080
connect-token: ${{ secrets.OP_CONNECT_TOKEN }} connect-token: ${{ secrets.OP_CONNECT_TOKEN }}
- name: Wait for Connect sync to be ready
env:
OP_CONNECT_HOST: http://localhost:8080
run: |
url="${OP_CONNECT_HOST}/health"
for i in $(seq 1 12); do
sync_status=$(curl -sf -H "Authorization: Bearer $OP_CONNECT_TOKEN" "$url" | jq -r '.dependencies[] | select(.service=="sync") | .status // empty')
if [ "$sync_status" = "ACTIVE" ]; then
echo "Connect sync is ready"
exit 0
fi
echo "Waiting for sync ($i/12)... status=${sync_status:-unknown}"
sleep 5
done
echo "Timeout waiting for Connect sync"
exit 1
- name: Load secrets - name: Load secrets
id: load_secrets id: load_secrets
uses: ./ uses: ./