[arvados] created: 2.7.0-6474-g54b24867f4

git repository hosting git at public.arvados.org
Tue Apr 23 20:09:44 UTC 2024


        at  54b24867f46e72d142aced80a09c8ce9cadb06a4 (commit)


commit 54b24867f46e72d142aced80a09c8ce9cadb06a4
Author: Tom Clegg <tom at curii.com>
Date:   Tue Apr 23 16:09:17 2024 -0400

    21220: Add Google Tag ID config.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml
index 14e839a6cd..285d14d5da 100644
--- a/lib/config/config.default.yml
+++ b/lib/config/config.default.yml
@@ -1979,6 +1979,9 @@ Clusters:
       # HTML-formatted text) when users first log in to Workbench.
       BannerUUID: ""
 
+      # Google Tag ID for Google Analytics.
+      GoogleTagID: ""
+
       # Workbench welcome screen, this is HTML text that will be
       # incorporated directly onto the page.
       WelcomePageHTML: |
diff --git a/lib/config/export.go b/lib/config/export.go
index f511ebbcb1..3d582c40bb 100644
--- a/lib/config/export.go
+++ b/lib/config/export.go
@@ -288,6 +288,7 @@ var whitelist = map[string]bool{
 	"Workbench.EnableGettingStartedPopup":                 true,
 	"Workbench.EnablePublicProjectsPage":                  true,
 	"Workbench.FileViewersConfigURL":                      true,
+	"Workbench.GoogleTagID":                               true,
 	"Workbench.IdleTimeout":                               true,
 	"Workbench.InactivePageHTML":                          true,
 	"Workbench.LogViewerMaxBytes":                         true,
diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go
index 116051b09e..07a210a1bf 100644
--- a/sdk/go/arvados/config.go
+++ b/sdk/go/arvados/config.go
@@ -296,6 +296,7 @@ type Cluster struct {
 		SSHHelpHostSuffix      string
 		IdleTimeout            Duration
 		BannerUUID             string
+		GoogleTagID            string
 	}
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list