Define and run multi-infrastructure tools.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
cmd
compose
example
.editorconfig
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
build.sh
infra-compose.go
main.go

README.md

infra-compose

Setting up Go to work on infra-compose

If you have never worked with Go before, you will have to complete the following steps in order to be able to compile and test infra-compose. These instructions target MacOS environments so you may need to adjust them for Linux, Windows or other shells.

  1. install go and dep, with Homebrew.

    brew install go
    brew install dep
    
  2. Set and export the GOPATH environment variable and update your PATH. For example, you can add to your .bash_profile.

    export GOPATH=$HOME/<path to your go workspace>
    export GOROOT=/usr/local/opt/go/libexec
    export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
    

    Find GOROOT with brew --prefix go and add 'libexec'

  3. Download the infra-compose source (and its dependencies) by running go get github.com/wayoos/infra-compose. This will download the infra-compose source to $GOPATH/src/github.com/wayoos/infra-compose.

Release

Release binaries are deployed to Github.

  1. Define the version in main.go and commit/push

  2. Create a github token and set it as the env variable GITHUB_TOKEN. github-release will automatically pick it up from the environment so that you don't have to pass it as an argument.

  3. Execute the command ./build.sh release