@@ -215,7 +215,6 @@ jobs:
215215 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
216216 chmod a+x builder
217217 ./builder build -p ${{ env.PACKAGE_NAME }}
218-
219218 - name : configure AWS credentials (service tests Fleet Provisioning)
220219 uses : aws-actions/configure-aws-credentials@v4
221220 with :
@@ -283,31 +282,11 @@ jobs:
283282 run : |
284283 export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
285284 python3 ./test_cases/test_jobs_execution.py --config-file test_cases/mqtt5_jobs_cfg.json
286- - name : run Websocket Connect sample
287- run : |
288- python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_websocket_connect_cfg.json
289- - name : run PKCS11 Connect sample
290- run : |
291- mkdir -p /tmp/tokens
292- export SOFTHSM2_CONF=/tmp/softhsm2.conf
293- echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
294- python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_pkcs11_connect_cfg.json
295285 - name : configure AWS credentials (Cognito)
296286 uses : aws-actions/configure-aws-credentials@v4
297287 with :
298288 role-to-assume : ${{ env.CI_COGNITO_ROLE }}
299289 aws-region : ${{ env.AWS_DEFAULT_REGION }}
300- - name : run Cognito Connect sample
301- run : |
302- python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_cognito_connect_cfg.json
303- - name : configure AWS credentials (X509)
304- uses : aws-actions/configure-aws-credentials@v4
305- with :
306- role-to-assume : ${{ env.CI_X509_ROLE }}
307- aws-region : ${{ env.AWS_DEFAULT_REGION }}
308- - name : run X509 sample
309- run : |
310- python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_x509_connect_cfg.json
311290 - name : configure AWS credentials (MQTT5 samples)
312291 uses : aws-actions/configure-aws-credentials@v4
313292 with :
@@ -331,14 +310,6 @@ jobs:
331310 - name : run MQTT5 Shared Subscription sample
332311 run : |
333312 python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_mqtt5_shared_subscription_cfg.json
334- - name : configure AWS credentials (Custom Authorizer)
335- uses : aws-actions/configure-aws-credentials@v4
336- with :
337- role-to-assume : ${{ env.CI_CUSTOM_AUTHORIZER_ROLE }}
338- aws-region : ${{ env.AWS_DEFAULT_REGION }}
339- - name : run CustomAuthorizerConnect sample
340- run : |
341- python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_custom_authorizer_connect_cfg.json
342313
343314 linux-greengrass-tests :
344315 runs-on : ubuntu-22.04
0 commit comments