Code Monkey home page Code Monkey logo

cluster-api-provider-skeleton's Introduction

Introduction

These instructions are intended to make it easier for developers to create new Cluster API provider repositories. For more information on the Cluster API project please see the base repository here.

There is no intent to maintain these instructions. Better automation or more sophisticated code sharing should be preferred over this duct tape and bubble gum.

¯_(ツ)_/¯

Quickstart

git clone --bare https://github.com/davidewatson/cluster-api-provider-skeleton.git
cd cluster-api-provider-skeleton.git
git push --mirror https://github.com/davidewatson/cluster-api-provider-ssh.git
cd ..
rm -rf cluster-api-provider-skeleton.git
  • Clone the new repository. For Go dependencies to be built correctly with dep, place this repository in your $GOPATH as follows:
mkdir -p $GOPATH/src/sigs.k8s.io/
cd $GOPATH/src/sigs.k8s.io/
git clone https://github.com/davidewatson/cluster-api-provider-ssh.git
cd cluster-api-provider-ssh
  • Customize the new repository. A simple search and replace may suffice for some name changes, e.g. on OS X, something like this might work:
find ./* -type f  -path ./vendor -prune -o -path ./.git -prune -o -exec sed -i '' -e 's/skeleton/ssh/g' {} \;
find ./* -type f  -path ./vendor -prune -o -path ./.git -prune -o -exec sed -i '' -e 's/Skeleton/SSH/g' {} \;

The following directory must be renamed/moved:

git mv pkg/cloud/skeleton/ pkg/cloud/ssh/

For other changes, like the README.md, OWNERS_ALIASES, etc., you'll have to think more.

  • Get all the dependencies in your vendor directory
make depend

cluster-api-provider-skeleton's People

Contributors

alejandroesc avatar chuckha avatar davidewatson avatar detiber avatar fabriziopandini avatar xmudrii 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.