Skip to content

Commit 5f0c1eb

Browse files
committed
i wonder if these are free or if they use cloudwatch
1 parent 30147c0 commit 5f0c1eb

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,16 @@ jobs:
8080
if: needs.determine-builds.outputs.build-web == 'true'
8181
runs-on:
8282
- runs-on
83-
- runner=8cpu-linux-x64
83+
- runner=4cpu-linux-arm64
8484
- run-id=${{ github.run_id }}-web-build
8585
- extras=ecr-cache
8686
env:
8787
REGISTRY_IMAGE: onyxdotapp/onyx-web-server
8888
DEPLOYMENT: standalone
8989
steps:
9090
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # ratchet:runs-on/action@v2
91+
with:
92+
metrics: disk
9193

9294
- name: Checkout
9395
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # ratchet:actions/checkout@v4
@@ -159,14 +161,16 @@ jobs:
159161
if: needs.determine-builds.outputs.build-web-cloud == 'true'
160162
runs-on:
161163
- runs-on
162-
- runner=8cpu-linux-x64
164+
- runner=4cpu-linux-arm64
163165
- run-id=${{ github.run_id }}-web-cloud-build
164166
- extras=ecr-cache
165167
env:
166168
REGISTRY_IMAGE: onyxdotapp/onyx-web-server-cloud
167169
DEPLOYMENT: cloud
168170
steps:
169171
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # ratchet:runs-on/action@v2
172+
with:
173+
metrics: disk
170174

171175
- name: Checkout
172176
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # ratchet:actions/checkout@v4
@@ -243,14 +247,16 @@ jobs:
243247
if: needs.determine-builds.outputs.build-backend == 'true'
244248
runs-on:
245249
- runs-on
246-
- runner=8cpu-linux-x64
250+
- runner=2cpu-linux-arm64
247251
- run-id=${{ github.run_id }}-backend-build
248252
- extras=ecr-cache
249253
env:
250254
REGISTRY_IMAGE: ${{ contains(github.ref_name, 'cloud') && 'onyxdotapp/onyx-backend-cloud' || 'onyxdotapp/onyx-backend' }}
251255
DEPLOYMENT: ${{ contains(github.ref_name, 'cloud') && 'cloud' || 'standalone' }}
252256
steps:
253257
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # ratchet:runs-on/action@v2
258+
with:
259+
metrics: disk
254260

255261
- name: Checkout code
256262
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # ratchet:actions/checkout@v4
@@ -324,7 +330,7 @@ jobs:
324330
if: needs.determine-builds.outputs.build-model-server == 'true'
325331
runs-on:
326332
- runs-on
327-
- runner=8cpu-linux-x64
333+
- runner=2cpu-linux-arm64
328334
- run-id=${{ github.run_id }}-model-server-build
329335
- extras=ecr-cache
330336
env:
@@ -334,6 +340,8 @@ jobs:
334340
DEPLOYMENT: ${{ contains(github.ref_name, 'cloud') && 'cloud' || 'standalone' }}
335341
steps:
336342
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # ratchet:runs-on/action@v2
343+
with:
344+
metrics: disk
337345

338346
- name: Checkout code
339347
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # ratchet:actions/checkout@v4

0 commit comments

Comments
 (0)