Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Conversation

@glevand
Copy link
Contributor

@glevand glevand commented Aug 18, 2017

In an effort to have https://github.com/coreos/jenkins-os run tests on arm64 nodes, this changes the mantle Jenkinsfile to build programs for both amd64 and arm64 targets. To do this a docker image with both go language and cross GCC toolchain support is needed. The Add Dockerfile patch can create this image.

In this version the Jenkinsfile will build the docker mantle-builder image from scratch. We can also keep a published mantle-builder image on quay.io to avoid this.

Go is also updated from 1.8.1 to 1.8.3.

Related to #661 (Enable kola on arm64 machines).
cc: @dm0-

@glevand glevand force-pushed the for-merge-cross-compile branch from c79afcb to 6cac4b2 Compare August 18, 2017 20:55
@glevand glevand force-pushed the for-merge-cross-compile branch from 6cac4b2 to 8fbeeb9 Compare August 28, 2017 19:56
@glevand
Copy link
Contributor Author

glevand commented Aug 28, 2017

Rebased to latest.
Changed the Jenkinsfile build from parallel build_map to build_map.each.

@glevand
Copy link
Contributor Author

glevand commented Aug 31, 2017

Rebased to latest.
cc: @dm0-

@glevand glevand force-pushed the for-merge-cross-compile branch from 12a2eb9 to f9bc1a5 Compare September 21, 2017 19:21
Put cross compiled binaries into a bin/$GOARCH/ directory.
Add a new variable NO_CROSS to skip cross compiling of
kolet.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Add a Dockerfile and helper script 'build-docker' that build
a docker image named mantle-builder which contains toolchains
needed to cross compile mantle.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Change to building mantle for both amd64 and arm64 targets using the
newly introduced mantle-builder docker image.

Add a new stage 'Docker build' that builds the mantle-builder docker
image locally.  Also, adds the -v switch to test to run the tests in
verbose mode.

Signed-off-by: Geoff Levand <geoff@infradead.org>
@glevand glevand force-pushed the for-merge-cross-compile branch from f9bc1a5 to 5f2bf88 Compare November 3, 2017 19:42
@glevand
Copy link
Contributor Author

glevand commented Nov 3, 2017

Rebased to latest.

@glevand
Copy link
Contributor Author

glevand commented Nov 10, 2017

Closing this. I reworked the patches and split them into two new independent PRs.

I'll have another PR that updates Jenkins to use the container support of #763.

@glevand glevand closed this Nov 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant