mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
2c3d45c88a
* remove vfsgen usages Signed-off-by: Jan Fajerski <jfajersk@redhat.com> * web: use embed package for static assets This requires go 1.16. Signed-off-by: Jan Fajerski <jfajersk@redhat.com> * circleci: drop go generate in web/ui Signed-off-by: Jan Fajerski <jfajersk@redhat.com> * Makefile: compress web assets before build This commit add compression before (and decompression after) prometheus is build. This ensures that gzipped assets are embeded in the prometheus binary, if the builtinassets build tag is passed. If the build tag is not passed this step is still executed but has no effect. All this is executed in a subshell so that we can run the decompress step even if the build step fails, but retain the exit code of promu. This cleanup could also cover interrupts, but I left that out for now. Signed-off-by: Jan Fajerski <jfajersk@redhat.com> |
||
---|---|---|
.. | ||
gate | ||
httputil | ||
logging | ||
osutil | ||
pool | ||
runtime | ||
stats | ||
strutil | ||
teststorage | ||
testutil | ||
treecache |