@@ -10,21 +10,17 @@ concurrency:
10
10
11
11
jobs :
12
12
e2e-test :
13
- runs-on : macos-latest
13
+ runs-on : macos-13
14
14
steps :
15
15
- uses : actions/checkout@v4
16
16
17
- - name : Install Nix
18
- uses : DeterminateSystems/nix-installer-action@v14
19
-
20
- - name : Run the Magic Nix Cache
21
- uses : DeterminateSystems/magic-nix-cache-action@v8
22
-
23
17
- name : Set up Podman and pull images in background
24
18
run : |
25
19
brew install podman podman-compose
20
+ podman --help
21
+
26
22
# Remove any existing machine and create new one
27
- podman machine rm --force || true
23
+ podman machine reset --force || true
28
24
podman machine init --cpus 4 --memory 4104 --disk-size 60 --now
29
25
# podman machine start
30
26
35
31
# Set DOCKER_HOST environment variable
36
32
SOCKET_PATH=$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}')
37
33
echo "DOCKER_HOST=unix://${SOCKET_PATH}" >> $GITHUB_ENV
34
+ export DOCKER_HOST="unix://${SOCKET_PATH}"
38
35
39
36
# Wait for Podman to be ready
40
37
while ! podman info > /dev/null 2>&1; do
46
43
podman system connection list
47
44
48
45
# Start pulling images
49
- export DOCKER_HOST="unix://${SOCKET_PATH}"
50
- podman-compose -f dev/vendor/galoy-quickstart/docker-compose.yml pull &
46
+ podman-compose -f dev/vendor/galoy-quickstart/docker-compose.yml pull
47
+
48
+ - name : Install Nix
49
+ uses : DeterminateSystems/nix-installer-action@v14
50
+
51
+ - name : Run the Magic Nix Cache
52
+ uses : DeterminateSystems/magic-nix-cache-action@v8
51
53
52
54
- name : Initialize ci deps
53
55
env :
0 commit comments