-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add arm64 support to docker image creating tasks
This changes the x86_64 image in nightly and final build steps to be prefixed with "amd64-", and adds an arm64 image which is prefixed with "arm64-". The unprefixed image, which was previously the x86_64 image, is now a multi-architecture image which points to the two prefixed images. This change also splits build_docker_image into build_docker_image_arm64 and build_docker_image_x86_64. The Build and Test Docker TeamCity builds have been split accordingly, into arm64 and x86_64 variants for each. These builds do not build/test the combined image, only the individual platforms' images. Part of CRDB-3143 Release note (general change): Cockroach Docker images are now multi architecture manifests supporting the x86_64 (amd64) and arm64 architectures.
- Loading branch information
Showing
7 changed files
with
161 additions
and
50 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
4 changes: 4 additions & 0 deletions
4
build/teamcity/cockroach/ci/builds/build_docker_image_arm64.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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
source "$(dirname "${0}")/build_docker_image.sh" arm64 |
4 changes: 4 additions & 0 deletions
4
build/teamcity/cockroach/ci/builds/build_docker_image_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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
source "$(dirname "${0}")/build_docker_image.sh" amd64 |
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