File tree Expand file tree Collapse file tree 8 files changed +40
-24
lines changed Expand file tree Collapse file tree 8 files changed +40
-24
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,20 @@ project_name: meteor
2
2
3
3
release :
4
4
prerelease : auto
5
- draft : true
6
5
7
6
before :
8
7
hooks :
9
8
- go mod tidy
10
9
- make clean
11
10
11
+ changelog :
12
+ sort : asc
13
+ filters :
14
+ exclude :
15
+ - " ^docs:"
16
+ - " ^test:"
17
+ - " ^build:"
18
+
12
19
builds :
13
20
- main : ./main.go
14
21
id : " linux"
@@ -59,14 +66,6 @@ checksum:
59
66
snapshot :
60
67
name_template : " {{ .Tag }}-next"
61
68
62
- changelog :
63
- sort : asc
64
- filters :
65
- exclude :
66
- - " ^docs:"
67
- - " ^test:"
68
- - " ^build:"
69
-
70
69
dockers :
71
70
- goos : linux
72
71
goarch : amd64
@@ -78,6 +77,24 @@ dockers:
78
77
- " docker.io/raystack/{{.ProjectName}}:{{ .Version }}"
79
78
- " docker.io/raystack/{{.ProjectName}}:{{ .Version }}-amd64"
80
79
80
+ nfpms :
81
+ - maintainer : Raystack
82
+ description : " Metadata collection tool."
83
+ homepage : https://github.com/raystack/meteor
84
+ license : Apache 2.0
85
+ formats :
86
+ - deb
87
+ - rpm
88
+ - apk
89
+
90
+ scoops :
91
+ - homepage : " https://github.com/raystack/meteor"
92
+ description : " Metadata collection tool."
93
+ license : Apache 2.0
94
+ bucket :
95
+ owner : raystack
96
+ name : scoop-bucket
97
+
81
98
brews :
82
99
- name : meteor
83
100
homepage : " https://github.com/raystack/meteor"
@@ -87,7 +104,6 @@ brews:
87
104
name : homebrew-tap
88
105
license : " Apache 2.0"
89
106
folder : Formula
90
-
91
107
dependencies :
92
108
- name : git
93
109
install : |-
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ func GenCmd() *cobra.Command {
31
31
$ meteor gen my-template.yaml -o ./output-dir -d ./data.yaml
32
32
` ),
33
33
Annotations : map [string ]string {
34
- "group:core " : "true " ,
34
+ "group" : "core " ,
35
35
},
36
36
RunE : func (cmd * cobra.Command , args []string ) error {
37
37
templatePath := args [0 ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func InfoCmd() *cobra.Command {
17
17
Use : "info <command>" ,
18
18
Short : "Display plugin information" ,
19
19
Annotations : map [string ]string {
20
- "group:core " : "true " ,
20
+ "group" : "core " ,
21
21
},
22
22
}
23
23
cmd .AddCommand (InfoSinkCmd ())
@@ -41,7 +41,7 @@ func InfoSinkCmd() *cobra.Command {
41
41
` ),
42
42
Args : cobra .MaximumNArgs (1 ),
43
43
Annotations : map [string ]string {
44
- "group:core " : "true " ,
44
+ "group" : "core " ,
45
45
},
46
46
RunE : func (cmd * cobra.Command , args []string ) error {
47
47
var sinks []string
@@ -86,7 +86,7 @@ func InfoExtCmd() *cobra.Command {
86
86
` ),
87
87
Args : cobra .MaximumNArgs (1 ),
88
88
Annotations : map [string ]string {
89
- "group:core " : "true " ,
89
+ "group" : "core " ,
90
90
},
91
91
RunE : func (cmd * cobra.Command , args []string ) error {
92
92
var extractors []string
@@ -130,7 +130,7 @@ func InfoProccCmd() *cobra.Command {
130
130
` ),
131
131
Args : cobra .MaximumNArgs (1 ),
132
132
Annotations : map [string ]string {
133
- "group:core " : "true " ,
133
+ "group" : "core " ,
134
134
},
135
135
RunE : func (cmd * cobra.Command , args []string ) error {
136
136
var processors []string
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func LintCmd() *cobra.Command {
45
45
$ meteor lint .
46
46
` ),
47
47
Annotations : map [string ]string {
48
- "group:core " : "true " ,
48
+ "group" : "core " ,
49
49
},
50
50
RunE : func (cmd * cobra.Command , args []string ) error {
51
51
cfg , err := config .Load ("./meteor.yaml" )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func ListCmd() *cobra.Command {
19
19
Use : "list <command>" ,
20
20
Short : "List available plugins" ,
21
21
Annotations : map [string ]string {
22
- "group:core " : "true " ,
22
+ "group" : "core " ,
23
23
},
24
24
}
25
25
cmd .AddCommand (ListExtCmd ())
@@ -49,7 +49,7 @@ func ListExtCmd() *cobra.Command {
49
49
$ meteor list e
50
50
` ),
51
51
Annotations : map [string ]string {
52
- "group:core " : "true " ,
52
+ "group" : "core " ,
53
53
},
54
54
Run : func (cmd * cobra.Command , args []string ) {
55
55
extractors := registry .Extractors .List ()
@@ -89,7 +89,7 @@ func ListSinksCmd() *cobra.Command {
89
89
$ meteor list s
90
90
` ),
91
91
Annotations : map [string ]string {
92
- "group:core " : "true " ,
92
+ "group" : "core " ,
93
93
},
94
94
Run : func (cmd * cobra.Command , args []string ) {
95
95
sinks := registry .Sinks .List ()
@@ -128,7 +128,7 @@ func ListProccCmd() *cobra.Command {
128
128
$ meteor list p
129
129
` ),
130
130
Annotations : map [string ]string {
131
- "group:core " : "true " ,
131
+ "group" : "core " ,
132
132
},
133
133
Run : func (cmd * cobra.Command , args []string ) {
134
134
processors := registry .Processors .List ()
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ func NewCmd() *cobra.Command {
18
18
Use : "new" ,
19
19
Short : "Bootstrap new recipes" ,
20
20
Annotations : map [string ]string {
21
- "group:core " : "true " ,
21
+ "group" : "core " ,
22
22
},
23
23
}
24
24
@@ -58,7 +58,7 @@ func NewRecipeCmd() *cobra.Command {
58
58
$ meteor new recipe sample -e bigquery -s compass > recipe.yaml
59
59
` ),
60
60
Annotations : map [string ]string {
61
- "group:core " : "true " ,
61
+ "group" : "core " ,
62
62
},
63
63
RunE : func (cmd * cobra.Command , args []string ) error {
64
64
var sinkList []string
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ func New() *cobra.Command {
20
20
$ meteor gen recipe --extractor=date --sink console
21
21
` ),
22
22
Annotations : map [string ]string {
23
- "group:core " : "true " ,
23
+ "group" : "core " ,
24
24
"help:learn" : heredoc .Doc (`
25
25
Use 'meteor <command> <subcommand> --help' for more information about a command.
26
26
Read the manual at https://raystack.github.io/meteor/
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func RunCmd() *cobra.Command {
55
55
` ),
56
56
Args : cobra .ExactArgs (1 ),
57
57
Annotations : map [string ]string {
58
- "group:core " : "true " ,
58
+ "group" : "core " ,
59
59
},
60
60
RunE : func (cmd * cobra.Command , args []string ) error {
61
61
cfg , err := config .Load (configFile )
You can’t perform that action at this time.
0 commit comments