-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Michael Graeb <[email protected]>
- Loading branch information
Showing
28 changed files
with
274 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
continuous-delivery/build-wheels-musllinux-1-1-aarch64-jenkins.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
#run build-wheels script in musllinux_1_1 docker image | ||
set -ex | ||
|
||
DOCKER_IMAGE=123124136734.dkr.ecr.us-east-1.amazonaws.com/aws-crt-musllinux-1-1-aarch64:latest | ||
|
||
$(aws --region us-east-1 ecr get-login --no-include-email) | ||
|
||
docker pull $DOCKER_IMAGE | ||
|
||
# NOTE: run as current user to avoid git "dubious ownership" error, | ||
# and so that output artifacts don't belong to "root" | ||
docker run --rm \ | ||
--mount type=bind,source=`pwd`,target=/aws-crt-python \ | ||
--user "$(id -u):$(id -g)" \ | ||
--workdir /aws-crt-python \ | ||
--entrypoint /bin/bash \ | ||
$DOCKER_IMAGE \ | ||
continuous-delivery/build-wheels-musllinux-1-1-aarch64.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
#assumes image based on musllinux_1_1 | ||
set -ex | ||
|
||
/opt/python/cp39-cp39/bin/python ./continuous-delivery/update-version.py | ||
|
||
/opt/python/cp37-cp37m/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp37*.whl | ||
|
||
/opt/python/cp38-cp38/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp38*.whl | ||
|
||
/opt/python/cp39-cp39/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp39*.whl | ||
|
||
/opt/python/cp310-cp310/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp310*.whl | ||
|
||
/opt/python/cp311-cp311/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp311*.whl | ||
|
||
# Don't need to build wheels for Python 3.12 and later. | ||
# The 3.11 wheel uses the stable ABI, so it works with newer versions too. | ||
|
||
rm dist/*.whl | ||
cp -rv wheelhouse/* dist/ | ||
|
||
#now you just need to run twine (that's in a different script) |
19 changes: 19 additions & 0 deletions
19
continuous-delivery/build-wheels-musllinux-1-1-x86_64-jenkins.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
#run build-wheels script in musllinux_1_1 docker image | ||
set -ex | ||
|
||
DOCKER_IMAGE=123124136734.dkr.ecr.us-east-1.amazonaws.com/aws-crt-musllinux-1-1-x64:latest | ||
|
||
$(aws --region us-east-1 ecr get-login --no-include-email) | ||
|
||
docker pull $DOCKER_IMAGE | ||
|
||
# NOTE: run as current user to avoid git "dubious ownership" error, | ||
# and so that output artifacts don't belong to "root" | ||
docker run --rm \ | ||
--mount type=bind,source=`pwd`,target=/aws-crt-python \ | ||
--user "$(id -u):$(id -g)" \ | ||
--workdir /aws-crt-python \ | ||
--entrypoint /bin/bash \ | ||
$DOCKER_IMAGE \ | ||
continuous-delivery/build-wheels-musllinux-1-1-x86_64.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
#assumes image based on musllinux_1_1 + extras (pip) | ||
set -ex | ||
|
||
/opt/python/cp39-cp39/bin/python ./continuous-delivery/update-version.py | ||
|
||
/opt/python/cp37-cp37m/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_x86_64 dist/awscrt-*cp37*.whl | ||
|
||
/opt/python/cp38-cp38/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_x86_64 dist/awscrt-*cp38*.whl | ||
|
||
/opt/python/cp39-cp39/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_x86_64 dist/awscrt-*cp39*.whl | ||
|
||
/opt/python/cp310-cp310/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_x86_64 dist/awscrt-*cp310*.whl | ||
|
||
/opt/python/cp311-cp311/bin/python setup.py sdist bdist_wheel | ||
auditwheel repair --plat musllinux_1_1_x86_64 dist/awscrt-*cp311*.whl | ||
|
||
# Don't need to build wheels for Python 3.12 and later. | ||
# The 3.11 wheel uses the stable ABI, so it works with newer versions too. | ||
|
||
rm dist/*.whl | ||
cp -rv wheelhouse/* dist/ | ||
|
||
#now you just need to run twine (that's in a different script) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule aws-c-common
updated
7 files
Submodule aws-c-http
updated
8 files
Submodule aws-c-io
updated
20 files
+1 −1 | .github/workflows/ci.yml | |
+1 −1 | .github/workflows/stale_issue.yml | |
+3 −2 | codebuild/linux-integration-tests.yml | |
+117 −0 | include/aws/io/async_stream.h | |
+627 −0 | include/aws/io/future.h | |
+6 −0 | include/aws/io/socket.h | |
+258 −0 | include/aws/testing/async_stream_tester.h | |
+220 −0 | include/aws/testing/stream_tester.h | |
+153 −0 | source/async_stream.c | |
+542 −0 | source/future.c | |
+10 −0 | source/posix/socket.c | |
+10 −0 | source/windows/iocp/socket.c | |
+24 −0 | tests/CMakeLists.txt | |
+168 −0 | tests/async_stream_test.c | |
+2 −14 | tests/byo_crypto_test.c | |
+739 −0 | tests/future_test.c | |
+22 −0 | tests/future_test.h | |
+2 −13 | tests/socket_handler_test.c | |
+3 −18 | tests/socket_test.c | |
+8 −20 | tests/tls_handler_test.c |
Submodule aws-c-mqtt
updated
23 files
+1 −1 | .github/workflows/stale_issue.yml | |
+1 −8 | CMakeLists.txt | |
+4 −8 | cmake/aws-c-mqtt-config.cmake | |
+12 −27 | include/aws/mqtt/client.h | |
+1 −0 | include/aws/mqtt/mqtt.h | |
+2 −1 | include/aws/mqtt/private/client_impl.h | |
+5 −11 | include/aws/mqtt/private/client_impl_shared.h | |
+34 −4 | include/aws/mqtt/private/v5/mqtt5_client_impl.h | |
+1 −1 | include/aws/mqtt/private/v5/mqtt5_options_storage.h | |
+53 −292 | source/client.c | |
+4 −17 | source/client_impl_shared.c | |
+10 −8 | source/mqtt.c | |
+1,183 −0 | source/mqtt3_to_mqtt5_adapter.c | |
+8 −4 | source/topic_tree.c | |
+32 −4 | source/v5/mqtt5_client.c | |
+6 −4 | source/v5/mqtt5_options_storage.c | |
+8 −0 | tests/CMakeLists.txt | |
+1 −17 | tests/v3/connection_state_test.c | |
+1 −14 | tests/v3/operation_statistics_test.c | |
+6 −0 | tests/v3/topic_tree_test.c | |
+285 −0 | tests/v5/mqtt5_client_tests.c | |
+1 −1 | tests/v5/mqtt5_operation_validation_failure_tests.c | |
+39 −44 | tests/v5/mqtt5_testing_utils.c |
Submodule aws-c-s3
updated
38 files
Submodule aws-c-sdkutils
updated
3 files
+1 −1 | .github/workflows/stale_issue.yml | |
+12 −7 | source/aws_profile.c | |
+2 −3 | tests/aws_profile_tests.c |
Submodule aws-checksums
updated
8 files
Submodule s2n
updated
from 9b7b1f to b9c4d6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.