fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job #41
@@ -81,14 +81,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Wait for CI site to be healthy
|
- name: Wait for CI site to be healthy
|
||||||
run: |
|
run: |
|
||||||
for i in {1..30}; do
|
for i in {1..60}; do
|
||||||
if curl -sf https://euchre-ci.notsosm.art/api/health > /dev/null 2>&1; then
|
if curl -sf https://euchre-ci.notsosm.art/api/health > /dev/null 2>&1; then
|
||||||
echo "CI site is healthy"
|
echo "CI site is healthy"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
sleep 0.5
|
sleep 1
|
||||||
done
|
done
|
||||||
echo "CI site failed to become healthy after 15 seconds"
|
echo "CI site failed to become healthy after 60 seconds"
|
||||||
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
|
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
- name: Cleanup PR images
|
- name: Cleanup PR images
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
docker rmi ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:pr-${{ steps.info.outputs.pr_number }}-${{ steps.info.outputs.short_sha }} || true
|
docker rmi --force ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:pr-${{ steps.info.outputs.pr_number }}-${{ steps.info.outputs.short_sha }} || true
|
||||||
|
|
||||||
analyze-bump-type:
|
analyze-bump-type:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user