-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yaml
74 lines (66 loc) · 2.06 KB
/
.goreleaser.yaml
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
version: 2
project_name: concierge
before:
hooks:
- go mod tidy
builds:
- main: .
binary: concierge
mod_timestamp: "{{ .CommitTimestamp }}"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -X github.com/jnsgruk/concierge/cmd.version={{ .Version }} -X github.com/jnsgruk/concierge/cmd.commit={{ .Commit }}
archives:
- builds:
- default
files:
- "LICENSE*"
- "README*"
snapcrafts:
- name: concierge
publish: true
license: Apache-2.0
base: core24
confinement: classic
grade: stable
summary: A utility for configuring dev/test machines for charm development
description: |
concierge is an opinionated utility for provisioning charm development and testing machines.
Its role is to ensure that a given machine has the relevant "craft" tools and providers
installed, then bootstrap a Juju controller onto each of the providers. Additionally, it can
install selected tools from the [snap store](https://snapcraft.io) or the Ubuntu archive.
Configuration is by flags/environment variables, or by configuration file. The configuration file
must be in the current working directory and named 'concierge.yaml', or the path specified using
the '-c' flag.
There are 3 presets available by default: 'machine', 'k8s' and 'dev'.
Some aspects of presets and config files can be overridden using flags such as '--juju-channel'.
Each of the override flags has an environment variable equivalent, such as
'CONCIERGE_JUJU_CHANNEL'.
More information at https://github.com/jnsgruk/concierge.
extra_files:
- source: .github/concierge.png
destination: concierge.png
mode: 0644
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
release:
prerelease: auto
# Defaults to empty.
footer: |
## Thanks!
That's all the changes for {{ .Tag }}!
changelog:
sort: asc
use: github
filters:
exclude:
- "^test:"
- "^ci:"