File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ phases:
1010 - python3 -m pip install --user --upgrade twine setuptools wheel awscli PyOpenSSL six
1111 pre_build :
1212 commands :
13- - cd aws-iot-device-sdk-python-v2
13+ - cd aws-iot-device-sdk-python
1414 - pypirc=$(aws secretsmanager get-secret-value --secret-id "prod/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
1515 - export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
1616 - echo "Updating package version to ${PKG_VERSION}"
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ phases:
1111 pre_build :
1212 commands :
1313 - pypirc=$(aws secretsmanager get-secret-value --secret-id "alpha/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
14- - cd aws-iot-device-sdk-python-v2
14+ - cd aws-iot-device-sdk-python
1515 - export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
1616 - echo "Updating package version to ${PKG_VERSION}"
17- - sed --in-place -E "s/__version__ = '.+'/__version__ = '${PKG_VERSION}'/" awsiot /__init__.py
17+ - sed --in-place -E "s/__version__ = '.+'/__version__ = '${PKG_VERSION}'/" AWSIoTPythonSDK /__init__.py
1818 build :
1919 commands :
2020 - echo Build started on `date`
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ phases:
2020 - cd aws-iot-device-sdk-python
2121 - CURRENT_TAG_VERSION=$(git describe --tags | cut -f2 -dv)
2222 - python3 continuous-delivery/pip-install-with-retry.py --no-cache-dir --user awsiotsdk==$CURRENT_TAG_VERSION
23- - python3 samples/basic_discovery .py --region us-east-1 --cert /tmp/certificate.pem --key /tmp/privatekey.pem --root-ca /tmp/AmazonRootCA1.pem --thing-name aws-sdk-crt-unit-test --print-discover-resp-only -v Trace
23+ - python3 samples/greengrass/basicDiscovery .py -e ${ENDPOINT} -c /tmp/certificate.pem -k /tmp/privatekey.pem -r /tmp/AmazonRootCA1.pem -n aws-sdk-crt-unit-test
2424
2525 post_build :
2626 commands :
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ phases:
2121 - CURRENT_TAG_VERSION=$(git describe --tags | cut -f2 -dv)
2222 # this is here because typing isn't in testpypi, so pull it from prod instead
2323 - python3 -m pip install typing
24- - python3 continuous-delivery/pip-install-with-retry.py -i https://testpypi.python.org/simple --user awsiotsdk ==$CURRENT_TAG_VERSION
25- - python3 samples/basic_discovery .py --region us-east-1 --cert /tmp/certificate.pem --key /tmp/privatekey.pem --root-ca /tmp/AmazonRootCA1.pem --thing-name aws-sdk-crt-unit-test --print-discover-resp-only -v Trace
24+ - python3 continuous-delivery/pip-install-with-retry.py -i https://testpypi.python.org/simple --user AWSIoTPythonSDK ==$CURRENT_TAG_VERSION
25+ - python3 samples/greengrass/basicDiscovery .py -e ${ENDPOINT} -c /tmp/certificate.pem -k /tmp/privatekey.pem -r /tmp/AmazonRootCA1.pem -n aws-sdk-crt-unit-test
2626
2727 post_build :
2828 commands :
You can’t perform that action at this time.
0 commit comments