Build the embedded admin UI from CyberCoveLLC/threshold-ui
- internal/ui/VERSION pins the threshold-ui commit - scripts/uiupdate.sh and scripts/build-ui.sh clone https://repo.anhonesthost.net/CyberCoveLLC/threshold-ui.git; the GitHub artifact download path (hashicorp/boundary-ui) is removed - clone/embed directory renamed .tmp/boundary-ui -> .tmp/threshold-ui (Makefile, assets.go, .github build.yml paths) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
764bb27d54
commit
89e73b4aa1
7 files changed
+22
-62
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
2766be2c2e941020878f837af6188eb500579e31
|
||||
3f2be6fab0990d9d63ae6cd7fa58cbf367e72067
|
||||
# This file determines the version of the UI to embed in the boundary binary.
|
||||
# Update this file by running 'make update-ui-version' from the root of this repo.
|
||||
# Set UI_COMMITISH when running the above target to update to a specific version.
|
||||
@@ -13,11 +13,11 @@ import (
|
||||
)
|
||||
|
||||
// Sadly we can't embed this into the embed line, but we use it elsewhere
|
||||
const contentDir = ".tmp/boundary-ui/ui/admin/dist"
|
||||
const contentDir = ".tmp/threshold-ui/ui/admin/dist"
|
||||
|
||||
// content is our static web server content.
|
||||
//
|
||||
//go:embed .tmp/boundary-ui/ui/admin/dist
|
||||
//go:embed .tmp/threshold-ui/ui/admin/dist
|
||||
var content embed.FS
|
||||
|
||||
func Handler() http.Handler {
|
||||
|
||||
Reference in new issue
Block a user