-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
218 changed files
with
5,199 additions
and
4,802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,37 +10,37 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# See https://goreleaser.com/ci/actions/#fetch-depthness | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: git fetch --force --tags | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
cache: true | ||
check-latest: true | ||
- name: Get release tag | ||
id: get_version | ||
uses: battila7/get-version-action@v2 | ||
- name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: --snapshot --rm-dist | ||
- name: Login to GitHub Packages Docker Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: docker.pkg.github.com | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Push Images | ||
run: docker push docker.io/odpf/meteor:latest | ||
# See https://goreleaser.com/ci/actions/#fetch-depthness | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: git fetch --force --tags | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18" | ||
cache: true | ||
check-latest: true | ||
- name: Get release tag | ||
id: get_version | ||
uses: battila7/get-version-action@v2 | ||
- name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: --snapshot --rm-dist | ||
- name: Login to GitHub Packages Docker Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: docker.pkg.github.com | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Push Images | ||
run: docker push docker.io/raystack/meteor:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
project_name: meteor | ||
|
||
release: | ||
release: | ||
prerelease: auto | ||
draft: true | ||
|
||
|
@@ -15,9 +15,9 @@ builds: | |
binary: meteor | ||
flags: [-a] | ||
ldflags: | ||
- -X github.com/odpf/meteor/cmd.Version={{.Tag}} | ||
- -X github.com/odpf/meteor/cmd.BuildCommit={{.FullCommit}} | ||
- -X github.com/odpf/meteor/cmd.BuildDate={{.Date}} | ||
- -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] | ||
goarch: [amd64, arm64] # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library | ||
env: | ||
|
@@ -27,9 +27,9 @@ builds: | |
binary: meteor | ||
flags: [-a] | ||
ldflags: | ||
- -X github.com/odpf/meteor/cmd.Version={{.Tag}} | ||
- -X github.com/odpf/meteor/cmd.BuildCommit={{.FullCommit}} | ||
- -X github.com/odpf/meteor/cmd.BuildDate={{.Date}} | ||
- -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: [darwin] | ||
goarch: [amd64, 386, arm, arm64] | ||
env: | ||
|
@@ -39,9 +39,9 @@ builds: | |
binary: meteor | ||
flags: [-a] | ||
ldflags: | ||
- -X github.com/odpf/meteor/cmd.Version={{.Tag}} | ||
- -X github.com/odpf/meteor/cmd.BuildCommit={{.FullCommit}} | ||
- -X github.com/odpf/meteor/cmd.BuildDate={{.Date}} | ||
- -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: [windows] | ||
goarch: [amd64, arm64] # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library | ||
env: | ||
|
@@ -59,7 +59,7 @@ archives: | |
format: zip | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
name_template: "checksums.txt" | ||
|
||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
|
@@ -68,28 +68,27 @@ changelog: | |
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- '^build:' | ||
- "^docs:" | ||
- "^test:" | ||
- "^build:" | ||
|
||
dockers: | ||
- | ||
goos: linux | ||
- goos: linux | ||
goarch: amd64 | ||
ids: | ||
- linux | ||
dockerfile: Dockerfile | ||
image_templates: | ||
- 'docker.io/odpf/{{.ProjectName}}:latest' | ||
- 'docker.io/odpf/{{.ProjectName}}:{{ .Version }}' | ||
- 'docker.io/odpf/{{.ProjectName}}:{{ .Version }}-amd64' | ||
- "docker.io/raystack/{{.ProjectName}}:latest" | ||
- "docker.io/raystack/{{.ProjectName}}:{{ .Version }}" | ||
- "docker.io/raystack/{{.ProjectName}}:{{ .Version }}-amd64" | ||
|
||
brews: | ||
- name: meteor | ||
homepage: "https://github.com/odpf/meteor" | ||
homepage: "https://github.com/raystack/meteor" | ||
description: "Metadata collection tool." | ||
tap: | ||
owner: odpf | ||
owner: raystack | ||
name: homebrew-tap | ||
license: "Apache 2.0" | ||
folder: Formula | ||
|
@@ -101,4 +100,3 @@ brews: | |
commit_author: | ||
name: Ravi Suhag | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.