-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
55 lines (50 loc) · 2.56 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
spec_docs:
generate-schema-doc --config-file conf/json_schema_for_humans.json source-debezium/app/src/main/resources/ docs/specs/
generate-schema-doc --config-file conf/json_schema_for_humans.json sink-jdbc/app/src/main/resources/ docs/specs/
generate-schema-doc --config-file conf/json_schema_for_humans.json sink-mongodb/app/src/main/resources/spec.json docs/specs/sink_mongodb_spec.md
generate-schema-doc --config-file conf/json_schema_for_humans.json sink-blackhole/app/src/main/resources/spec.json docs/specs/sink_blackhole_spec.md
generate-schema-doc --config-file conf/json_schema_for_humans.json sink-las/app/src/main/resources/spec.json docs/specs/sink_las_spec.md
generate-schema-doc --config-file conf/json_schema_for_humans.json sink-elasticsearch/app/src/main/resources/spec.json docs/specs/sink_elasticsearch_spec.md
generate-schema-doc --config-file conf/json_schema_for_humans.json source-generator/app/src/main/resources/spec.json docs/specs/source_generator_spec.md
build_images:
(cd java-toolkit && ./gradlew publishToMavenLocal -PdisableSigning --info)
(cd source-debezium && ./gradlew buildImages)
(cd sink-jdbc && ./gradlew buildImages)
(cd sink-mongodb && ./gradlew buildImages)
(cd sink-blackhole && ./gradlew buildImages)
(cd sink-las && ./gradlew buildImages)
(cd source-generator && ./gradlew buildImages)
(cd sink-elasticsearch && ./gradlew buildImages)
build_images_for_ci:
(cd java-toolkit && ./gradlew publishToMavenLocal -PdisableSigning --info --refresh-dependencies)
(cd source-debezium && ./gradlew buildImages)
(cd sink-jdbc && ./gradlew buildImages)
(cd sink-mongodb && ./gradlew buildImages)
(cd sink-blackhole && ./gradlew buildImages)
(cd sink-las && ./gradlew buildImages)
(cd source-generator && ./gradlew buildImages)
(cd sink-elasticsearch && ./gradlew buildImages)
pull_images:
docker pull hstreamdb/hstream
docker pull mcr.microsoft.com/mssql/server:2022-latest
docker pull mysql
docker pull postgres
pull_connector_images:
docker pull hstreamdb/source-mysql
docker pull hstreamdb/source-postgresql
docker pull hstreamdb/source-sqlserver
docker pull hstreamdb/source-mongodb
docker pull hstreamdb/sink-mysql
docker pull hstreamdb/sink-postgresql
docker pull hstreamdb/sink-mongodb
docker pull hstreamdb/sink-blackhole
docker pull hstreamdb/sink-las
docker pull hstreamdb/source-generator
docker pull hstreamdb/sink-elasticsearch
test:
( \
cd integration_tests && \
export HSTREAM_IMAGE_NAME=hstreamdb/hstream && \
export HSTREAM_IO_USE_DEFAULT_IMAGES=true && \
./gradlew test --rerun-tasks --info --fail-fast \
)