77      - ' docs' 
88
99env :
10+ <<<<<<< HEAD 
1011  BUILDER_VERSION : v0.9.87 
12+ ======= 
13+   BUILDER_VERSION : v0.9.84 
14+ >>>>>>> main 
1115  BUILDER_SOURCE : releases 
1216  BUILDER_HOST : https://d19elf31gohf1l.cloudfront.net 
1317  PACKAGE_NAME : aws-iot-device-sdk-python-v2 
9397        chmod a+x builder 
9498        ./builder build -p ${{ env.PACKAGE_NAME }} 
9599name : configure AWS credentials (MQTT5) 
96-       uses : aws-actions/configure-aws-credentials@v2  
100+       uses : aws-actions/configure-aws-credentials@v4  
97101      with :
98102        role-to-assume : ${{ env.CI_MQTT5_ROLE }} 
99103        aws-region : ${{ env.AWS_DEFAULT_REGION }} 
@@ -129,7 +133,7 @@ jobs:
129133        chmod a+x builder 
130134        ./builder build -p ${{ env.PACKAGE_NAME }} 
131135name : configure AWS credentials (MQTT5) 
132-       uses : aws-actions/configure-aws-credentials@v2  
136+       uses : aws-actions/configure-aws-credentials@v4  
133137      with :
134138        role-to-assume : ${{ env.CI_MQTT5_ROLE }} 
135139        aws-region : ${{ env.AWS_DEFAULT_REGION }} 
@@ -145,8 +149,8 @@ jobs:
145149        source utils/test_cleanup.sh 
146150        cd .. 
147151
148- #  Runs the samples and  service tests and ensures that everything is working 
149-   linux-smoke -tests :
152+ #  Runs the service client tests 
153+   linux-service-client -tests :
150154    runs-on : ubuntu-22.04 
151155    permissions :
152156      id-token : write  #  This is required for requesting the JWT
@@ -233,65 +237,6 @@ jobs:
233237          export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples 
234238          python3 ./test_cases/test_jobs_execution.py --config-file test_cases/mqtt5_jobs_cfg.json 
235239
236- linux-greengrass-tests :
237-     runs-on : ubuntu-22.04 
238-     permissions :
239-       id-token : write  #  This is required for requesting the JWT
240-     steps :
241-       - name : Setup environment 
242-         run : | 
243-           python3 -m pip install boto3 
244- name : configure AWS credentials (containers) 
245-         uses : aws-actions/configure-aws-credentials@v4 
246-         with :
247-           role-to-assume : ${{ env.CI_BUILD_AND_TEST_ROLE }} 
248-           aws-region : ${{ env.AWS_DEFAULT_REGION }} 
249-       - name : Build ${{ env.PACKAGE_NAME }} 
250-         run : | 
251-           python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" 
252-           chmod a+x builder 
253-           ./builder build -p ${{ env.PACKAGE_NAME }} 
254- name : Install Greengrass Development Kit 
255-         run : | 
256-           python3 -m pip install awsiotsdk 
257-           python3 -m pip install -U git+https://github.com/aws-greengrass/[email protected]  258- name : Configure AWS credentials (Greengrass) 
259-         uses : aws-actions/configure-aws-credentials@v4 
260-         with :
261-           role-to-assume : ${{ env.CI_GREENGRASS_INSTALLER_ROLE }} 
262-           aws-region : ${{ env.AWS_DEFAULT_REGION }} 
263-       - name : Build and run Greengrass basic discovery sample 
264-         working-directory : ./aws-iot-device-sdk-python-v2/test/greengrass/basic_discovery 
265-         run : | 
266-           export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples 
267-           gdk component build 
268-           gdk test-e2e build 
269-           gdk test-e2e run 
270- name : Show logs 
271-         working-directory : ./aws-iot-device-sdk-python-v2/test/greengrass/basic_discovery 
272-         #  Print logs unconditionally to provide more details on Greengrass run even if the test failed.
273-         if : always() 
274-         run : | 
275-           echo "=== greengrass.log" 
276-           cat testResults/gg*/greengrass.log 
277-           echo "=== software.amazon.awssdk.sdk-gg-test-discovery.log" 
278-           cat testResults/gg*/software.amazon.awssdk.sdk-gg-test-discovery.log 
279- name : Build and run Greengrass IPC sample 
280-         working-directory : ./aws-iot-device-sdk-python-v2/test/greengrass/ipc 
281-         run : | 
282-           gdk component build 
283-           gdk test-e2e build 
284-           gdk test-e2e run 
285- name : Show logs 
286-         working-directory : ./aws-iot-device-sdk-python-v2/test/greengrass/ipc 
287-         #  Print logs unconditionally to provide more details on Greengrass run even if the test failed.
288-         if : always() 
289-         run : | 
290-           echo "=== greengrass.log" 
291-           cat testResults/gg*/greengrass.log 
292-           echo "=== software.amazon.awssdk.sdk-gg-ipc.log" 
293-           cat testResults/gg*/software.amazon.awssdk.sdk-gg-ipc.log 
294- 
295240#  check that docs can still build
296241  check-docs :
297242    runs-on : ubuntu-22.04  #  latest
0 commit comments