Skip to content

Commit

Permalink
fix: decrease output
Browse files Browse the repository at this point in the history
Signed-off-by: Kami Wan <[email protected]>
  • Loading branch information
KaimingWan authored and Kami Wan committed Jun 6, 2024
1 parent 1ca3970 commit f176bfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/actions/prepare-vs-shared/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,18 @@ runs:
working-directory: driver-shared/deploy/${{ inputs.cloud_provider }}
shell: bash
run: |
if [ "${{ inputs.uninstall }}" == "true" ]; then
if [ "${{ inputs.uninstall }}" = "true" ]; then
terraform destroy --auto-approve -var-file $GITHUB_WORKSPACE/driver-${{ inputs.streaming_provider }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
fi
- name: Terraform Plan
working-directory: driver-shared/deploy/${{ inputs.cloud_provider }}
shell: bash
run: terraform plan -var-file $GITHUB_WORKSPACE/driver-${{ inputs.streaming_provider }}/deploy/${{ inputs.cloud_provider }}/var.tfvars

run: |
if [ "${{ inputs.uninstall }}" = "false" ]; then
terraform plan -var-file $GITHUB_WORKSPACE/driver-${{ inputs.streaming_provider }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
fi
- name: Apply terraform
working-directory: driver-shared/deploy/${{ inputs.cloud_provider }}
Expand Down
2 changes: 1 addition & 1 deletion workflow_scripts/bin/execute_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $SSH_BASE_CMD $SSH_HOST "sudo rm -f $BENCHMARK_DIR/benchmark-worker.log"

# Execute the benchmark test
## Tips: Pay attention that driver.yaml is under /driver-${STREAMING_PROVIDER}
$SSH_BASE_CMD $SSH_HOST "cd $BENCHMARK_DIR && sudo ./bin/benchmark -d ./driver-${STREAMING_PROVIDER}/driver.yaml ./workloads/vs/fast-tail-read-500m.yaml"
$SSH_BASE_CMD $SSH_HOST "cd $BENCHMARK_DIR && sudo ./bin/benchmark -d ./driver-${STREAMING_PROVIDER}/driver.yaml ./workloads/vs/fast-tail-read-500m.yaml" > /dev/null

# Check if new result files have been generated
TIMEOUT=7200 # 2-hour timeout
Expand Down

0 comments on commit f176bfb

Please sign in to comment.