Skip to content

Commit e4a79f5

Browse files
committed
remove more samples and begin updating ci
1 parent 6042a8d commit e4a79f5

File tree

7 files changed

+1
-475
lines changed

7 files changed

+1
-475
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
5858
python builder.pyz build -p ${{ env.PACKAGE_NAME }}
5959
- name: configure AWS credentials (MQTT5)
60-
uses: aws-actions/configure-aws-credentials@v2
60+
uses: aws-actions/configure-aws-credentials@v4
6161
with:
6262
role-to-assume: ${{ env.CI_MQTT5_ROLE }}
6363
aws-region: ${{ env.AWS_DEFAULT_REGION }}
@@ -72,22 +72,6 @@ jobs:
7272
python3 -m unittest test.test_identity
7373
source utils/test_cleanup.sh
7474
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 }}
9175
- name: run MQTT5 PubSub sample
9276
run: |
9377
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:
151135
with:
152136
role-to-assume: ${{ env.CI_PUBSUB_ROLE }}
153137
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
158138
- name: run PKCS12 sample
159139
run: |
160140
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:
217197
python3 -m unittest test.test_identity
218198
source utils/test_cleanup.sh
219199
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
228200
- name: configure AWS credentials (MQTT5 samples)
229201
uses: aws-actions/configure-aws-credentials@v4
230202
with:
@@ -345,9 +317,6 @@ jobs:
345317
- name: run Websocket Connect sample
346318
run: |
347319
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
351320
- name: run PKCS11 Connect sample
352321
run: |
353322
mkdir -p /tmp/tokens

.github/workflows/ci_run_pubsub_cfg.json

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

.github/workflows/ci_run_windows_cert_connect_cfg.json

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

samples/pubsub.md

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

samples/pubsub.py

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

0 commit comments

Comments
 (0)