diff --git a/.github/workflows/broker-build-test.yml b/.github/workflows/broker-build-test.yml index 63082ef..8f51d8f 100644 --- a/.github/workflows/broker-build-test.yml +++ b/.github/workflows/broker-build-test.yml @@ -67,20 +67,20 @@ jobs: echo "Changed files: ${{ steps.check-changed-files.outputs.changed_files }}" git diff - - name: Set up Terraform latest - if: steps.check-changed-files.outputs.files_changed == 'true' - uses: hashicorp/setup-terraform@v2 - with: - terraform_wrapper: false - - name: Setup Test broker if: steps.check-changed-files.outputs.files_changed == 'true' run: | mkdir -p $HOME/solace; chmod 777 $HOME/solace docker run -d -p 8080:8080 -p 55555:55555 --shm-size=1g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --env system_scaling_maxkafkabridgecount="10" --name=solace \ - --mount type=bind,source=$HOME/solace,destination=/var/lib/solace,ro=false solace/solace-pubsub-standard:latest + --env system_scaling_maxconnectioncount="1000" --mount type=bind,source=$HOME/solace,destination=/var/lib/solace,ro=false solace/solace-pubsub-standard:latest while ! curl -s localhost:8080 | grep aurelia ; do sleep 1 ; done + - name: Set up Terraform latest + if: steps.check-changed-files.outputs.files_changed == 'true' + uses: hashicorp/setup-terraform@v2 + with: + terraform_wrapper: false + - name: Test module from template on test broker if: steps.check-changed-files.outputs.files_changed == 'true' run: | diff --git a/.github/workflows/module-test-pipeline-main-branch-only.yml b/.github/workflows/module-test-pipeline-main-branch-only.yml index 44459e5..184836c 100644 --- a/.github/workflows/module-test-pipeline-main-branch-only.yml +++ b/.github/workflows/module-test-pipeline-main-branch-only.yml @@ -13,12 +13,6 @@ jobs: - name: Check out code uses: actions/checkout@v4 - - name: Set up Terraform latest - with token - uses: hashicorp/setup-terraform@v3 - with: - cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} - terraform_wrapper: true - - name: Setup test broker run: | mkdir -p $HOME/solace; chmod 777 $HOME/solace @@ -26,6 +20,12 @@ jobs: --env system_scaling_maxconnectioncount="1000" --mount type=bind,source=$HOME/solace,destination=/var/lib/solace,ro=false solace/solace-pubsub-standard:latest while ! curl -s localhost:8080 | grep aurelia ; do sleep 1 ; done + - name: Set up Terraform latest - with token + uses: hashicorp/setup-terraform@v3 + with: + cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} + terraform_wrapper: true + - name: Test module root on test broker run: | ci/scripts/test-module.sh ci/module-test diff --git a/.github/workflows/verify-registry-release.yml b/.github/workflows/verify-registry-release.yml index fb91ac8..f53aeb8 100644 --- a/.github/workflows/verify-registry-release.yml +++ b/.github/workflows/verify-registry-release.yml @@ -29,7 +29,7 @@ jobs: run: | mkdir -p $HOME/solace; chmod 777 $HOME/solace docker run -d -p 8080:8080 -p 55555:55555 --shm-size=1g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --env system_scaling_maxkafkabridgecount="10" --name=solace \ - --mount type=bind,source=$HOME/solace,destination=/var/lib/solace,ro=false solace/solace-pubsub-standard:"10.6.1.52" + --env system_scaling_maxconnectioncount="1000" --mount type=bind,source=$HOME/solace,destination=/var/lib/solace,ro=false solace/solace-pubsub-standard:"10.6.1.52" while ! curl -s localhost:8080 | grep aurelia ; do sleep 1 ; done - name: Set up Terraform latest - public