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:
Andreas Christou
2022-11-08 11:27:54 +01:00
committed by GitHub
parent e4c394dfcd
commit 5cfd983cc2
8 changed files with 124 additions and 3 deletions
+2 -1
View File
@@ -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
+5
View File
@@ -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",
},
},
},
{