mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
Fixes snap script (#909)
This commit is contained in:
parent
b73802372a
commit
f818ab497b
@ -110,7 +110,7 @@ victoria-metrics-package-deb-rpm-all: \
|
||||
victoria-metrics-package-rpm-arm64
|
||||
|
||||
### Packaging as snap
|
||||
victoria-metrics-package-snap: victoria-metrics-prod
|
||||
victoria-metrics-package-snap:
|
||||
which snapcraft || snap install snapcraft
|
||||
which multipass || snap install multipass
|
||||
snapcraft
|
||||
|
@ -59,7 +59,7 @@ parts:
|
||||
override-build: |
|
||||
make app-local APP_NAME=victoria-metrics
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/bin
|
||||
cp -p $SNAPCRAFT_PART_BUILD/bin/victoria-metrics-prod $SNAPCRAFT_PART_INSTALL/bin/victoria-metrics
|
||||
cp -p $SNAPCRAFT_PART_BUILD/bin/victoria-metrics $SNAPCRAFT_PART_INSTALL/bin/
|
||||
cp -p $SNAPCRAFT_PART_SRC/snap/local/victoriametrics-wrapper $SNAPCRAFT_PART_INSTALL/bin/
|
||||
apps:
|
||||
victoriametrics:
|
||||
|
Loading…
Reference in New Issue
Block a user