Skip to content

Commit 528e687

Browse files
committed
Fix
1 parent 499c649 commit 528e687

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/pr-mit-integration-tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
PERM_SYNC_SHAREPOINT_PRIVATE_KEY: ${{ secrets.PERM_SYNC_SHAREPOINT_PRIVATE_KEY }}
2424
PERM_SYNC_SHAREPOINT_CERTIFICATE_PASSWORD: ${{ secrets.PERM_SYNC_SHAREPOINT_CERTIFICATE_PASSWORD }}
2525
PERM_SYNC_SHAREPOINT_DIRECTORY_ID: ${{ secrets.PERM_SYNC_SHAREPOINT_DIRECTORY_ID }}
26-
PLATFORM_PAIR: linux-amd64
26+
PLATFORM_PAIR: linux-arm64
2727

2828
jobs:
2929
discover-test-dirs:
@@ -103,7 +103,7 @@ jobs:
103103
runs-on:
104104
[
105105
runs-on,
106-
runner=16cpu-linux-x64,
106+
runner=16cpu-linux-arm64,
107107
disk=large,
108108
"run-id=${{ github.run_id }}",
109109
]
@@ -125,7 +125,7 @@ jobs:
125125
with:
126126
context: ./backend
127127
file: ./backend/Dockerfile
128-
platforms: linux/amd64
128+
platforms: linux/arm64
129129
tags: onyxdotapp/integration-test-onyx-backend:test-${{ github.run_id }}
130130
push: true
131131
cache-from: type=s3,prefix=cache/${{ github.repository }}/mit-integration-tests/backend-${{ env.PLATFORM_PAIR }}/,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
@@ -135,7 +135,7 @@ jobs:
135135
runs-on:
136136
[
137137
runs-on,
138-
runner=16cpu-linux-x64,
138+
runner=16cpu-linux-arm64,
139139
disk=large,
140140
"run-id=${{ github.run_id }}",
141141
]
@@ -174,7 +174,7 @@ jobs:
174174
runs-on:
175175
[
176176
runs-on,
177-
runner=16cpu-linux-x64,
177+
runner=16cpu-linux-arm64,
178178
disk=large,
179179
"run-id=${{ github.run_id }}",
180180
]
@@ -202,7 +202,7 @@ jobs:
202202
with:
203203
context: ./backend
204204
file: ./backend/tests/integration/Dockerfile
205-
platforms: linux/amd64
205+
platforms: linux/arm64
206206
tags: onyxdotapp/integration-test-onyx-integration:test-${{ github.run_id }}
207207
push: true
208208
cache-from: type=s3,prefix=cache/${{ github.repository }}/mit-integration-tests/integration-${{ env.PLATFORM_PAIR }}/,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
@@ -220,7 +220,7 @@ jobs:
220220
runs-on:
221221
[
222222
runs-on,
223-
runner=8cpu-linux-x64,
223+
runner=8cpu-linux-arm64,
224224
disk=large,
225225
"run-id=${{ github.run_id }}",
226226
]
@@ -245,19 +245,19 @@ jobs:
245245
# Pull all images from registry in parallel
246246
echo "Pulling Docker images in parallel..."
247247
(docker pull onyxdotapp/onyx-web-server:latest) &
248-
(docker pull onyxdotapp/integration-test_onyx-backend:test-${{ github.run_id }}) &
249-
(docker pull onyxdotapp/integration-test_onyx-model-server:test-${{ github.run_id }}) &
250-
(docker pull onyxdotapp/integration-test_onyx-integration:test-${{ github.run_id }}) &
248+
(docker pull onyxdotapp/integration-test-onyx-backend:test-${{ github.run_id }}) &
249+
(docker pull onyxdotapp/integration-test-onyx-model-server:test-${{ github.run_id }}) &
250+
(docker pull onyxdotapp/integration-test-onyx-integration:test-${{ github.run_id }}) &
251251
252252
# Wait for all background jobs to complete
253253
wait
254254
echo "All Docker images pulled successfully"
255255
256256
# Re-tag with expected names for docker-compose
257257
docker tag onyxdotapp/onyx-web-server:latest onyxdotapp/onyx-web-server:test
258-
docker tag onyxdotapp/integration-test_onyx-backend:test-${{ github.run_id }} onyxdotapp/onyx-backend:test
259-
docker tag onyxdotapp/integration-test_onyx-model-server:test-${{ github.run_id }} onyxdotapp/onyx-model-server:test
260-
docker tag onyxdotapp/integration-test_onyx-integration:test-${{ github.run_id }} onyxdotapp/onyx-integration:test
258+
docker tag onyxdotapp/integration-test-onyx-backend:test-${{ github.run_id }} onyxdotapp/onyx-backend:test
259+
docker tag onyxdotapp/integration-test-onyx-model-server:test-${{ github.run_id }} onyxdotapp/onyx-model-server:test
260+
docker tag onyxdotapp/integration-test-onyx-integration:test-${{ github.run_id }} onyxdotapp/onyx-integration:test
261261
262262
# NOTE: Use pre-ping/null pool to reduce flakiness due to dropped connections
263263
- name: Start Docker containers

0 commit comments

Comments
 (0)