chore(autotest): debug broker performance test suite

This commit is contained in:
mengzhenyu 2022-01-17 15:37:00 +08:00
parent 98a24a49f7
commit 8d5e22cf3b
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ jobs:
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: ${{ matrix.os }} name: ${{ matrix.os }}
path: _packages/${{ matrix.profile}}/*.zip path: _packages/${{ matrix.profile}}/*.tar.gz
terraform_emqx: terraform_emqx:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -92,7 +92,7 @@ jobs:
path: /tmp path: /tmp
- name: Download emqx package - name: Download emqx package
run: | run: |
sudo cp /tmp/emqx-5.*.zip /tmp/emqx.zip sudo cp /tmp/emqx-5.*.tar.gz /tmp/emqx.tar.gz
ls -alt /tmp/ ls -alt /tmp/
- name: Checkout tf-test-automation - name: Checkout tf-test-automation
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -117,7 +117,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=/tmp/emqx.tar.gz"
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