mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-24 08:28:12 +00:00
feat(ci): datahub-client - add workflow, fix build (#5052)
This commit is contained in:
parent
d6239f8203
commit
eca310fb05
42
.github/workflows/check-datahub-jars.yml
vendored
Normal file
42
.github/workflows/check-datahub-jars.yml
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
name: Check Datahub Jars
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**.md"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "docker/**"
|
||||
- "docs/**"
|
||||
- "**.md"
|
||||
release:
|
||||
types: [published, edited]
|
||||
|
||||
jobs:
|
||||
|
||||
check_jars:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.6"
|
||||
- name: check datahub-client jar
|
||||
run: |
|
||||
./gradlew :metadata-integration:java:datahub-client:build
|
||||
./gradlew :metadata-integration:java:datahub-client:javadoc
|
||||
- name: check spark-lineage jar
|
||||
run: |
|
||||
./gradlew :metadata-integration:java:spark-lineage:build
|
||||
./gradlew :metadata-integration:java:spark-lineage:javadoc
|
||||
@ -5,7 +5,6 @@ import datahub.event.MetadataChangeProposalWrapper;
|
||||
import datahub.event.UpsertAspectRequest;
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.Future;
|
||||
@ -30,7 +29,6 @@ public interface Emitter extends Closeable {
|
||||
* @param callback if not null, is called from the IO thread. Should be a quick operation.
|
||||
* @return a {@link Future} for callers to inspect the result of the operation or block until one is available
|
||||
* @throws IOException
|
||||
* @throws URISyntaxException
|
||||
*/
|
||||
Future<MetadataWriteResponse> emit(@Nonnull MetadataChangeProposalWrapper mcpw, Callback callback) throws IOException;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user