Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds v22, bumps versions and disables ARM builds #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
set -eux

NODE_STABLE="20"
NODE_VERSIONS=${NODE_VERSIONS:="20.15.1 18.20.4"}
NODE_VERSIONS=${NODE_VERSIONS:="22.11.0 20.18.0 18.20.4"}
YARN_VERSION=${YARN_VERSION:="1.22.19"}
NPM_VERSION=${NPM_VERSION:="10.8.1"}
BUILD_PLATFORMS=${BUILD_PLATFORMS:='linux/amd64 linux/arm64'}
NPM_VERSION=${NPM_VERSION:="10.9.0"}
# Disabled arm builds for now as they're only used locally
BUILD_PLATFORMS=${BUILD_PLATFORMS:='linux/amd64'}
# BUILD_PLATFORMS=${BUILD_PLATFORMS:='linux/amd64 linux/arm64'}

# External variables
PROJECT_ID=${PROJECT_ID:-}
Expand Down Expand Up @@ -58,10 +60,11 @@ for NODE_VERSION in $NODE_VERSIONS; do
docker buildx build --platform="${PLATFORM}" --progress=plain --target=builder --load --tag="europe-west1-docker.pkg.dev/connectedcars-build/node-builder/${BRANCH_NAME}:${NODE_VERSION}" ${DOCKER_NODE_BUILD_ARGS} .
docker buildx build --platform="${PLATFORM}" --progress=plain --target=fat-base --load --tag="europe-west1-docker.pkg.dev/connectedcars-build/node-fat-base/${BRANCH_NAME}:${NODE_VERSION}" ${DOCKER_NODE_BUILD_ARGS} .

echo "Building test image with old docker build for node $NODE_VERSION for $PLATFORM"
DOCKER_BUILDKIT=0 docker build --platform="${PLATFORM}" --tag="test:${NODE_VERSION}" --build-arg=NODE_VERSION="${NODE_VERSION}" --build-arg=BRANCH_NAME="${BRANCH_NAME}" --build-arg=NPM_TOKEN="${NPM_TOKEN}" -f test/Dockerfile.old test/
echo "Running test image for node $NODE_VERSION for $PLATFORM"
docker run --platform="${PLATFORM}" "test:${NODE_VERSION}"
# These builds are no longer necessary since we use buildx
# echo "Building test image with old docker build for node $NODE_VERSION for $PLATFORM"
# DOCKER_BUILDKIT=0 docker build --platform="${PLATFORM}" --tag="test:${NODE_VERSION}" --build-arg=NODE_VERSION="${NODE_VERSION}" --build-arg=BRANCH_NAME="${BRANCH_NAME}" --build-arg=NPM_TOKEN="${NPM_TOKEN}" -f test/Dockerfile.old test/
# echo "Running test image for node $NODE_VERSION for $PLATFORM"
# docker run --platform="${PLATFORM}" "test:${NODE_VERSION}"

echo "Building test image with buildx for node $NODE_VERSION for $PLATFORM"
# For some reason the multi arch builder does not have access to the
Expand Down
74 changes: 0 additions & 74 deletions keys/141F07595B7B3FFE74309A937405533BE57C7D57.gpg

This file was deleted.

46 changes: 0 additions & 46 deletions keys/4ED778F539E3634C779C87C6D7062848A1AB005C.gpg

This file was deleted.

87 changes: 0 additions & 87 deletions keys/74F12602B6F1C4E913FAA37AD3A89613643B6201.gpg

This file was deleted.

52 changes: 52 additions & 0 deletions keys/C0D6248439F1D5604AAFFB4021D900FFDB233756.gpg
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGHwIyoBEADN55NGkn1hvOjFotJVr8aeU6/xGZF3gPLi7q2qaX5CXtVMGS2B
5h9kiBKrNo1+xeC1+jRu9r5179lTiYV808qNFBQdr+5ZBnOoszadlMPMtU89qsR9
jxr8wJT563nIPoCeRl+0oFeam9ktAZnnpLz0dmPxyHHVaFXsVauDpwjJxOPo5Vyo
2MHTacVUBWZA6R92ZETWIOHSg3ZtLf+jq7IyzeYSnj31kbx5djGtawLKZZ9bbIdr
ihRysKAaHabf+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