1+ version : 2
12before :
23 hooks :
34 - make man-pages
@@ -19,6 +20,9 @@ builds:
1920 goarm : [6, 7]
2021 flags :
2122 - -trimpath
23+ ignore :
24+ - { goos: darwin, goarch: 386 }
25+ - { goos: darwin, goarch: arm }
2226
2327universal_binaries :
2428 - {}
3741 - maintainer : &author Maxime VISONNEAU <maxime.visonneau@gmail.com>
3842 description : &description GitLab CI pipelines exporter (prometheus/open-metrics)
3943 license : &license Apache-2.0
40- homepage : &homepage https://github.com/mvisonneau/gitlab-ci-pipelines-exporter
44+ homepage : https://github.com/mvisonneau/gitlab-ci-pipelines-exporter
4145 vendor : *author
4246 file_name_template : ' {{ .ProjectName }}_edge_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
4347 bindir : /usr/local/bin
5155 file_info :
5256 mode : 0644
5357 - src : ./helpers/autocomplete/zsh
54- dst : /usr/share/zsh/vendor-completions/_{{ .ProjectName }}
58+ dst : /usr/share/zsh/vendor-completions/_{{ .ProjectName }}
5559 file_info :
5660 mode : 0644
5761 - src : ./helpers/manpages/{{ .ProjectName }}.1.gz
@@ -66,16 +70,14 @@ nfpms:
6670release :
6771 disable : true
6872
69- # Disabling until https://github.com/canonical/snapcraft/issues/4769 is resolved
70- # snapcrafts:
71- # - summary: GitLab CI pipelines exporter (prometheus/open-metrics)
72- # description: Monitor GitLab CI pipelines related metrics.
73- # license: Apache-2.0
74- # confinement: strict
75- # grade: devel
76- # apps:
77- # gitlab-ci-pipelines-exporter:
78- # plugs: [home, network, network-bind]
73+ snapcrafts :
74+ - summary : *description
75+ description : Monitor GitLab CI pipelines related metrics.
76+ license : *license
77+ grade : devel
78+ apps :
79+ gitlab-ci-pipelines-exporter :
80+ plugs : [home, network, network-bind]
7981
8082dockers :
8183 - image_templates :
0 commit comments