ea1e4aa52d
Replace bindata packages with stdlib go:embed. Modernize some uiserver code with newer interfaces introduced in go 1.16 (mainly working with fs.File instead of http.File. Remove steps that are no longer used from our build files. Add Github Action to detect differences in agent/uiserver/dist and verify that the files are correct (by compiling UI assets and comparing contents).
284 B
284 B
uiserver
The contents of dist/
are generated by make ui
in the root of this repo
which compiles ui
assets and copies them here.
A CI job (publish-static-assets
) will detect any diffs in ui
files and
commit the compiled files. Avoid committing files manually to dist/
.