We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7e58c commit dfa8368Copy full SHA for dfa8368
1 file changed
.github/workflows/red-gcp-pre-pull-deployment-checks.yml
@@ -203,6 +203,7 @@ jobs:
203
# Set desired capacity
204
DESIRED_CAPACITY="${{ github.event.inputs.desired_capacity || '63' }}"
205
echo "desired_capacity=$DESIRED_CAPACITY" >> $GITHUB_OUTPUT
206
+ INFINIA_INSTANCES=$(( (${{ env.DESIRED_CAPACITY }} + 8) / 9 ))
207
208
deploy-marketplace:
209
needs: [prepare]
@@ -283,8 +284,8 @@ jobs:
283
284
zone = "us-central1-f"
285
project_id = "red-101"
286
machine_type = "n2-standard-16"
- #desired_capacity = ${{ env.DESIRED_CAPACITY }}
287
- num_infinia_instances = ${{ env.DESIRED_CAPACITY }}
+ desired_capacity = ${{ env.DESIRED_CAPACITY }}
288
+ num_infinia_instances = ${INFINIA_INSTANCES}
289
num_clients = ${{ env.NUM_CLIENTS }}
290
#local_disks = 4
291
pd_disk_size = 64
0 commit comments