AzureMonitor - E2E tests drone update (#57100)
* Update e2e command with video flag * Add Cloud Plugins E2E tests to drone * Update env variable names * Add vault Azure secrets * Update e2e steps * Update secrets path * Update image and rebuild drone file * Readd drone changes * Rebuild drone * Remake drone * Correct reference to secret * Remake drone file * Remove unneeded step * Clear values in Arg query
This commit is contained in:
@@ -15,6 +15,7 @@ func EndToEndTests(c *cli.Context) error {
|
||||
tries = c.Int("tries")
|
||||
suite = c.String("suite")
|
||||
host = c.String("host")
|
||||
video = c.String("video")
|
||||
)
|
||||
|
||||
log.Printf("Running Grafana e2e tests")
|
||||
@@ -30,7 +31,7 @@ func EndToEndTests(c *cli.Context) error {
|
||||
for i := 0; i < tries; i++ {
|
||||
log.Printf("Running e2e test suite attempt #%d", i+1)
|
||||
//nolint:gosec
|
||||
cmd := exec.Command("./e2e/run-suite", suite)
|
||||
cmd := exec.Command("./e2e/run-suite", suite, video)
|
||||
cmd.Env = env
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
|
||||
@@ -56,6 +56,11 @@ func main() {
|
||||
Value: "grafana-server",
|
||||
Usage: "Specify the server host",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "video",
|
||||
Value: "true",
|
||||
Usage: "Specify if videos should be recorded",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user