You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by dr...@apache.org on 2017/11/21 11:46:45 UTC

[1/2] brooklyn-client git commit: Add dockerfile for CI build

Repository: brooklyn-client
Updated Branches:
  refs/heads/master cedb35079 -> 1849ff984


Add dockerfile for CI build


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/a6dbd026
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/a6dbd026
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/a6dbd026

Branch: refs/heads/master
Commit: a6dbd026892032531fe11c0804bd31bfc2464742
Parents: 66b01f2 a889bce
Author: Thomas Bouron <th...@cloudsoftcorp.com>
Authored: Wed Oct 18 09:30:28 2017 +0100
Committer: Thomas Bouron <th...@cloudsoftcorp.com>
Committed: Mon Nov 20 10:29:09 2017 +0000

----------------------------------------------------------------------
 Dockerfile                                      | 22 ++++++++
 README.md                                       | 34 ++++++++++++
 .../brooklyn/rest/client/BrooklynApi.java       | 58 +-------------------
 3 files changed, 57 insertions(+), 57 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/a6dbd026/Dockerfile
----------------------------------------------------------------------
diff --cc Dockerfile
index 0000000,0000000..6a5d960
new file mode 100644
--- /dev/null
+++ b/Dockerfile
@@@ -1,0 -1,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.
++
++# For Brooklyn Client, we use a debian distribution instead of alpine as there are some libgcc incompatibilities with GO
++FROM maven:3.5.2-jdk-8-slim
++
++# Install necessary binaries to build brooklyn-client
++RUN apt-get update && apt-get install -y git-core golang-go

http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/a6dbd026/README.md
----------------------------------------------------------------------
diff --cc README.md
index 0000000,0000000..fa5eb38
new file mode 100644
--- /dev/null
+++ b/README.md
@@@ -1,0 -1,0 +1,34 @@@
++
++# [![**Brooklyn**](https://brooklyn.apache.org/style/img/apache-brooklyn-logo-244px-wide.png)](http://brooklyn.apache.org/)
++
++### Apache Brooklyn Client Sub-Project
++
++This repo contains the CLI client for Apache Brooklyn.
++It is written in go and is built for all platform.
++
++### Building the project
++
++2 methods are available to build this project: within a docker container or directly with maven.
++
++#### Using docker
++
++The project comes with a `Dockerfile` that contains everything you need to build this project.
++First, build the docker image:
++
++```bash
++docker build -t brooklyn:client .
++```
++
++Then run the build:
++
++```bash
++docker run -i --rm --name brooklyn-client -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:client mvn clean install
++```
++
++### Using maven
++
++Simply run:
++
++```bash
++mvn clean install
++```


[2/2] brooklyn-client git commit: This closes #65

Posted by dr...@apache.org.
This closes #65


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/1849ff98
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/1849ff98
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/1849ff98

Branch: refs/heads/master
Commit: 1849ff98412559a038dd9d317a9fd819b7f45f05
Parents: cedb350 a6dbd02
Author: Duncan Godwin <dr...@googlemail.com>
Authored: Tue Nov 21 11:46:39 2017 +0000
Committer: Duncan Godwin <dr...@googlemail.com>
Committed: Tue Nov 21 11:46:39 2017 +0000

----------------------------------------------------------------------
 Dockerfile | 22 ++++++++++++++++++++++
 README.md  | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
----------------------------------------------------------------------