Giter Club home page Giter Club logo

carina's Introduction

Carina™ client

Travis Build Status MyGet Build Status

Create and interact with clusters on both Rackspace Public and Private Cloud.

Carina Constellation

See the official documentation and an overview of Carina.

Building

The build script assumes you're running go 1.7 or later. If not, upgrade or use something like gimme.

make

This creates carina in the current directory (there is no make install currently).

Make Targets

  • make: First run for newcomers.
  • make get-deps: Retrieves dependencies into the vendor/ directory using glide.
  • make validate: Run tools like fmt.
  • make test: Run unit tests.
  • make local: Build for the current dev env, using whatever dependencies that happen to be on the local machine.
  • make cross-build: The official build.

Editing libcarina

Here's how to work on libcarina and the cli at the same time locally:

  1. Run go get github.com/getcarina/libcarina.
  2. Make required changes to libcarina in $GOPATH/src/github.com/getcarina/libcarina.
  3. In $GOPATH/src/github.com/getcarina/carina, run rm $GOPATH/src/github.com/getcarina/carina/vendor/github.com/getcarina/libcarina so that Go will pickup your local edits, and not use the vendored version. Use make local to build. Don't use make as it will restore the vendored copy of libcarina, overriding your local changes.
  4. When everything is looking good, run make in $GOPATH/src/github.com/getcarina/libcarina to validate and format your changes.
  5. Submit a PR to libcarina and once it is merged to master, note the commit hash.
  6. In $GOPATH/src/github.com/getcarina/carina/glide.lock update the commit hash for libcarina. Make sure you are editing the libcarina package and not libmakeswarm. They are same repository, but represent different branches.
  7. In $GOPATH/src/github.com/getcarina/carina, run make and verify that libcarina is restored the right vendored commit hash and everything still works.

Releasing

Beta Builds

Here's how to release a beta build:

  1. Checkout the release branch: git checkout release/v2.0.0

  2. Create a tag for the beta release: git tag v2.0.0-beta.8 -a -m ""

  3. Push the tag: git push --follow-tags

  4. Watch the Travis CI build, and wait for a successful deploy.

  5. Validate the uploaded binary

    curl -sL https://download.getcarina.com/carina/beta/$(uname -s)/$(uname -m)/carina -o carina
    chmod +x carina
    ./carina --version
    # Should print the new version
    

carina's People

Contributors

carolynvs avatar etoews avatar minrk avatar rgbkrk avatar thomasem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.