mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmalert: include it into the next release
This commit is contained in:
parent
303905cd84
commit
90670cb55e
2 changed files with 15 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -13,6 +13,7 @@ GO_BUILDINFO = -X '$(PKG_PREFIX)/lib/buildinfo.Version=$(APP_NAME)-$(shell date
|
||||||
all: \
|
all: \
|
||||||
victoria-metrics-prod \
|
victoria-metrics-prod \
|
||||||
vmagent-prod \
|
vmagent-prod \
|
||||||
|
vmalert-prot \
|
||||||
vmbackup-prod \
|
vmbackup-prod \
|
||||||
vmrestore-prod
|
vmrestore-prod
|
||||||
|
|
||||||
|
@ -25,17 +26,20 @@ clean:
|
||||||
publish: \
|
publish: \
|
||||||
publish-victoria-metrics \
|
publish-victoria-metrics \
|
||||||
publish-vmagent \
|
publish-vmagent \
|
||||||
|
publish-vmalert \
|
||||||
publish-vmbackup \
|
publish-vmbackup \
|
||||||
publish-vmrestore
|
publish-vmrestore
|
||||||
|
|
||||||
package: \
|
package: \
|
||||||
package-victoria-metrics \
|
package-victoria-metrics \
|
||||||
package-vmagent \
|
package-vmagent \
|
||||||
|
package-vmalert \
|
||||||
package-vmbackup \
|
package-vmbackup \
|
||||||
package-vmrestore
|
package-vmrestore
|
||||||
|
|
||||||
vmutils: \
|
vmutils: \
|
||||||
vmagent \
|
vmagent \
|
||||||
|
vmalert \
|
||||||
vmbackup \
|
vmbackup \
|
||||||
vmrestore
|
vmrestore
|
||||||
|
|
||||||
|
@ -49,9 +53,10 @@ release-victoria-metrics: victoria-metrics-prod
|
||||||
|
|
||||||
release-vmutils: \
|
release-vmutils: \
|
||||||
vmagent-prod \
|
vmagent-prod \
|
||||||
|
vmalert-prod \
|
||||||
vmbackup-prod \
|
vmbackup-prod \
|
||||||
vmrestore-prod
|
vmrestore-prod
|
||||||
cd bin && tar czf vmutils-$(PKG_TAG).tar.gz vmagent-prod vmbackup-prod vmrestore-prod && \
|
cd bin && tar czf vmutils-$(PKG_TAG).tar.gz vmagent-prod vmalert-prod vmbackup-prod vmrestore-prod && \
|
||||||
sha256sum vmutils-$(PKG_TAG).tar.gz > vmutils-$(PKG_TAG)_checksums.txt
|
sha256sum vmutils-$(PKG_TAG).tar.gz > vmutils-$(PKG_TAG)_checksums.txt
|
||||||
|
|
||||||
pprof-cpu:
|
pprof-cpu:
|
||||||
|
@ -78,6 +83,7 @@ errcheck: install-errcheck
|
||||||
errcheck -exclude=errcheck_excludes.txt ./app/vmselect/...
|
errcheck -exclude=errcheck_excludes.txt ./app/vmselect/...
|
||||||
errcheck -exclude=errcheck_excludes.txt ./app/vmstorage/...
|
errcheck -exclude=errcheck_excludes.txt ./app/vmstorage/...
|
||||||
errcheck -exclude=errcheck_excludes.txt ./app/vmagent/...
|
errcheck -exclude=errcheck_excludes.txt ./app/vmagent/...
|
||||||
|
errcheck -exclude=errcheck_excludes.txt ./app/vmalert/...
|
||||||
errcheck -exclude=errcheck_excludes.txt ./app/vmbackup/...
|
errcheck -exclude=errcheck_excludes.txt ./app/vmbackup/...
|
||||||
errcheck -exclude=errcheck_excludes.txt ./app/vmrestore/...
|
errcheck -exclude=errcheck_excludes.txt ./app/vmrestore/...
|
||||||
errcheck -exclude=errcheck_excludes.txt ./app/vmalert/...
|
errcheck -exclude=errcheck_excludes.txt ./app/vmalert/...
|
||||||
|
|
8
app/vmalert/deployment/Dockerfile
Normal file
8
app/vmalert/deployment/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
ARG base_image
|
||||||
|
FROM $base_image
|
||||||
|
|
||||||
|
EXPOSE 8880
|
||||||
|
|
||||||
|
ENTRYPOINT ["/vmalert-prod"]
|
||||||
|
ARG src_binary
|
||||||
|
COPY $src_binary ./vmalert-prod
|
Loading…
Reference in a new issue