File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55env
66
7- pushd $CODEBUILD_SRC_DIR /samples/mqtt/basic_connect
7+ pushd $CODEBUILD_SRC_DIR /samples/mqtt5/mqtt5_pubsub
88
99mkdir _build
1010cd _build
@@ -14,18 +14,18 @@ make -j
1414ENDPOINT=$( aws secretsmanager get-secret-value --secret-id " ci/endpoint" --query " SecretString" | cut -f2 -d" :" | sed -e ' s/[\\\"\}]//g' )
1515
1616echo " Basic Connect test"
17- ./basic-connect --endpoint $ENDPOINT --key /tmp/privatekey.pem --cert /tmp/certificate.pem
17+ ./mqtt5_pubsub --endpoint $ENDPOINT --key /tmp/privatekey.pem --cert /tmp/certificate.pem
1818
1919popd
20+ # websocket test may need to be readded using mqtt5 client sample
21+ # pushd $CODEBUILD_SRC_DIR/samples/mqtt/websocket_connect
2022
21- pushd $CODEBUILD_SRC_DIR /samples/mqtt/websocket_connect
23+ # mkdir _build
24+ # cd _build
25+ # cmake -DCMAKE_PREFIX_PATH=/tmp/install ..
26+ # make -j
2227
23- mkdir _build
24- cd _build
25- cmake -DCMAKE_PREFIX_PATH=/tmp/install ..
26- make -j
27-
28- echo " Websocket test"
29- ./websocket-connect --endpoint $ENDPOINT --signing_region us-east-1
28+ # echo "Websocket test"
29+ # ./websocket-connect --endpoint $ENDPOINT --signing_region us-east-1
3030
31- popd
31+ # popd
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ phases:
1212 - echo Build started on `date`
1313 - $CODEBUILD_SRC_DIR/codebuild/samples/setup-linux.sh
1414 - $CODEBUILD_SRC_DIR/codebuild/samples/connect-linux.sh
15- - $CODEBUILD_SRC_DIR/codebuild/ samples/custom-auth-linux.sh
16- - $CODEBUILD_SRC_DIR/codebuild/ samples/pkcs11-connect-linux.sh
17- - $CODEBUILD_SRC_DIR/codebuild/samples/pubsub -linux.sh
18- - $CODEBUILD_SRC_DIR/codebuild/samples/shadow -linux.sh
15+ # Multiple tests removed due to removal of mqtt3.1.1 samples. We are moving away from
16+ # using samples in our CI and these tests need to be rewritten and run as actual tests
17+ # - $CODEBUILD_SRC_DIR/codebuild/samples/custom-auth -linux.sh
18+ # - $CODEBUILD_SRC_DIR/codebuild/samples/pkcs11-connect -linux.sh
1919 post_build :
2020 commands :
2121 - echo Build completed on `date`
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments