diff --git a/hack/e2e/setup-plural.sh b/hack/e2e/setup-plural.sh index 61dc654a1..b94c30b9e 100755 --- a/hack/e2e/setup-plural.sh +++ b/hack/e2e/setup-plural.sh @@ -82,6 +82,8 @@ export PLURAL_LOGIN_AFFIRM_CURRENT_USER=true export PLURAL_INIT_AFFIRM_CURRENT_REPO=true export PLURAL_INIT_AFFIRM_BACKUP_KEY=false +export PLURAL_INIT_AFFIRM_SEND_METRICS=true + plural init plural repos reset plural bundle install console console-kind diff --git a/pkg/bundle/configuration_test.go b/pkg/bundle/configuration_test.go index f07c4f2f4..e0bc5c3c4 100644 --- a/pkg/bundle/configuration_test.go +++ b/pkg/bundle/configuration_test.go @@ -113,7 +113,7 @@ func TestConfigureEnvVariables(t *testing.T) { ctx: map[string]interface{}{}, repo: "test", envVars: map[string]string{"PLURAL_TEST_TEST_ITEM": "workspace.yaml"}, - expectedValue: "apiVersion: \"\"\nkind: \"\"\nmetadata: null\nspec:\n cluster: \"\"\n bucket: \"\"\n project: test\n provider: \"\"\n region: \"\"\n owner: null\n network: null\n bucketPrefix: \"\"\n context: {}\n", + expectedValue: "apiVersion: \"\"\nkind: \"\"\nmetadata: null\nspec:\n cluster: \"\"\n bucket: \"\"\n project: test\n provider: \"\"\n region: \"\"\n sendmetrics: false\n owner: null\n network: null\n bucketPrefix: \"\"\n context: {}\n", }, } for _, test := range tests { diff --git a/pkg/scaffold/template/lua_test.go b/pkg/scaffold/template/lua_test.go index 3739ff618..bd6063ef4 100644 --- a/pkg/scaffold/template/lua_test.go +++ b/pkg/scaffold/template/lua_test.go @@ -82,6 +82,7 @@ test: metadata: null spec: email: test@plural.sh + id: "" token: abc namespacePrefix: test endpoint: http://example.com @@ -154,6 +155,7 @@ test: metadata: null spec: email: test@plural.sh + id: "" token: abc namespacePrefix: test endpoint: http://example.com