Git Product home page Git Product logo

bach's People

Contributors

codepope avatar doodles526 avatar

Stargazers

 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  avatar

Forkers

codepope

bach's Issues

Suggestion: "created_at" in deployments output

Just suggesting that "created_at" is included the output of bach deployments without flags set. There are times when two deployments with the same name are listed in the output for some reason - I don't know if this is an issue in the API or what. At the same time, the erroneous deployment is not shown in the Compose console, but only then accessing the API. If "created_at" was included, you wouldn't have to add --json or --raw to see that one of them is an older deployment so that you could deprovision it. See image:

screen shot 2017-05-17 at 6 14 35 pm

watch command fails to auth

When I use the watch command to get job status it fails with a 401 error.

~ ❯❯❯ bach deprovision 5926fd1303a15b0019000001
             ID: 5926fd4ed8c5aa001800001b
       Template: Recipes::Deployment::Deprovision
         Status: running
  Status Detail: Running destroy_capsule on aws-us-east-1-portal.9.
     Account ID:
  Deployment ID: 5926fd1303a15b0019000001
           Name: Deprovision
     Created At: 2017-05-25 15:50:38 +0000 UTC
     Updated At: 2017-05-25 15:50:38 +0000 UTC
  Child Recipes: 0
~ ❯❯❯ bach watch 5926fd4ed8c5aa001800001b
2017/05/25 10:50:43 [Unable to parse error - status code 401 - body {{"errors":"unauthorized"}}]

Also, possibly related the Account ID field is always empty on the results

Vendor directory outdated?

Hi. I'm trying to author a Homebrew recipe for bach. I was asked to make it build from source (see: Homebrew/homebrew-core#14314). However, I could not make it build with the current vendor directory.

Running go build results in the following failures:

# github.com/compose/bach/cmd
cmd/deprovision.go:35: c.DeprovisionDeploymentJSON undefined (type *composeapi.Client has no field or method DeprovisionDeploymentJSON)
cmd/deprovision.go:39: c.DeprovisionDeployment undefined (type *composeapi.Client has no field or method DeprovisionDeployment)

If I remove the vendor directory and perform a go get ./..., it works.

Am I missing something?

Add bach to a package manager?

Hi,

would be great to have bach added to a package manager like brew, npm or something similar for go language.

Would make it simpler for more people to try it, and simpler to update, and maintain it through dotfiles etc.

undefined: PositionalArgs on `go get`

Hi,
I am trying to go get -u github.com/compose/bach but I get the following error:

# github.com/compose/bach/vendor/github.com/spf13/cobra
src/github.com/compose/bach/vendor/github.com/spf13/cobra/command.go:58:7: undefined: PositionalArgs

Same happens if I go install or go build inside a cloned repo. Am I missing something?

I am on MacOS Sierra and installed go via brew:

$ go version
go version go1.9.1 darwin/amd64

BR,
Kostis

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.