You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by as...@apache.org on 2016/10/27 02:45:48 UTC
bigtop git commit: BIGTOP-2558: Adding ppc64le and ARM64 'node'
binary to build slave docker image
Repository: bigtop
Updated Branches:
refs/heads/master 0096b3e64 -> e6e810294
BIGTOP-2558: Adding ppc64le and ARM64 'node' binary to build slave docker image
Signed-off-by: Amir Sanjar <af...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/e6e81029
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/e6e81029
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/e6e81029
Branch: refs/heads/master
Commit: e6e8102945bf89f2c8cf0308bdb7bab73eb66e6e
Parents: 0096b3e
Author: Amir Sanjar <af...@gmail.com>
Authored: Wed Oct 26 13:57:11 2016 -0500
Committer: Amir Sanjar <af...@gmail.com>
Committed: Wed Oct 26 21:43:48 2016 -0500
----------------------------------------------------------------------
bigtop_toolchain/manifests/node.pp | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/e6e81029/bigtop_toolchain/manifests/node.pp
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/manifests/node.pp b/bigtop_toolchain/manifests/node.pp
index fcd4fda..99efe1b 100644
--- a/bigtop_toolchain/manifests/node.pp
+++ b/bigtop_toolchain/manifests/node.pp
@@ -14,9 +14,16 @@
# limitations under the License.
class bigtop_toolchain::node {
- $node_version = "0.10.44"
+ case $architecture {
+ 'amd64' : { $node_version = "0.10.44"
+ $arch = "x64" }
+ 'ppc64le' : { $node_version = "4.4.7"
+ $arch = "ppc64le" }
+ 'aarch64' : { $node_version = "4.4.7"
+ $arch = "arm64" }
+ }
$brunch_version = "1.7.20"
- $node_name = "node-v${node_version}-linux-x64"
+ $node_name = "node-v${node_version}-linux-$arch"
$node_dl_url = 'https://nodejs.org/dist/v$node_version/'
exec { "get node":