Skip to content

Commit 486926b

Browse files
committed
more sample ci cleanup
1 parent 21361ef commit 486926b

8 files changed

+0
-262
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -283,15 +283,6 @@ jobs:
283283
run: |
284284
export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
285285
python3 ./test_cases/test_jobs_execution.py --config-file test_cases/mqtt5_jobs_cfg.json
286-
287-
- name: configure AWS credentials (Connect and PubSub)
288-
uses: aws-actions/configure-aws-credentials@v4
289-
with:
290-
role-to-assume: ${{ env.CI_PUBSUB_ROLE }}
291-
aws-region: ${{ env.AWS_DEFAULT_REGION }}
292-
- name: run Basic Connect sample
293-
run: |
294-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_basic_connect_cfg.json
295286
- name: run Websocket Connect sample
296287
run: |
297288
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_websocket_connect_cfg.json
@@ -348,45 +339,6 @@ jobs:
348339
- name: run CustomAuthorizerConnect sample
349340
run: |
350341
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_custom_authorizer_connect_cfg.json
351-
- name: configure AWS credentials (Shadow)
352-
uses: aws-actions/configure-aws-credentials@v4
353-
with:
354-
role-to-assume: ${{ env.CI_SHADOW_ROLE }}
355-
aws-region: ${{ env.AWS_DEFAULT_REGION }}
356-
- name: run Shadow sample
357-
run: |
358-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_shadow_cfg.json
359-
- name: run MQTT5 Shadow sample
360-
run: |
361-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_mqtt5_shadow_cfg.json
362-
- name: configure AWS credentials (Jobs)
363-
uses: aws-actions/configure-aws-credentials@v4
364-
with:
365-
role-to-assume: ${{ env.CI_JOBS_ROLE }}
366-
aws-region: ${{ env.AWS_DEFAULT_REGION }}
367-
- name: run Jobs sample
368-
run: |
369-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_jobs_cfg.json
370-
- name: run MQTT5 Jobs sample
371-
run: |
372-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_mqtt5_jobs_cfg.json
373-
- name: configure AWS credentials (Fleet provisioning)
374-
uses: aws-actions/configure-aws-credentials@v4
375-
with:
376-
role-to-assume: ${{ env.CI_FLEET_PROVISIONING_ROLE }}
377-
aws-region: ${{ env.AWS_DEFAULT_REGION }}
378-
- name: run Fleet Provisioning sample
379-
run: |
380-
echo "Generating UUID for IoT thing"
381-
Sample_UUID=$(python3 -c "import uuid; print (uuid.uuid4())")
382-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_fleet_provisioning_cfg.json --input_uuid ${Sample_UUID}
383-
python3 ${{ env.CI_UTILS_FOLDER }}/delete_iot_thing_ci.py --thing_name "Fleet_Thing_${Sample_UUID}" --region "us-east-1"
384-
- name: run MQTT5 Fleet Provisioning sample
385-
run: |
386-
echo "Generating UUID for IoT thing"
387-
Sample_UUID=$(python3 -c "import uuid; print (uuid.uuid4())")
388-
python3 ${{ env.CI_UTILS_FOLDER }}/run_sample_ci.py --file ${{ env.CI_SAMPLES_CFG_FOLDER }}/ci_run_mqtt5_fleet_provisioning_cfg.json --input_uuid ${Sample_UUID}
389-
python3 ${{ env.CI_UTILS_FOLDER }}/delete_iot_thing_ci.py --thing_name "Fleet_Thing_${Sample_UUID}" --region "us-east-1"
390342
391343
linux-greengrass-tests:
392344
runs-on: ubuntu-22.04

.github/workflows/ci_run_basic_connect_cfg.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/ci_run_fleet_provisioning_cfg.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/ci_run_jobs_cfg.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/ci_run_mqtt5_fleet_provisioning_cfg.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/ci_run_mqtt5_jobs_cfg.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/ci_run_mqtt5_shadow_cfg.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/ci_run_shadow_cfg.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)