You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/testing/ci/smoke/smoke_test.go
+41-19Lines changed: 41 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -20,28 +20,38 @@ type CLI struct {
20
20
IsCanarybool`name:"is-canary" env:"IS_CANARY" default:"false" help:"Whether this is a canary or not. Some things like the Docker image repositories may differ for canaries."`
CircleHoststring`name:"circle-host" env:"CIRCLE_HOST" default:"https://circleci.com" help:"URL to your CircleCI host."`
31
+
CircleToken secret.String`name:"circle-api-token" env:"CIRCLE_API_TOKEN" required:"true" help:"An API token to authenticate with the CircleCI API."`
32
+
RunnerNamespacestring`name:"runner-namespace" env:"RUNNER_NAMESPACE" default:"circleci-runner" help:"Namespace of the runner resource classes."`
33
+
}
34
+
28
35
typeMachinestruct {
29
-
CircleHoststring`name:"circle-host" env:"CIRCLE_HOST" default:"https://circleci.com" help:"URL to your CircleCI host for the machine tests."`
30
-
CircleToken secret.String`name:"circle-api-token" env:"CIRCLE_API_TOKEN" required:"true" help:"An API token to authenticate with the CircleCI API for the machine tests."`
31
-
RunnerNamespacestring`name:"runner-namespace" env:"RUNNER_NAMESPACE" default:"circleci-runner" help:"Namespace of the machine runner resource classes."`
32
-
Skipbool`env:"SKIP" help:"Skip tests for the machine driver."`
36
+
DriverConfig`embed:""`
37
+
Skipbool`env:"SKIP" help:"Skip tests for the machine driver."`
33
38
}
34
39
35
40
typeKubernetesstruct {
36
-
CircleHoststring`name:"circle-host" env:"CIRCLE_HOST" default:"https://k9s.sphereci.com" help:"URL to your CircleCI host for the Kubernetes tests."`
37
-
CircleToken secret.String`name:"circle-api-token" env:"CIRCLE_API_TOKEN" required:"true" help:"An API token to authenticate with the CircleCI API for the Kubernetes tests."`
38
-
RunnerNamespacestring`name:"runner-namespace" env:"RUNNER_NAMESPACE" default:"k9s" help:"Namespace of the container runner resource classes."`
39
-
Skipbool`env:"SKIP" help:"Skip tests for the Kubernetes driver."`
41
+
DriverConfig`embed:""`
42
+
Skipbool`env:"SKIP" help:"Skip tests for the Kubernetes driver."`
40
43
41
44
RunnerInitTagstring`env:"RUNNER_INIT_TAG" default:"" help:"The runner-init image tag to use in the smoke tests."`
42
45
HelmChartBranchstring`env:"HELM_CHART_BRANCH" default:"" help:"An optional branch name on the CircleCI-Public/container-runner-helm-chart repository. This can be used for testing a pre-release Helm chart version."`
43
46
}
44
47
48
+
typeRunnerProvisionerstruct {
49
+
DriverConfig`embed:""`
50
+
Skipbool`env:"SKIP" default:"true" help:"Skip tests for the runner-provisioner driver."`
51
+
52
+
Branchstring`env:"BRANCH" default:"main" help:"An optional branch name on the runner-provisioner repository. This can be used for testing a pre-release version."`
0 commit comments