3131 CI_SHADOW_ROLE : arn:aws:iam::180635532705:role/CI_Shadow_Role
3232 CI_JOBS_ROLE : arn:aws:iam::180635532705:role/CI_Jobs_Role
3333 CI_FLEET_PROVISIONING_ROLE : arn:aws:iam::180635532705:role/service-role/CI_FleetProvisioning_Role
34- CI_DEVICE_ADVISOR : arn:aws:iam::180635532705:role/CI_DeviceAdvisor_Role
3534 CI_DEVICE_DEFENDER : arn:aws:iam::180635532705:role/CI_DeviceDefender_Role
3635 CI_SECURE_TUNNEL : arn:aws:iam::180635532705:role/CI_SecureTunnel_Role
3736 CI_X509_ROLE : arn:aws:iam::180635532705:role/CI_X509_Role
@@ -172,18 +171,6 @@ jobs:
172171 cd ${{ env.CI_FOLDER }}
173172 python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder.pyz')"
174173 python builder.pyz build -p ${{ env.PACKAGE_NAME }}
175- - name : Running samples in CI setup
176- run : |
177- python -m pip install boto3
178- - name : configure AWS credentials (Device Advisor)
179- uses : aws-actions/configure-aws-credentials@v4
180- with :
181- role-to-assume : ${{ env.CI_DEVICE_ADVISOR }}
182- aws-region : ${{ env.AWS_DEFAULT_REGION }}
183- - name : run DeviceAdvisor
184- run : |
185- cd ${{ env.CI_FOLDER }}/aws-iot-device-sdk-cpp-v2
186- python ./deviceadvisor/script/DATestRun.py
187174
188175 windows-vs17 :
189176 runs-on : windows-2025
@@ -207,18 +194,6 @@ jobs:
207194 cd ${{ env.CI_FOLDER }}
208195 python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
209196 python builder.pyz build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-Tv143 --cmake-extra=-A${{ matrix.arch }}
210- - name : Running samples in CI setup
211- run : |
212- python -m pip install boto3
213- - name : configure AWS credentials (Device Advisor)
214- uses : aws-actions/configure-aws-credentials@v4
215- with :
216- role-to-assume : ${{ env.CI_DEVICE_ADVISOR }}
217- aws-region : ${{ env.AWS_DEFAULT_REGION }}
218- - name : run DeviceAdvisor
219- run : |
220- cd ${{ env.CI_FOLDER }}/aws-iot-device-sdk-cpp-v2
221- python ./deviceadvisor/script/DATestRun.py
222197
223198 windows-no-cpu-extensions :
224199 runs-on : windows-latest
@@ -313,21 +288,6 @@ jobs:
313288 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')"
314289 chmod a+x builder
315290 ./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream
316- - name : Running samples in CI setup
317- run : |
318- python3 -m venv .venv
319- source .venv/bin/activate
320- python3 -m pip install boto3
321- - name : configure AWS credentials (Device Advisor)
322- uses : aws-actions/configure-aws-credentials@v4
323- with :
324- role-to-assume : ${{ env.CI_DEVICE_ADVISOR }}
325- aws-region : ${{ env.AWS_DEFAULT_REGION }}
326- - name : run DeviceAdvisor
327- run : |
328- source .venv/bin/activate
329- cd ./aws-iot-device-sdk-cpp-v2
330- python3 ./deviceadvisor/script/DATestRun.py
331291
332292 linux-github-actions :
333293 runs-on : ubuntu-latest
@@ -345,18 +305,9 @@ jobs:
345305 run : |
346306 python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
347307 python builder.pyz build -p ${{ env.PACKAGE_NAME }}
348- - name : Running samples in CI setup
308+ - name : Device Defender setup
349309 run : |
350310 python3 -m pip install boto3
351- - name : configure AWS credentials (Device Advisor)
352- uses : aws-actions/configure-aws-credentials@v4
353- with :
354- role-to-assume : ${{ env.CI_DEVICE_ADVISOR }}
355- aws-region : ${{ env.AWS_DEFAULT_REGION }}
356- - name : run DeviceAdvisor
357- run : |
358- cd ./aws-iot-device-sdk-cpp-v2
359- python3 ./deviceadvisor/script/DATestRun.py
360311 - name : configure AWS credentials (Device Defender)
361312 uses : aws-actions/configure-aws-credentials@v4
362313 with :
0 commit comments