chore(autotest): debug broker performance test suite
This commit is contained in:
parent
95f1453135
commit
98a24a49f7
|
@ -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}}/*.tar.gz
|
path: _packages/${{ matrix.profile}}/*.zip
|
||||||
|
|
||||||
terraform_emqx:
|
terraform_emqx:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -92,6 +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
|
||||||
ls -alt /tmp/
|
ls -alt /tmp/
|
||||||
- name: Checkout tf-test-automation
|
- name: Checkout tf-test-automation
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -116,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"
|
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"
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue