mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
Fixes snap script (#909)
This commit is contained in:
parent
b73802372a
commit
f818ab497b
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue