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
22
33release :
44 prerelease : auto
5- draft : true
65
76before :
87 hooks :
98 - go mod tidy
109 - make clean
1110
11+ changelog :
12+ sort : asc
13+ filters :
14+ exclude :
15+ - " ^docs:"
16+ - " ^test:"
17+ - " ^build:"
18+
1219builds :
1320 - main : ./main.go
1421 id : " linux"
@@ -59,14 +66,6 @@ checksum:
5966snapshot :
6067 name_template : " {{ .Tag }}-next"
6168
62- changelog :
63- sort : asc
64- filters :
65- exclude :
66- - " ^docs:"
67- - " ^test:"
68- - " ^build:"
69-
7069dockers :
7170 - goos : linux
7271 goarch : amd64
@@ -78,6 +77,24 @@ dockers:
7877 - " docker.io/raystack/{{.ProjectName}}:{{ .Version }}"
7978 - " docker.io/raystack/{{.ProjectName}}:{{ .Version }}-amd64"
8079
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+
8198brews :
8299 - name : meteor
83100 homepage : " https://github.com/raystack/meteor"
@@ -87,7 +104,6 @@ brews:
87104 name : homebrew-tap
88105 license : " Apache 2.0"
89106 folder : Formula
90-
91107 dependencies :
92108 - name : git
93109 install : |-
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ func GenCmd() *cobra.Command {
3131 $ meteor gen my-template.yaml -o ./output-dir -d ./data.yaml
3232 ` ),
3333 Annotations : map [string ]string {
34- "group:core " : "true " ,
34+ "group" : "core " ,
3535 },
3636 RunE : func (cmd * cobra.Command , args []string ) error {
3737 templatePath := args [0 ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func InfoCmd() *cobra.Command {
1717 Use : "info <command>" ,
1818 Short : "Display plugin information" ,
1919 Annotations : map [string ]string {
20- "group:core " : "true " ,
20+ "group" : "core " ,
2121 },
2222 }
2323 cmd .AddCommand (InfoSinkCmd ())
@@ -41,7 +41,7 @@ func InfoSinkCmd() *cobra.Command {
4141 ` ),
4242 Args : cobra .MaximumNArgs (1 ),
4343 Annotations : map [string ]string {
44- "group:core " : "true " ,
44+ "group" : "core " ,
4545 },
4646 RunE : func (cmd * cobra.Command , args []string ) error {
4747 var sinks []string
@@ -86,7 +86,7 @@ func InfoExtCmd() *cobra.Command {
8686 ` ),
8787 Args : cobra .MaximumNArgs (1 ),
8888 Annotations : map [string ]string {
89- "group:core " : "true " ,
89+ "group" : "core " ,
9090 },
9191 RunE : func (cmd * cobra.Command , args []string ) error {
9292 var extractors []string
@@ -130,7 +130,7 @@ func InfoProccCmd() *cobra.Command {
130130 ` ),
131131 Args : cobra .MaximumNArgs (1 ),
132132 Annotations : map [string ]string {
133- "group:core " : "true " ,
133+ "group" : "core " ,
134134 },
135135 RunE : func (cmd * cobra.Command , args []string ) error {
136136 var processors []string
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func LintCmd() *cobra.Command {
4545 $ meteor lint .
4646 ` ),
4747 Annotations : map [string ]string {
48- "group:core " : "true " ,
48+ "group" : "core " ,
4949 },
5050 RunE : func (cmd * cobra.Command , args []string ) error {
5151 cfg , err := config .Load ("./meteor.yaml" )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func ListCmd() *cobra.Command {
1919 Use : "list <command>" ,
2020 Short : "List available plugins" ,
2121 Annotations : map [string ]string {
22- "group:core " : "true " ,
22+ "group" : "core " ,
2323 },
2424 }
2525 cmd .AddCommand (ListExtCmd ())
@@ -49,7 +49,7 @@ func ListExtCmd() *cobra.Command {
4949 $ meteor list e
5050 ` ),
5151 Annotations : map [string ]string {
52- "group:core " : "true " ,
52+ "group" : "core " ,
5353 },
5454 Run : func (cmd * cobra.Command , args []string ) {
5555 extractors := registry .Extractors .List ()
@@ -89,7 +89,7 @@ func ListSinksCmd() *cobra.Command {
8989 $ meteor list s
9090 ` ),
9191 Annotations : map [string ]string {
92- "group:core " : "true " ,
92+ "group" : "core " ,
9393 },
9494 Run : func (cmd * cobra.Command , args []string ) {
9595 sinks := registry .Sinks .List ()
@@ -128,7 +128,7 @@ func ListProccCmd() *cobra.Command {
128128 $ meteor list p
129129 ` ),
130130 Annotations : map [string ]string {
131- "group:core " : "true " ,
131+ "group" : "core " ,
132132 },
133133 Run : func (cmd * cobra.Command , args []string ) {
134134 processors := registry .Processors .List ()
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ func NewCmd() *cobra.Command {
1818 Use : "new" ,
1919 Short : "Bootstrap new recipes" ,
2020 Annotations : map [string ]string {
21- "group:core " : "true " ,
21+ "group" : "core " ,
2222 },
2323 }
2424
@@ -58,7 +58,7 @@ func NewRecipeCmd() *cobra.Command {
5858 $ meteor new recipe sample -e bigquery -s compass > recipe.yaml
5959 ` ),
6060 Annotations : map [string ]string {
61- "group:core " : "true " ,
61+ "group" : "core " ,
6262 },
6363 RunE : func (cmd * cobra.Command , args []string ) error {
6464 var sinkList []string
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ func New() *cobra.Command {
2020 $ meteor gen recipe --extractor=date --sink console
2121 ` ),
2222 Annotations : map [string ]string {
23- "group:core " : "true " ,
23+ "group" : "core " ,
2424 "help:learn" : heredoc .Doc (`
2525 Use 'meteor <command> <subcommand> --help' for more information about a command.
2626 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 {
5555 ` ),
5656 Args : cobra .ExactArgs (1 ),
5757 Annotations : map [string ]string {
58- "group:core " : "true " ,
58+ "group" : "core " ,
5959 },
6060 RunE : func (cmd * cobra.Command , args []string ) error {
6161 cfg , err := config .Load (configFile )
You can’t perform that action at this time.
0 commit comments