Skip to content

Commit 5d989a1

Browse files
committed
fix test command
1 parent 0738f24 commit 5d989a1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

AWSIoTPythonSDK/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.4.8"
1+
__version__ = "1.4.7"

continuous-delivery/test_test_pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ phases:
1212
commands:
1313
- curl https://www.amazontrust.com/repository/AmazonRootCA1.pem --output /tmp/AmazonRootCA1.pem
1414
- cert=$(aws secretsmanager get-secret-value --secret-id "unit-test/certificate" --query "SecretString" | cut -f2 -d":" | cut -f2 -d\") && echo "$cert" > /tmp/certificate.pem
15+
- echo /tmp/certificate.pem
1516
- key=$(aws secretsmanager get-secret-value --secret-id "unit-test/privatekey" --query "SecretString" | cut -f2 -d":" | cut -f2 -d\") && echo "$key" > /tmp/privatekey.pem
17+
- echo /tmp/certificate.pem
1618
- ENDPOINT=$(aws secretsmanager get-secret-value --secret-id "unit-test/endpoint" --query "SecretString" | cut -f2 -d":" | sed -e 's/[\\\"\}]//g')
1719
build:
1820
commands:
@@ -22,7 +24,7 @@ phases:
2224
# this is here because typing isn't in testpypi, so pull it from prod instead
2325
- python3 -m pip install typing
2426
- python3 continuous-delivery/pip-install-with-retry.py -i https://testpypi.python.org/simple --user AWSIoTPythonSDK-V1==1.4.8
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
27+
- python3 samples/greengrass/basicDiscovery.py -e ${ENDPOINT} -c /tmp/certificate.pem -k /tmp/privatekey.pem -r /tmp/AmazonRootCA1.pem
2628

2729
post_build:
2830
commands:

0 commit comments

Comments
 (0)