Bump snap go builder version from v1.20 to v1.22 (#6142)

* snap/snapcraft.yaml: bump go builder version for snap from v1.20 to v1.22

* snap/snapcraft.yaml: drop arm64 architecture as not supported from snap multi build

see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5998
This commit is contained in:
Denys Holius 2024-04-18 15:48:32 +03:00 committed by GitHub
parent 45f7e58d6c
commit 89374935f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ confinement: strict # use 'strict' once you have the right plugs and slots
parts:
build:
plugin: go
go-channel: 1.20/stable
go-channel: 1.22/stable
go-importpath: github.com/VictoriaMetrics/VictoriaMetrics
source: .
source-type: local
@ -82,5 +82,5 @@ layout:
/etc/victoriametrics-scrape-config.yaml:
bind-file: $SNAP_DATA/etc/victoriametrics-scrape-config.yaml
architectures:
- build-on: ['arm64', 'amd64']
run-on: ['arm64','amd64']
- build-on: ['amd64']
run-on: ['amd64']