Envtest based integration tests for Fission (#2858)
* skeleton for envtest fission * Refactor code and add CLI test * hack * Update server test * remove skip-ci for lint tests * Pass client go storagesvc * Add clientGen interface across code * Fix storagesvc test * Fix cmd client * add retry in server test * Fix concurrenct access to pool deployment * Remove old executor test * get rid of ginkgo/gomega * disable flaky test * flaky test * revert ci change * handle err from ParseBool --------- Signed-off-by: Sanket Sudake <sanketsudake@gmail.com> Co-authored-by: Pranoy Kundu <pranoy1998k@gmail.com>
This commit is contained in:
co-authored by
Pranoy Kundu
parent
15e16fcc82
commit
8a17d391c5
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/spf13/cobra/doc"
|
||||
|
||||
"github.com/fission/fission/cmd/fission-cli/app"
|
||||
"github.com/fission/fission/pkg/fission-cli/cmd"
|
||||
)
|
||||
|
||||
const fmTemplate = `---
|
||||
@@ -40,9 +41,9 @@ func main() {
|
||||
Use: "fission-cli-docs",
|
||||
Short: "Generate docs for fission-cli",
|
||||
Long: "Generate docs for fission-cli",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
Run: func(command *cobra.Command, args []string) {
|
||||
log.Printf("Generating docs in directory %s", outdir)
|
||||
fissionApp := app.App()
|
||||
fissionApp := app.App(cmd.ClientOptions{})
|
||||
fissionApp.DisableAutoGenTag = true
|
||||
fissionApp.Short = "Serverless framework for Kubernetes"
|
||||
err := doc.GenMarkdownTreeCustom(fissionApp, outdir, filePrepender, linkHandler)
|
||||
|
||||
Reference in New Issue
Block a user