| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | set -euxo pipefail |
| 4 | |
| 5 | envscip-shell system . . env. |
| 6 | |
| 7 | gitscip-shell system . . git. submodule update --init |
| 8 | |
| 9 | # build package |
| 10 | cd $CODEBUILD_SRC_DIR |
| 11 | |
| 12 | python -m pip install --verbose . |
| 13 | python codebuild/CanaryWrapper.py --canary_executable 'python test/mqtt5_canary.py' --git_hash ${GIT_HASH} --git_repo_name $PACKAGE_NAME --ticket_item "IoT SDK for Python" --cloudwatch_namespace mqtt5_canary |