Skip to content

Commit abb483a

Browse files
committed
update app verifier to use mqtt5 pub sub and remove is_ci flag
1 parent 0f33a53 commit abb483a

2 files changed

Lines changed: 5 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,16 +263,16 @@ jobs:
263263
- name: Running samples in CI setup
264264
run: |
265265
python -m pip install boto3
266-
- name: configure AWS credentials (CyclePubSub)
266+
- name: configure AWS credentials (MQTT5)
267267
uses: aws-actions/configure-aws-credentials@v4
268268
with:
269-
role-to-assume: ${{ env.CI_CYCLEPUBSUB_ROLE }}
269+
role-to-assume: ${{ env.CI_MQTT5_ROLE }}
270270
aws-region: ${{ env.AWS_DEFAULT_REGION }}
271271
- name: Run and check AppVerifier
272272
run: |
273273
cd ${{ env.CI_FOLDER }}
274-
echo "Starting to run AppVerifier with cycle pub-sub sample"
275-
python ${{ env.CI_UTILS_FOLDER }}/appverifier_launch_sample.py --sample_file ".\aws-iot-device-sdk-cpp-v2\build\samples\pub_sub\cycle_pub_sub\RelWithDebInfo\cycle-pub-sub.exe" --sample_secret_endpoint 'ci/endpoint' --sample_secret_certificate 'ci/CyclePubSub/cert' --sample_secret_private_key 'ci/CyclePubSub/key'
274+
echo "Starting to run AppVerifier with mqtt5 pub-sub sample"
275+
python ${{ env.CI_UTILS_FOLDER }}/appverifier_launch_sample.py --sample_file ".\aws-iot-device-sdk-cpp-v2\build\samples\mqtt5\mqtt5_pubsub\RelWithDebInfo\mqtt5-pubsub.exe" --sample_secret_endpoint 'ci/endpoint' --sample_secret_certificate 'ci/MQTT5/cert' --sample_secret_private_key 'ci/MQTT5/key'
276276
277277
windows-shared-lib:
278278
runs-on: windows-latest

samples/greengrass/basic_discovery/main.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -247,16 +247,7 @@ int main(int argc, char *argv[])
247247
// Print the discovery response information and then exit. Does not use the discovery info.
248248
if (cmdData.input_PrintDiscoverRespOnly)
249249
{
250-
if (!cmdData.input_isCI)
251-
{
252-
printGreengrassResponse(*discoverResponse.GGGroups);
253-
}
254-
else
255-
{
256-
fprintf(
257-
stdout,
258-
"Received a greengrass discovery result! Not showing result in CI for possible data sensitivity.\n");
259-
}
250+
printGreengrassResponse(*discoverResponse.GGGroups);
260251
return 0;
261252
}
262253

0 commit comments

Comments
 (0)