mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
Fix/snap build (#4125)
* snap/snapcraft.yaml: bump go-channel to latest 1.20/stable * snap/local/Makefile: fixed typo in output snap file
This commit is contained in:
parent
b9ab07ced9
commit
51466ce379
3 changed files with 3 additions and 2 deletions
1
deployment/docker/.#docker-compose-cluster.yml
Symbolic link
1
deployment/docker/.#docker-compose-cluster.yml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
dengolius@ryzen.36379
|
|
@ -18,7 +18,7 @@ build-snap: snap-builder-image
|
||||||
-w /builder \
|
-w /builder \
|
||||||
--env PKG_TAG=$(SNAP_TAG) \
|
--env PKG_TAG=$(SNAP_TAG) \
|
||||||
$(SNAP_BUILDER_IMAGE) \
|
$(SNAP_BUILDER_IMAGE) \
|
||||||
bash -c 'snapcraft clean && snapcraft snap -o bin/'
|
bash -c 'snapcraft clean && snapcraft snap -o "bin/victoriametrics_$(SNAP_TAG)_multi.snap"'
|
||||||
|
|
||||||
release-snap: snap-builder-image build-snap
|
release-snap: snap-builder-image build-snap
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
|
|
|
@ -51,7 +51,7 @@ confinement: strict # use 'strict' once you have the right plugs and slots
|
||||||
parts:
|
parts:
|
||||||
build:
|
build:
|
||||||
plugin: go
|
plugin: go
|
||||||
go-channel: 1.17/stable
|
go-channel: 1.20/stable
|
||||||
go-importpath: github.com/VictoriaMetrics/VictoriaMetrics
|
go-importpath: github.com/VictoriaMetrics/VictoriaMetrics
|
||||||
source: .
|
source: .
|
||||||
source-type: local
|
source-type: local
|
||||||
|
|
Loading…
Reference in a new issue