|
57 | 57 | python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')" |
58 | 58 | python builder.pyz build -p ${{ env.PACKAGE_NAME }} |
59 | 59 | - name: configure AWS credentials (MQTT5) |
60 | | - uses: aws-actions/configure-aws-credentials@v2 |
| 60 | + uses: aws-actions/configure-aws-credentials@v4 |
61 | 61 | with: |
62 | 62 | role-to-assume: ${{ env.CI_MQTT5_ROLE }} |
63 | 63 | aws-region: ${{ env.AWS_DEFAULT_REGION }} |
|
72 | 72 | python3 -m unittest test.test_identity |
73 | 73 | source utils/test_cleanup.sh |
74 | 74 | cd .. |
75 | | - - name: configure AWS credentials (PubSub) |
76 | | - uses: aws-actions/configure-aws-credentials@v4 |
77 | | - with: |
78 | | - role-to-assume: ${{ env.CI_PUBSUB_ROLE }} |
79 | | - aws-region: ${{ env.AWS_DEFAULT_REGION }} |
80 | | - - name: run PubSub sample |
81 | | - run: | |
82 | | - python ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_pubsub_cfg.json |
83 | | - - name: run Windows Certificate Connect sample |
84 | | - run: | |
85 | | - python ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_windows_cert_connect_cfg.json |
86 | | - - name: configure AWS credentials (MQTT5 samples) |
87 | | - uses: aws-actions/configure-aws-credentials@v4 |
88 | | - with: |
89 | | - role-to-assume: ${{ env.CI_MQTT5_ROLE }} |
90 | | - aws-region: ${{ env.AWS_DEFAULT_REGION }} |
91 | 75 | - name: run MQTT5 PubSub sample |
92 | 76 | run: | |
93 | 77 | python ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_mqtt5_pubsub_cfg.json |
@@ -151,10 +135,6 @@ jobs: |
151 | 135 | with: |
152 | 136 | role-to-assume: ${{ env.CI_PUBSUB_ROLE }} |
153 | 137 | aws-region: ${{ env.AWS_DEFAULT_REGION }} |
154 | | - - name: run PubSub sample |
155 | | - run: | |
156 | | - source .venv/bin/activate |
157 | | - python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_pubsub_cfg.json |
158 | 138 | - name: run PKCS12 sample |
159 | 139 | run: | |
160 | 140 | cert=$(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/PubSub/cert" --query "SecretString" | cut -f2 -d":" | cut -f2 -d\") && echo -e "$cert" > /tmp/certificate.pem |
@@ -217,14 +197,6 @@ jobs: |
217 | 197 | python3 -m unittest test.test_identity |
218 | 198 | source utils/test_cleanup.sh |
219 | 199 | cd .. |
220 | | - - name: configure AWS credentials (PubSub) |
221 | | - uses: aws-actions/configure-aws-credentials@v4 |
222 | | - with: |
223 | | - role-to-assume: ${{ env.CI_PUBSUB_ROLE }} |
224 | | - aws-region: ${{ env.AWS_DEFAULT_REGION }} |
225 | | - - name: run PubSub sample |
226 | | - run: | |
227 | | - python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_pubsub_cfg.json |
228 | 200 | - name: configure AWS credentials (MQTT5 samples) |
229 | 201 | uses: aws-actions/configure-aws-credentials@v4 |
230 | 202 | with: |
@@ -345,9 +317,6 @@ jobs: |
345 | 317 | - name: run Websocket Connect sample |
346 | 318 | run: | |
347 | 319 | python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_websocket_connect_cfg.json |
348 | | - - name: run PubSub sample |
349 | | - run: | |
350 | | - python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_pubsub_cfg.json |
351 | 320 | - name: run PKCS11 Connect sample |
352 | 321 | run: | |
353 | 322 | mkdir -p /tmp/tokens |
|
0 commit comments