-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: Add integration tests * Add missing data file * Reference correct file * Ensure bucket exists * Run minio in the backgroud * Rename release workflow * Fix line break in docker command * Checkout code before runnin minio * Add s3 region
- Loading branch information
1 parent
2041db1
commit 2d23e04
Showing
5 changed files
with
114 additions
and
79 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 |
---|---|---|
@@ -1,35 +1,36 @@ | ||
on: {} | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
# run only against tags | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
releases-matrix: | ||
name: Release Go Binaries | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- goos: linux | ||
goarch: "386" | ||
- goos: linux | ||
goarch: "amd64" | ||
- goos: linux | ||
goarch: "arm64" | ||
- goos: darwin | ||
goarch: "amd64" | ||
- goos: darwin | ||
goarch: "arm64" | ||
- goos: windows | ||
goarch: "386" | ||
- goos: windows | ||
goarch: "amd64" | ||
steps: | ||
- name: Checkout code | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Release binaries | ||
uses: wangyoucao577/go-release-action@v1.36 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
goos: ${{ matrix.goos }} | ||
goarch: ${{ matrix.goarch }} | ||
goversion: "1.20" | ||
project_path: ./ | ||
binary_name: target-jsonl-blob | ||
compress_assets: false | ||
fetch-depth: 0 | ||
|
||
- run: git fetch --force --tags | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
cache: true | ||
|
||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --clean --skip-validate --debug | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{"type": "BAD"} | ||
{"type": "SCHEMA", "stream": "test", "schema": {"properties": {"id": "integer"}}} | ||
{"type": "RECORD", "stream": "test", "record": {"id": 1}, "time_extracted": "2022-01-01T00:00:00Z"} | ||
{"type": "RECORD", "stream": "test", "record": {"id": 2}, "time_extracted": "2022-01-01T00:00:00Z"} | ||
{"type": "STATE", "value": {"bookmark": "2022-01-01"}} | ||
{"type": "SCHEMA", "stream": "test2", "schema": {"properties": {"name": "string"}}} | ||
{"type": "RECORD", "stream": "test2", "record": {"name": "A"}} | ||
{"type": "RECORD", "stream": "test2", "record": {"name": "B"}} | ||
{"type": "STATE", "value": {"test": "2022-01-01", "test2": "2022-02-01"}} | ||
{"type": "SCHEMA", "stream": "test", "schema": {"properties": {"id": "integer"}}} | ||
{"type": "RECORD", "stream": "test", "record": {"id": 3}} | ||
{"type": "RECORD", "stream": "test", "record": {"id": 4}} | ||
{"type": "STATE", "value": {"test": "2022-03-01", "test2": "2022-02-01"}} |