Skip to content

Commit 844bf38

Browse files
authored
don't use pip cache when installing brand new version (#128)
1 parent e55e065 commit 844bf38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

continuous-delivery/test_prod_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ phases:
2020
- cd aws-iot-device-sdk-python-v2
2121
- CURRENT_TAG_VERSION=$(git describe --tags | cut -f2 -dv)
2222
- python3 continuous-delivery/wait-for-pypi.py awsiotsdk $CURRENT_TAG_VERSION --index https://pypi.python.org/pypi
23-
- python3 -m pip install --user awsiotsdk==$CURRENT_TAG_VERSION
23+
- python3 -m pip install --no-cache-dir --user awsiotsdk==$CURRENT_TAG_VERSION
2424
- 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
2525

2626
post_build:

continuous-delivery/test_test_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ phases:
2222
# this is here because typing isn't in testpypi, so pull it from prod instead
2323
- python3 -m pip install typing
2424
- python3 continuous-delivery/wait-for-pypi.py awsiotsdk $CURRENT_TAG_VERSION --index https://test.pypi.org/pypi
25-
- python3 -m pip install -i https://testpypi.python.org/simple --user awsiotsdk==$CURRENT_TAG_VERSION
25+
- python3 -m pip install --no-cache-dir -i https://testpypi.python.org/simple --user awsiotsdk==$CURRENT_TAG_VERSION
2626
- 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
2727

2828
post_build:

0 commit comments

Comments
 (0)