From 51466ce3793cb37d40e5b653d6e7d8f2d05630e8 Mon Sep 17 00:00:00 2001 From: Denys Holius <5650611+denisgolius@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:50:56 +0300 Subject: [PATCH] Fix/snap build (#4125) * snap/snapcraft.yaml: bump go-channel to latest 1.20/stable * snap/local/Makefile: fixed typo in output snap file --- deployment/docker/.#docker-compose-cluster.yml | 1 + snap/local/Makefile | 2 +- snap/snapcraft.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 deployment/docker/.#docker-compose-cluster.yml diff --git a/deployment/docker/.#docker-compose-cluster.yml b/deployment/docker/.#docker-compose-cluster.yml new file mode 120000 index 000000000..bfeb03b3a --- /dev/null +++ b/deployment/docker/.#docker-compose-cluster.yml @@ -0,0 +1 @@ +dengolius@ryzen.36379 \ No newline at end of file diff --git a/snap/local/Makefile b/snap/local/Makefile index 46726707e..dff25d303 100644 --- a/snap/local/Makefile +++ b/snap/local/Makefile @@ -18,7 +18,7 @@ build-snap: snap-builder-image -w /builder \ --env PKG_TAG=$(SNAP_TAG) \ $(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 docker run --rm \ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 651c1f60c..961baf8bd 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -51,7 +51,7 @@ confinement: strict # use 'strict' once you have the right plugs and slots parts: build: plugin: go - go-channel: 1.17/stable + go-channel: 1.20/stable go-importpath: github.com/VictoriaMetrics/VictoriaMetrics source: . source-type: local