-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* format example files as .ndjson * reference compression in README * support hierarchical rules * example file variable in customer bulk connector examples * fix compile * workflow to CI build of actual deployment bundles * fix action invocation * add checkout again * try to fix invocation * lack of checkout also a problem? * fix path problem? * revert path * inline the action * Specify explicit distribution
- Loading branch information
1 parent
0b2ac5b
commit f6713b6
Showing
24 changed files
with
210 additions
and
61 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
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,39 @@ | ||
name: CI - bundles | ||
|
||
# CI for our project as a GitHub action | ||
# see https://help.github.com/en/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
# refactor to use matrix? | ||
# see https://github.com/actions/setup-java#testing-against-different-java-versions | ||
|
||
on: | ||
push: # mainline + rc's only | ||
branches: | ||
- 'main' | ||
- 'rc-*' | ||
- 's163-gcp-fix-bulk' | ||
|
||
jobs: | ||
bundle: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
implementation: [ 'gcp', 'aws' ] | ||
name: bundle ${{ matrix.implementation }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: zulu | ||
- name: Package Deployment artifact | ||
working-directory: java/ | ||
# see tools/build.sh; this should be equivalent to that, w/o re-routing errors to log file | ||
# or logic to skip build if artifact already exists | ||
run: | | ||
mvn clean -f pom.xml | ||
mvn package install -f "gateway-core/pom.xml" -Dmaven.test.skip=true | ||
mvn package install -f "core/pom.xml" -Dmaven.test.skip=true | ||
mvn package -f "impl/${{ matrix.implementation }}/pom.xml" |
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,30 @@ | ||
fileRules: | ||
/export-{week}/{file}: | ||
fileRules: | ||
users.ndjson.gz: | ||
format: "NDJSON" | ||
transforms: | ||
- pseudonymize: "$.profile.email" | ||
- redact: "$.name" | ||
- redact: "$.real_name" | ||
channels.ndjson.gz: | ||
format: "NDJSON" | ||
transforms: | ||
- redact: "$.name" | ||
dms.ndjson.gz: | ||
format: "NDJSON" | ||
transforms: | ||
- redact: "$.text" | ||
groups.ndjson.gz: | ||
format: "NDJSON" | ||
transforms: | ||
- redact: "$.name" | ||
mpims.ndjson.gz: | ||
format: "NDJSON" | ||
transforms: | ||
- redact: "$.text" | ||
messages-{id}.ndjson.gz: | ||
format: "NDJSON" | ||
transforms: | ||
- redact: "$.text" | ||
- redact: "$.channel_name" |
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
1 change: 1 addition & 0 deletions
1
...slack/example-bulk/original/channels.json → ...ack/example-bulk/original/channels.ndjson
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 +1,2 @@ | ||
{"id":"D06TX2RP0","created":1435454909,"members":["U06FG9AKF","U06TX27FW"]} | ||
{"id":"D06TX2RP1","created":1435454910,"members":["U06FG9AKF","U06TX27FW"]} |
1 change: 1 addition & 0 deletions
1
...ple-bulk/original/messages-D06TX2RP0.json → ...e-bulk/original/messages-D06TX2RP0.ndjson
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 +1,2 @@ | ||
{"client_msg_id":"70299f8c-38ab-4911-835e-f2fe92fea6b6","type":"message","text":"","user":"U06FG9AKF","ts":"1620665890.036300","team":"T06FG94SV","reactions":[{"name":"100","users":["USER_ID"],"count":1}],"channel_id":"D01VATQPMUG","channel_name":"general"} | ||
{"client_msg_id":"70299f8c-38ab-4911-835e-f2fe92fea6b4","type":"message","text":"","user":"U06FG9AAF","ts":"1620665890.036310","team":"T06FG94SV","reactions":[{"name":"100","users":["USER_ID"],"count":1}],"channel_id":"D01VATQPMUG","channel_name":"general"} |
1 change: 1 addition & 0 deletions
1
...es/slack/example-bulk/original/users.json → .../slack/example-bulk/original/users.ndjson
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 +1,2 @@ | ||
{"id":"U999999999","team_id":"TEAM_ID","profile":{"email":"[email protected]"}, "is_bot":false} | ||
{"id":"U999999998","team_id":"TEAM_ID","profile":{"email":"[email protected]"}, "is_bot":false} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"id":"D06TX2RP0","created":1435454909,"members":["U06FG9AKF","U06TX27FW"]} | ||
{"id":"D06TX2RP1","created":1435454910,"members":["U06FG9AKF","U06TX27FW"]} |
19 changes: 0 additions & 19 deletions
19
docs/sources/slack/example-bulk/sanitized/messages-D06TX2RP0.json
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
docs/sources/slack/example-bulk/sanitized/messages-D06TX2RP0.ndjson
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,2 @@ | ||
{"client_msg_id":"70299f8c-38ab-4911-835e-f2fe92fea6b6","type":"message","text":null,"user":"U06FG9AKF","ts":"1620665890.036300","team":"T06FG94SV","reactions":[{"name":"100","users":["USER_ID"],"count":1}],"channel_id":"D01VATQPMUG","channel_name":null} | ||
{"client_msg_id":"70299f8c-38ab-4911-835e-f2fe92fea6b4","type":"message","text":null,"user":"U06FG9AAF","ts":"1620665890.036310","team":"T06FG94SV","reactions":[{"name":"100","users":["USER_ID"],"count":1}],"channel_id":"D01VATQPMUG","channel_name":null} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"id":"U999999999","team_id":"TEAM_ID","profile":{"email":"[email protected]"},"is_bot":false} | ||
{"id":"U999999998","team_id":"TEAM_ID","profile":{"email":"[email protected]"},"is_bot":false} |
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.