Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ jobs:
image: ${{ matrix.image }}

services:
postgres:
image: ghcr.io/candlepin/candlepin-db:latest
candlepin:
image: ghcr.io/candlepin/candlepin-unofficial:latest
options: --privileged --hostname candlepin.local
image: ghcr.io/candlepin/candlepin-app:latest
options: --hostname candlepin.local

steps:
- name: "Checkout repository"
Expand All @@ -58,9 +60,9 @@ jobs:
- name: "Wait for candlepin to be ready"
run: |
for i in $(seq 1 60); do
if curl -sf http://candlepin:8080/candlepin/status > /dev/null 2>&1; then
if curl -sfk https://candlepin:8443/candlepin/status > /dev/null 2>&1; then
echo "Candlepin is ready"
curl -s http://candlepin:8080/candlepin/status
curl -sk https://candlepin:8443/candlepin/status
exit 0
fi
echo "Waiting for candlepin... attempt $i/60"
Expand Down