Repository: bigtop Updated Branches: refs/heads/master 1cfd55beb -> 25fa2e4f2
BIGTOP-2393. Add ARM64 support for build environment Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/25fa2e4f Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/25fa2e4f Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/25fa2e4f Branch: refs/heads/master Commit: 25fa2e4f25f09a74c56702b29e66ebf51633eead Parents: 1cfd55b Author: Roman Shaposhnik <[email protected]> Authored: Mon Apr 18 19:42:02 2016 +0000 Committer: Roman Shaposhnik <[email protected]> Committed: Mon Apr 18 13:47:49 2016 -0700 ---------------------------------------------------------------------- bigtop_toolchain/manifests/ant.pp | 2 +- bigtop_toolchain/manifests/env.pp | 1 + bigtop_toolchain/manifests/protobuf.pp | 2 ++ docker/bigtop-slaves/ubuntu-14.04-aarch64/Dockerfile | 12 ++++++++++++ 4 files changed, 16 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/25fa2e4f/bigtop_toolchain/manifests/ant.pp ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/manifests/ant.pp b/bigtop_toolchain/manifests/ant.pp index ca3fabf..58f0ca4 100644 --- a/bigtop_toolchain/manifests/ant.pp +++ b/bigtop_toolchain/manifests/ant.pp @@ -14,7 +14,7 @@ # limitations under the License. class bigtop_toolchain::ant { - $ant = 'apache-ant-1.9.6' + $ant = 'apache-ant-1.9.7' $apache_prefix = nearest_apache_mirror() http://git-wip-us.apache.org/repos/asf/bigtop/blob/25fa2e4f/bigtop_toolchain/manifests/env.pp ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/manifests/env.pp b/bigtop_toolchain/manifests/env.pp index b309eca..f86571b 100644 --- a/bigtop_toolchain/manifests/env.pp +++ b/bigtop_toolchain/manifests/env.pp @@ -17,6 +17,7 @@ class bigtop_toolchain::env { case $architecture { 'amd64' : { $arch= "amd64" } 'ppc64le' : { $arch= "ppc64el" } + 'aarch64' : { $arch = "arm64" } } case $operatingsystem { 'Ubuntu','Debian': { http://git-wip-us.apache.org/repos/asf/bigtop/blob/25fa2e4f/bigtop_toolchain/manifests/protobuf.pp ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/manifests/protobuf.pp b/bigtop_toolchain/manifests/protobuf.pp index 06c575a..f688818 100644 --- a/bigtop_toolchain/manifests/protobuf.pp +++ b/bigtop_toolchain/manifests/protobuf.pp @@ -22,6 +22,8 @@ class bigtop_toolchain::protobuf { $arch= "amd64" } 'ppc64le' : { $url = "https://launchpad.net/ubuntu/+source/protobuf/2.5.0-9ubuntu1/+build/5604345/+files" $arch= "ppc64el" } + 'aarch64' : { $url = "https://launchpad.net/ubuntu/+source/protobuf/2.5.0-9ubuntu1/+build/5585372/+files" + $arch= "arm64" } } } } http://git-wip-us.apache.org/repos/asf/bigtop/blob/25fa2e4f/docker/bigtop-slaves/ubuntu-14.04-aarch64/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/ubuntu-14.04-aarch64/Dockerfile b/docker/bigtop-slaves/ubuntu-14.04-aarch64/Dockerfile new file mode 100644 index 0000000..2cb4db3 --- /dev/null +++ b/docker/bigtop-slaves/ubuntu-14.04-aarch64/Dockerfile @@ -0,0 +1,12 @@ +FROM aarch64/ubuntu +MAINTAINER Roman Shaposhnik <[email protected]> + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain +COPY gradle.home /usr/share/gradle.home + +RUN /etc/puppet/modules/bigtop_toolchain/bin/puppetize.sh +RUN puppet apply -e "include bigtop_toolchain::installer" +RUN chown jenkins:jenkins /usr/share/gradle.home + +ENV GRADLE_USER_HOME=/usr/share/gradle.home +
