Skip to content

Commit e67a5e2

Browse files
author
Justin Boswell
authored
CD fixes (#189)
* Added logging of file copies to CD jobs * make bash print commands in CD
1 parent 917262c commit e67a5e2

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

codebuild/cd/publish_to_prod_pypi.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ phases:
1414
commands:
1515
- echo Build started on `date`
1616
- mkdir dist
17-
- cp -r $CODEBUILD_SRC_DIR_aws_crt_python_windows/dist/* dist/
18-
- cp -r $CODEBUILD_SRC_DIR_aws_crt_python_manylinux1/dist/* dist/
19-
- cp -r $CODEBUILD_SRC_DIR_aws_crt_python_osx/* dist/
17+
- cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_windows/dist/* dist/
18+
- cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_manylinux1/dist/* dist/
19+
- cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_osx/* dist/
2020
- ls -la dist/
2121
- cd aws-crt-python
2222
- CURRENT_TAG_VERSION=$(git describe --tags | cut -f2 -dv)
@@ -26,4 +26,3 @@ phases:
2626
post_build:
2727
commands:
2828
- echo Build completed on `date`
29-

codebuild/cd/publish_to_test_pypi.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ phases:
1414
commands:
1515
- echo Build started on `date`
1616
- mkdir dist
17-
- cp -r $CODEBUILD_SRC_DIR_aws_crt_python_windows/dist/* dist/
18-
- cp -r $CODEBUILD_SRC_DIR_aws_crt_python_manylinux1/dist/* dist/
19-
- cp -r $CODEBUILD_SRC_DIR_aws_crt_python_osx/* dist/
17+
- cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_windows/dist/* dist/
18+
- cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_manylinux1/dist/* dist/
19+
- cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_osx/* dist/
2020
- ls -la dist/
2121
- cd aws-crt-python
2222
- CURRENT_TAG_VERSION=$(git describe --tags | cut -f2 -dv)
@@ -26,4 +26,3 @@ phases:
2626
post_build:
2727
commands:
2828
- echo Build completed on `date`
29-

continuous-delivery/build-wheels-manylinux2014-arm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#before running this, you'll need cmake3 and a compiler. These python versions are just
33
#using the default python installers from python.org. Each version needs updated pip, wheel, and setuptools
4-
set -e
4+
set -ex
55

66
/usr/local/bin/python3.8 ./continuous-delivery/update-version.py
77

@@ -20,6 +20,6 @@ auditwheel repair --plat manylinux2014_aarch64 dist/awscrt-*cp37*.whl
2020
auditwheel repair --plat manylinux2014_aarch64 dist/awscrt-*cp38*.whl
2121

2222
rm dist/*.whl
23-
cp -r wheelhouse/* dist/
23+
cp -rv wheelhouse/* dist/
2424

2525
#now you just need to run twine (that's in a different script)

continuous-delivery/build-wheels-manylinux2014-x86_64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#before running this, you'll need cmake3 and a compiler. These python versions are just
33
#using the default python installers from python.org. Each version needs updated pip, wheel, and setuptools
4-
set -e
4+
set -ex
55

66
/usr/local/bin/python3.8 ./continuous-delivery/update-version.py
77

@@ -20,6 +20,6 @@ auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp37*.whl
2020
auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp38*.whl
2121

2222
rm dist/*.whl
23-
cp -r wheelhouse/* dist/
23+
cp -rv wheelhouse/* dist/
2424

2525
#now you just need to run twine (that's in a different script)

0 commit comments

Comments
 (0)