[arvados] updated: 2.1.0-2958-gb8b4c4d73
git repository hosting
git at public.arvados.org
Fri Oct 14 20:29:31 UTC 2022
Summary of changes:
lib/config/config.default.yml | 4 ++++
lib/config/export.go | 1 +
sdk/go/arvados/config.go | 1 +
3 files changed, 6 insertions(+)
via b8b4c4d7366c55586431248571daac2948614ffa (commit)
from ebc1efc890cf5bc6218f72ccee495e8ed0406c7e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit b8b4c4d7366c55586431248571daac2948614ffa
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Wed Oct 12 16:55:06 2022 -0400
18368: Add BannerURL config option
refs #18368
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml
index 816d0f99e..9b5547248 100644
--- a/lib/config/config.default.yml
+++ b/lib/config/config.default.yml
@@ -1716,6 +1716,10 @@ Clusters:
# This feature is disabled when set to zero.
IdleTimeout: 0s
+ # URL to a file that is a fragment of text or HTML which should
+ # be rendered in Workbench as a banner.
+ BannerURL: ""
+
# 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 fb17a45c8..e7cf094eb 100644
--- a/lib/config/export.go
+++ b/lib/config/export.go
@@ -291,6 +291,7 @@ var whitelist = map[string]bool{
"Workbench.UserProfileFormFields.*.*.*": true,
"Workbench.UserProfileFormMessage": true,
"Workbench.WelcomePageHTML": true,
+ "Workbench.BannerURL": true,
}
func redactUnsafe(m map[string]interface{}, mPrefix, lookupPrefix string) error {
diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go
index a1fc2e89f..3c1ef4826 100644
--- a/sdk/go/arvados/config.go
+++ b/sdk/go/arvados/config.go
@@ -291,6 +291,7 @@ type Cluster struct {
SSHHelpPageHTML string
SSHHelpHostSuffix string
IdleTimeout Duration
+ BannerURL string
}
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list