Skip to content

Commit

Permalink
build: upgrade buf and goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisuhag committed Oct 31, 2024
1 parent 2fa5445 commit 7b95313
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 33 deletions.
22 changes: 6 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,26 @@ before:
- make clean

changelog:
use: github
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^build:"
exclude: ["^docs:", "^test:", "^build:", "^refactor:", "^style:", "^chore:"]

builds:
- main: ./main.go
id: "linux"
binary: meteor
flags: [-a]
ldflags:
- -X github.com/raystack/meteor/cmd.Version={{.Tag}}
- -X github.com/raystack/meteor/cmd.BuildCommit={{.FullCommit}}
- -X github.com/raystack/meteor/cmd.BuildDate={{.Date}}
goos: ["linux", "windows", "darwin"]
goarch: [amd64, arm64] # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
goarch: [amd64, arm64] # Skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
env:
- CGO_ENABLED=0
ignore: # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
- goos: linux
goarch: 386
ignore:
- goos: linux
goarch: arm
- goos: windows
goarch: 386
- goos: windows
goarch: arm

Expand All @@ -51,7 +44,7 @@ checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"

dockers:
- goos: linux
Expand All @@ -69,10 +62,7 @@ nfpms:
description: "Metadata collection tool."
homepage: https://github.com/raystack/meteor
license: Apache 2.0
formats:
- deb
- rpm
- apk
formats: [deb, rpm, apk]

scoops:
- homepage: "https://github.com/raystack/meteor"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NAME="github.com/raystack/meteor"
VERSION=$(shell git describe --always --tags 2>/dev/null)
COVERFILE="/tmp/app.coverprofile"
PROTON_COMMIT := "42b77358cbb68335607e99794f729e4a558974a5"
PROTON_COMMIT := "ae895e033f71df187c62d7cf9431a2e259ddd423"
.PHONY: all build clean test

all: build
Expand Down
4 changes: 2 additions & 2 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
version: v2
plugins:
- name: go
- remote: buf.build/protocolbuffers/go:v1.31.0
out: models
opt: paths=source_relative
2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/application.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/asset.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/bucket.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/dashboard.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/experiment.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/feature_table.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/group.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/job.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/metric.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/model.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/table.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/topic.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/raystack/assets/v1beta2/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b95313

Please sign in to comment.