Code Monkey home page Code Monkey logo

quickstarts's Introduction

Fabric8 Quickstarts

This project contains the following fabric8 parts:

Building

The build requires Maven version 3.2.5 or later.

apps and quickstarts profiles

If you wish to only build the apps or the quickstarts you can use profiles

mvn install -Papps
mvn install -Pquickstarts

If you omit the profiles then it builds everything.

Docker and/or Jube profiles

This build is designed so that it can be used with docker images and/or jube images. So by default jube images are created unless you specify other profiles. Docker only runs on certain platforms so we've disabled the docker build by default less enabled via a maven profile.

The following maven profiles can be used to enable/disable parts of the build. Note that jube is enabled by default until you specify other profiles:

  • docker-build builds docker images locally
  • docker-push pushes docker images (i.e. when releasing to the public docker registry or a local registry of $DOCKER_REGISTRY is defined to point to a local docker registry
  • jube creates a jube image zip as part of the build (which is active by default)
  • ts.kube enables the kubernetes integration tests

Building docker images

As described above you need to use the docker-build profile or to push the images (when doing a release) you use docker-push.

mvn install -Pdocker-build

Pushing docker images

If you wish to push docker images to a private or public registry you will need to add a section to your ~/.m2/settings.xml file with a login/pwd:

	<servers>
       <server>
           <id>192.168.59.103:5000</id>
           <username>jolokia</username>
           <password>jolokia</password>
       </server>
        ...
  </servers>

Building and running the integration tests

mvn install -Pdocker-push -Pts.kube -Ddocker.username=jolokia -Ddocker.password=jolokia

For local containers they can be dummy login/passwords. For more details see the docker maven plugin docs

quickstarts's People

Contributors

chirino avatar christian-posta avatar cmoulliard avatar davsclaus avatar dhirajsb avatar ericwittmann avatar ffang avatar fusesource-ci avatar gnodet avatar hekonsek avatar iocanel avatar jhadvig avatar jimmidyson avatar jstrachan avatar kevinearls avatar luksa avatar msavy avatar oscerd avatar rajdavies avatar rawlingsj avatar rhuss avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.