Skip to content

Commit

Permalink
Arm cd (#236)
Browse files Browse the repository at this point in the history
* First attempt at aarch64 CD.  Likely to require some iteration and a lot of release tag mangling in order to get the CD pipeline to green
  • Loading branch information
bretambrose committed Jul 22, 2021
1 parent 5c83130 commit 50c7137
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
16 changes: 16 additions & 0 deletions continuous-delivery/build-manylinux2014-aarch64-jenkins.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
#run build script in manylinux2014 docker image
set -ex

DOCKER_IMAGE=123124136734.dkr.ecr.us-east-1.amazonaws.com/aws-crt/manylinux2014-aarch64:latest

$(aws --region us-east-1 ecr get-login --no-include-email)

docker pull $DOCKER_IMAGE

docker run --rm \
--mount type=bind,source=`pwd`,target=/aws-crt-nodejs \
--workdir /aws-crt-nodejs \
--entrypoint /bin/bash \
$DOCKER_IMAGE \
continuous-delivery/build-manylinux2014-aarch64.sh
4 changes: 4 additions & 0 deletions continuous-delivery/build-manylinux2014-aarch64.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -ex

npm install --unsafe-perm
1 change: 1 addition & 0 deletions continuous-delivery/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ phases:
- cp -r $CODEBUILD_SRC_DIR_aws_crt_nodejs_linux_x64/* $DIST_BIN
- cp -r $CODEBUILD_SRC_DIR_aws_crt_nodejs_osx_x64/* $DIST_BIN
- cp -r $CODEBUILD_SRC_DIR_aws_crt_nodejs_win_x64/* $DIST_BIN
- cp -r $CODEBUILD_SRC_DIR_aws_crt_nodejs_linux_aarch64/* $DIST_BIN
- ls $DIST_BIN
- npm install --unsafe-perm
- npm pack --unsafe-perm
Expand Down

0 comments on commit 50c7137

Please sign in to comment.