compose / bach Goto Github PK
View Code? Open in Web Editor NEWA command line for the Compose API
License: Apache License 2.0
A command line for the Compose API
License: Apache License 2.0
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:
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
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?
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.
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
The new 0.4.1 list command ignores filter and type flags.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.