Skip to content

Commit

Permalink
chore: install vfkit
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Dec 19, 2024
1 parent ecbc223 commit bfee4b7
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/e2e-ios-podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit bfee4b7

Please sign in to comment.