-
Notifications
You must be signed in to change notification settings - Fork 25
/
.goreleaser.yml
140 lines (129 loc) · 3.38 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
version: 2
env:
- CGO_ENABLED=0
before:
hooks:
- make LICENSES
builds:
- id: nginx-asg-sync
goos:
- linux
goarch:
- 386
- amd64
- arm64
- ppc64le
- s390x
flags:
- -trimpath
main: ./cmd/sync
binary: nginx-asg-sync
nfpms:
- file_name_template: "{{ .ConventionalFileName }}"
vendor: NGINX Inc.
homepage: https://github.com/nginxinc/nginx-asg-sync
maintainer: NGINX Inc. <[email protected]>
description: |-
NGINX Plus Integration with Cloud Autoscaling.
This package contains software that integrates NGINX Plus
with AWS Auto Scaling groups and Azure Virtual Machine Scale Set
license: BSD-2-Clause
dependencies:
- nginx-plus
- systemd
suggests:
- logrotate
formats:
- deb
- rpm
release: 1
section: utils
priority: optional
bindir: /usr/sbin
contents:
- src: build/config.yaml.example
dst: /etc/nginx/config.yaml.example
type: "config|noreplace"
- src: build/logrotate
dst: /etc/logrotate.d/nginx-asg-sync
type: "config|noreplace"
- dst: /var/log/nginx-asg-sync
type: dir
- src: build/nginx-asg-sync.service
dst: /lib/systemd/system/nginx-asg-sync.service
- src: LICENSE
dst: /usr/share/doc/nginx-asg-sync/copyright
packager: deb
- src: LICENSES
dst: /usr/share/doc/nginx-asg-sync/LICENSES
packager: deb
- src: LICENSE
dst: /usr/share/licenses/nginx-asg-sync/LICENSE
packager: rpm
- src: LICENSES
dst: /usr/share/licenses/nginx-asg-sync/LICENSES
packager: rpm
- src: README.md
dst: /usr/share/doc/nginx-asg-sync/README
overrides:
rpm:
scripts:
postinstall: "build/postinstall.sh"
preremove: "build/preremove.sh"
postremove: "build/postremove.sh"
changelog:
disable: true
archives:
- files:
- README.md
- LICENSE
- CHANGELOG.md
- build/config.yaml.example
sboms:
- artifacts: archive
documents:
- "${artifact}.spdx.json"
signs:
- cmd: cosign
artifacts: checksum
output: true
certificate: "${artifact}.pem"
args:
- sign-blob
- "--output-signature=${signature}"
- "--output-certificate=${certificate}"
- "${artifact}"
- "--yes"
announce:
slack:
enabled: true
channel: "#announcements"
message_template: "NGINX Plus Integration with Cloud Autoscaling {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"
milestones:
- close: true
snapcrafts:
- summary: NGINX Plus Integration with Cloud Autoscaling
description: |
This package contains software that integrates NGINX Plus
with AWS Auto Scaling groups and Azure Virtual Machine Scale Set
grade: stable
confinement: strict
publish: true
license: BSD-2-Clause
apps:
nginx-asg-sync:
command: nginx-asg-sync
plugs: ["network", "network-bind"]
disable: "{{ if .IsSnapshot }}true{{ end }}"
brews:
- repository:
owner: nginxinc
name: homebrew-tap
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
directory: Formula
homepage: https://github.com/nginxinc/nginx-asg-sync
description: NGINX Plus Integration with Cloud Autoscaling
license: BSD-2-Clause
commit_author:
name: nginx-bot
email: [email protected]