luigi

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

CircleCI

luigi

Installation

GO111MODULE="on" go get github.com/giantswarm/luigi

Usage

kubectl log -f POD_NAME | luigi

It turns this:

$ opsctl deploy -i ginger aws-operator@k8scloudconfig-0.6.3
Requesting the creation of deployment using "App" method

    chart           aws-operator
    repository      aws-operator
    ref             k8scloudconfig-0.6.3
    version         8.7.0-903edaa40367d1b0a81fbe324391b083c5cc6f97
    installation    ginger

Requested the creation of deployment using "App" method

Waiting for deployment
Failed.
{"caller":"github.com/giantswarm/micrologger@v0.3.1/activation_logger.go:93","level":"error","stack":{"annotation":"execution failed error: deployment failed (status: `FAILED`, reason: `Release \"aws-operator-k8scloudconfig-0.6.3\" failed: admission webhook \"validation.gatekeeper.sh\" denied the request: [denied by unique-operator-version] label app.kubernetes.io/version=8.7.1-dev is not unique in resources of kind \"Deployment\"`)","kind":"unknown","stack":[{"file":"/Users/kopiczko/go/src/github.com/giantswarm/opsctl/pkg/cmd/deploy/appdeploy/deployer.go","line":338},{"file":"/Users/kopiczko/go/pkg/mod/github.com/giantswarm/backoff@v0.2.0/retry.go","line":13},{"file":"/Users/kopiczko/go/src/github.com/giantswarm/opsctl/pkg/cmd/deploy/appdeploy/deployer.go","line":347},{"file":"/Users/kopiczko/go/src/github.com/giantswarm/opsctl/command/deploy/command.go","line":346},{"file":"/Users/kopiczko/go/src/github.com/giantswarm/opsctl/pkg/output/funcs.go","line":33},{"file":"/Users/kopiczko/go/src/github.com/giantswarm/opsctl/command/deploy/command.go","line":356}]},"time":"2020-07-01T12:21:29.465397+00:00","verbosity":0}

Into this:

$ opsctl deploy -i ginger aws-operator@k8scloudconfig-0.6.3 | luigi
Requesting the creation of deployment using "App" method

    chart           aws-operator
    repository      aws-operator
    ref             k8scloudconfig-0.6.3
    version         8.7.0-903edaa40367d1b0a81fbe324391b083c5cc6f97
    installation    ginger

Requested the creation of deployment using "App" method

Waiting for deployment
Failed.
E 07/01 12:21:29 | micrologger@v0.3.1/activation_logger.go:93 | verbosity=0
	unknown: execution failed error: deployment failed (status: `FAILED`, reason: `Release "aws-operator-k8scloudconfig-0.6.3" failed: admission webhook "validation.gatekeeper.sh" denied the request: [denied by unique-operator-version] label app.kubernetes.io/version=8.7.1-dev is not unique in resources of kind "Deployment"`)
	/Users/kopiczko/go/src/github.com/giantswarm/opsctl/pkg/cmd/deploy/appdeploy/deployer.go:338
	/Users/kopiczko/go/pkg/mod/github.com/giantswarm/backoff@v0.2.0/retry.go:13
	/Users/kopiczko/go/src/github.com/giantswarm/opsctl/pkg/cmd/deploy/appdeploy/deployer.go:347
	/Users/kopiczko/go/src/github.com/giantswarm/opsctl/command/deploy/command.go:346
	/Users/kopiczko/go/src/github.com/giantswarm/opsctl/pkg/output/funcs.go:33
	/Users/kopiczko/go/src/github.com/giantswarm/opsctl/command/deploy/command.go:356

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址