File tree Expand file tree Collapse file tree 6 files changed +5
-9
lines changed
Expand file tree Collapse file tree 6 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ phases:
2828 - CURRENT_TAG_VERSION=$(cat $CODEBUILD_SRC_DIR/VERSION)
2929 - python3 codebuild/cd/pip-install-with-retry.py --no-cache-dir --user awsiotsdk==$CURRENT_TAG_VERSION
3030 # Run PubSub sample
31- - python3 samples/mqtt/mqtt5_x509.py --endpoint ${ENDPOINT} --cert /tmp/certificate.pem --key /tmp/privatekey.pem --ca_file /tmp/AmazonRootCA1.pem --verbosity Trace
31+ - python3 samples/mqtt/mqtt5_x509.py --endpoint ${ENDPOINT} --cert /tmp/certificate.pem --key /tmp/privatekey.pem
3232
3333 post_build :
3434 commands :
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ phases:
2929 - python3 -m pip install typing
3030 - python3 codebuild/cd/pip-install-with-retry.py -i https://testpypi.python.org/simple --user awsiotsdk==$CURRENT_TAG_VERSION
3131 # Run PubSub sample
32- - python3 samples/mqtt/mqtt5_x509.py --endpoint ${ENDPOINT} --cert /tmp/certificate.pem --key /tmp/privatekey.pem --ca_file /tmp/AmazonRootCA1.pem --verbosity Trace
32+ - python3 samples/mqtt/mqtt5_x509.py --endpoint ${ENDPOINT} --cert /tmp/certificate.pem --key /tmp/privatekey.pem
3333
3434 post_build :
3535 commands :
Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ Here is an example launch.json file to run the pubsub sample
105105 "program" : " ${workspaceFolder}/samples/mqtt/mqtt5_x509.py" ,
106106 "args" : [
107107 " --endpoint" , " <account-number>-ats.iot.<region>.amazonaws.com" ,
108- " --ca_file" , " <path to root-CA>" ,
109108 " --cert" , " <path to cert>" ,
110109 " --key" , " <path to key>" ,
111110 " --client_id" , " test-client"
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ required arguments:
7272
7373optional arguments:
7474 --client_id Client ID (default: mqtt5-sample-5873a450)
75- --ca_file Path to optional CA bundle (PEM) (default: None)
7675 --topic Topic (default: test/topic)
7776 --message Message payload (default: Hello from mqtt5 sample)
7877 --count Messages to publish (0 = infinite) (default: 5)
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ The steps to use [SoftHSM2](https://www.opendnssec.org/softhsm/) as the PKCS#11
164164
165165 ` ` ` sh
166166 # For Windows: replace 'python3' with 'python' and '/' with '\'
167- python3 mqtt5_pkcs11_connect.py --endpoint < endpoint> --ca_file < path to root CA > -- cert < path to certificate> --pkcs11_lib < path to PKCS11 lib> --pin < user-pin> --token_label < token-label> --key_label < key-label>
167+ python3 mqtt5_pkcs11_connect.py --endpoint < endpoint> --cert < path to certificate> --pkcs11_lib < path to PKCS11 lib> --pin < user-pin> --token_label < token-label> --key_label < key-label>
168168 ` ` `
169169
170170 # # Additional Information
Original file line number Diff line number Diff line change @@ -108,8 +108,7 @@ def test_pubsub(self):
108108 "--cert" , config .cert_filepath ,
109109 "--key" , config .key_filepath ,
110110 "--client_id" , create_client_id (),
111- "--count" , "1" ,
112- "--verbosity" , "Trace" ,
111+ "--count" , "1"
113112 ]
114113
115114 def stdout_checker (stdout ):
@@ -128,8 +127,7 @@ def test_basic_discovery_response_only(self):
128127 "--region" , config .region ,
129128 "--cert" , config .cert_filepath ,
130129 "--key" , config .key_filepath ,
131- "--thing_name" , "CI_Greengrass_Discovery_Thing" ,
132- "--verbosity" , "Trace" ,
130+ "--thing_name" , "CI_Greengrass_Discovery_Thing"
133131 ]
134132
135133 def stdout_checker (stdout ):
You can’t perform that action at this time.
0 commit comments