Git Product home page Git Product logo

contrib's Introduction

Kubernetes Contrib

Build Status

This is a place for various components in the Kubernetes ecosystem that aren't part of the Kubernetes core.

Updating Godeps

Godeps in contrib/ has a different layout than in kubernetes/ proper. This is because contrib contains multiple tiny projects, each with their own dependencies. Each in contrib/ has it's own Godeps.json. For example the Godeps.json for Ingress is Ingress/Godeps/Godeps.json. This means that godeps commands like godep restore or godep test work in the root directory. Theys should be run from inside the subproject directory you want to test

Updating Godeps

The most common dep to update is obviously going to be kuberetes proper. Updating kubernetes and it's dependancies in the Ingress subproject for example can be done as follows:

cd $GOPATH/src/github.com/kubernetes/contrib/Ingress
godep restore
go get -u github.com/kubernetes/kubernetes
cd $GOPATH/src/github.com/kubernetes/kubernetes
godep restore
cd $GOPATH/src/github/kubernetes/contrib/Ingress
rm -rf Godeps
godep save ./...
git [add/remove] as needed
git commit

Other deps are similar, although if the dep you wish to update is included from kubernetes we probably want to stay in sync using the above method. If the dep is not in kubernetes proper something like the following should get you a nice clean result:

cd $GOPATH/src/github/kubernetes/contrib/Ingress
godep restore
go get -u $SOME_DEP
rm -rf Godeps
godep save ./...
git [add/remove] as needed
git commit

Running all tests

To run all go test in all projects do this:

./hack/for-go-proj.sh test

contrib's People

Contributors

eparis avatar bprashanth avatar aledbf avatar brendandburns avatar gmarek avatar mwielgus avatar lavalamp avatar rutsky avatar mikedanese avatar thockin avatar random-liu avatar ixdy avatar piosz avatar mikespreitzer avatar stephenrlouie avatar jlebon avatar q-lee avatar cgwalters avatar gouyang avatar roberthbailey avatar artfulcoder avatar jasonbrooks avatar gitschaub avatar bgrant0607 avatar fgrzadkowski avatar ingvagabund avatar alex-mohr avatar arano-kai avatar caesarxuchao avatar pmorie avatar

Watchers

James Cloos 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.