chore(autotest): debug broker performance test suite

This commit is contained in:
mengzhenyu 2022-01-18 10:14:50 +08:00
parent 869f5bde1d
commit 3ebe37aa1a
1 changed files with 4 additions and 3 deletions

View File

@ -93,8 +93,9 @@ jobs:
- name: Download emqx package - name: Download emqx package
run: | run: |
sudo cp /tmp/emqx-5.*.tar.gz /tmp/emqx.tar.gz sudo cp /tmp/emqx-5.*.tar.gz /tmp/emqx.tar.gz
tar -zxvf /tmp/emqx.tar.gz tar -zxvf /tmp/emqx.tar.gz -C /home/ubuntu
ls -alt /tmp/ ls /home/ubuntu
ls /tmp/
- name: Checkout tf-test-automation - name: Checkout tf-test-automation
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -118,7 +119,7 @@ jobs:
working-directory: ./tf-test-automation/services/emqx working-directory: ./tf-test-automation/services/emqx
id: server_ip id: server_ip
run: | run: |
terraform apply -auto-approve -var="access_key=${{ secrets.AWS_ACCESS_KEY_ID_FOR_PERFORMANCE_TESTING }}" -var="secret_key=${{ secrets.AWS_SECRET_ACCESS_KEY_FOR_PERFORMANCE_TESTING }}" -var="private_key=${{ secrets.CI_SSH_PRIVATE_KEY }}" -var="emqx_package=/tmp/emqx.zip" terraform apply -auto-approve -var="access_key=${{ secrets.AWS_ACCESS_KEY_ID_FOR_PERFORMANCE_TESTING }}" -var="secret_key=${{ secrets.AWS_SECRET_ACCESS_KEY_FOR_PERFORMANCE_TESTING }}" -var="private_key=${{ secrets.CI_SSH_PRIVATE_KEY }}" -var="emqx_package=/home/ubuntu/emqx"
echo "::set-output name=emqx_private_ips::$(terraform output emqx_private_ips)" echo "::set-output name=emqx_private_ips::$(terraform output emqx_private_ips)"
echo "::set-output name=emqx_public_ips::$(terraform output emqx_public_ips)" echo "::set-output name=emqx_public_ips::$(terraform output emqx_public_ips)"
- name: Rename and upload emqx tfstate - name: Rename and upload emqx tfstate