Repository: bigtop Updated Branches: refs/heads/master c1a210371 -> 35dcfc8cc
BIGTOP-2857: Add aarch64 support for fedora25 closes #263 Signed-off-by: Konstantin Boudnik <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/35dcfc8c Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/35dcfc8c Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/35dcfc8c Branch: refs/heads/master Commit: 35dcfc8cccd8b0a7b889d69c721da370331927d0 Parents: c1a2103 Author: Jun He <[email protected]> Authored: Mon Jul 24 02:08:37 2017 +0000 Committer: Konstantin Boudnik <[email protected]> Committed: Thu Aug 3 20:32:56 2017 -0700 ---------------------------------------------------------------------- .../bigtop-puppet/fedora-25-aarch64/Dockerfile | 20 ++++++++++++++++++ docker/bigtop-puppet/fedora-25-aarch64/build.sh | 16 ++++++++++++++ .../bigtop-slaves/fedora-25-aarch64/Dockerfile | 22 ++++++++++++++++++++ docker/sandbox/sandbox-env.sh | 1 + 4 files changed, 59 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/35dcfc8c/docker/bigtop-puppet/fedora-25-aarch64/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-puppet/fedora-25-aarch64/Dockerfile b/docker/bigtop-puppet/fedora-25-aarch64/Dockerfile new file mode 100644 index 0000000..a3ecbcd --- /dev/null +++ b/docker/bigtop-puppet/fedora-25-aarch64/Dockerfile @@ -0,0 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +FROM arm64v8/fedora:25 +MAINTAINER Jun He <[email protected]> + +COPY puppetize.sh /tmp/puppetize.sh + +RUN bash /tmp/puppetize.sh http://git-wip-us.apache.org/repos/asf/bigtop/blob/35dcfc8c/docker/bigtop-puppet/fedora-25-aarch64/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-puppet/fedora-25-aarch64/build.sh b/docker/bigtop-puppet/fedora-25-aarch64/build.sh new file mode 100755 index 0000000..17e0683 --- /dev/null +++ b/docker/bigtop-puppet/fedora-25-aarch64/build.sh @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +cp ../../../bigtop_toolchain/bin/puppetize.sh . +docker build --pull=true -t bigtop/puppet:fedora-25-aarch64 . http://git-wip-us.apache.org/repos/asf/bigtop/blob/35dcfc8c/docker/bigtop-slaves/fedora-25-aarch64/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/fedora-25-aarch64/Dockerfile b/docker/bigtop-slaves/fedora-25-aarch64/Dockerfile new file mode 100644 index 0000000..557f383 --- /dev/null +++ b/docker/bigtop-slaves/fedora-25-aarch64/Dockerfile @@ -0,0 +1,22 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +FROM bigtop/puppet:fedora-25-aarch64 +MAINTAINER Jun He <[email protected]> + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN puppet apply -e "include bigtop_toolchain::installer" +COPY . /tmp/bigtop +RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop http://git-wip-us.apache.org/repos/asf/bigtop/blob/35dcfc8c/docker/sandbox/sandbox-env.sh ---------------------------------------------------------------------- diff --git a/docker/sandbox/sandbox-env.sh b/docker/sandbox/sandbox-env.sh index 85a82b0..679314b 100644 --- a/docker/sandbox/sandbox-env.sh +++ b/docker/sandbox/sandbox-env.sh @@ -23,6 +23,7 @@ RPMS=( \ centos-7 \ centos-7-aarch64 \ fedora-25 \ + fedora-25-aarch64 \ opensuse-42.1 \ ) DEBS=( \
