Skip to content

Commit

Permalink
move back to docker in github runner
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-ang committed Jan 26, 2025
1 parent bc47eb4 commit e89ebb9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/service-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,19 @@ jobs:
- name: Build and Test Service
run: |
podman machine init
podman machine start
podman compose up -d
docker compose up -d
START_TIME=$(date +%s)
END_TIME=$((START_TIME + 90))
while [ $(date +%s) -lt $END_TIME ]; do
if ! podman ps | grep -q terrier-alert; then
if ! docker ps | grep -q terrier-alert; then
echo "Service crashed!"
podman compose logs
docker compose logs
exit 1
fi
sleep 5
done
echo "Service ran stable for 1.5 minutes"
podman compose down
docker compose down

0 comments on commit e89ebb9

Please sign in to comment.