diff --git a/.github/workflows/e2e-ios-podman.yml b/.github/workflows/e2e-ios-podman.yml index 472e229dc4..dd71b49371 100644 --- a/.github/workflows/e2e-ios-podman.yml +++ b/.github/workflows/e2e-ios-podman.yml @@ -14,18 +14,19 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v14 - - - name: Run the Magic Nix Cache - uses: DeterminateSystems/magic-nix-cache-action@v8 - - name: Set up Podman and pull images in background run: | + brew config + brew info podman + rm -rf ~/.config/containers/ + rm -rf ~/.local/share/containers + brew install podman podman-compose + # Remove any existing machine and create new one podman machine rm --force || true - podman machine init --cpus 4 --memory 4104 --disk-size 60 --now + podman machine reset --force || true + podman --log-level debug machine init --cpus 4 --memory 4104 --disk-size 60 --now # podman machine start # Verify machine status @@ -35,6 +36,7 @@ jobs: # Set DOCKER_HOST environment variable SOCKET_PATH=$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}') echo "DOCKER_HOST=unix://${SOCKET_PATH}" >> $GITHUB_ENV + export DOCKER_HOST="unix://${SOCKET_PATH}" # Wait for Podman to be ready while ! podman info > /dev/null 2>&1; do @@ -46,9 +48,14 @@ jobs: podman system connection list # Start pulling images - export DOCKER_HOST="unix://${SOCKET_PATH}" podman-compose -f dev/vendor/galoy-quickstart/docker-compose.yml pull & + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v14 + + - name: Run the Magic Nix Cache + uses: DeterminateSystems/magic-nix-cache-action@v8 + - name: Initialize ci deps env: DOCKER_HOST: ${{ env.DOCKER_HOST }}