-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from civitaspo/develop
v0.1.0
- Loading branch information
Showing
19 changed files
with
898 additions
and
103 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
github: civitaspo |
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,40 @@ | ||
name: Release CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
types: | ||
- closed | ||
|
||
jobs: | ||
release: | ||
|
||
runs-on: ubuntu-latest | ||
services: | ||
localstack: | ||
image: localstack/localstack | ||
ports: | ||
- 4572:4572 | ||
env: | ||
SERVICES: s3 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Test with Gradle | ||
if: github.event.pull_request.merged == true | ||
run: ./gradlew test | ||
- name: Release the new gem | ||
if: github.event.pull_request.merged == true | ||
run: | | ||
mkdir -p $HOME/.gem | ||
touch $HOME/.gem/credentials | ||
chmod 0600 $HOME/.gem/credentials | ||
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials | ||
./gradlew gemPush | ||
env: | ||
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}} |
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,26 @@ | ||
name: Test CI | ||
|
||
on: | ||
- push | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
services: | ||
localstack: | ||
image: localstack/localstack | ||
ports: | ||
- 4572:4572 | ||
env: | ||
SERVICES: s3 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Test with Gradle | ||
run: ./gradlew test | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
in: | ||
type: file | ||
path_prefix: ./example/data.tsv | ||
parser: | ||
type: csv | ||
delimiter: "\t" | ||
skip_header_lines: 0 | ||
null_string: "" | ||
columns: | ||
- { name: id, type: long } | ||
- { name: description, type: string } | ||
- { name: name, type: string } | ||
- { name: t, type: timestamp, format: "%Y-%m-%d %H:%M:%S %z"} | ||
- { name: payload, type: json} | ||
stop_on_invalid_record: true | ||
|
||
out: | ||
type: s3_parquet | ||
bucket: dev-baikal-workspace | ||
path_prefix: path/to/my-obj-2. | ||
file_ext: snappy.parquet | ||
compression_codec: snappy | ||
default_timezone: Asia/Tokyo | ||
canned_acl: bucket-owner-full-control | ||
column_options: | ||
id: | ||
logical_type: "int64" | ||
payload: | ||
logical_type: "json" | ||
type_options: | ||
timestamp: | ||
logical_type: "timestamp-millis" | ||
catalog: | ||
database: example_db | ||
table: example_tbl |
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,31 @@ | ||
|
||
in: | ||
type: file | ||
path_prefix: ./example/data.tsv | ||
parser: | ||
type: csv | ||
delimiter: "\t" | ||
skip_header_lines: 0 | ||
null_string: "" | ||
columns: | ||
- { name: id, type: long } | ||
- { name: description, type: string } | ||
- { name: name, type: string } | ||
- { name: t, type: timestamp, format: "%Y-%m-%d %H:%M:%S %z"} | ||
- { name: payload, type: json} | ||
stop_on_invalid_record: true | ||
|
||
out: | ||
type: s3_parquet | ||
bucket: my-bucket | ||
path_prefix: path/to/my-obj-2. | ||
file_ext: snappy.parquet | ||
compression_codec: snappy | ||
default_timezone: Asia/Tokyo | ||
canned_acl: bucket-owner-full-control | ||
column_options: | ||
id: | ||
logical_type: "uint64" | ||
type_options: | ||
timestamp: | ||
logical_type: "timestamp-millis" |
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.