Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

Commit 70fc0b9

Browse files
authored
Wait finish (#31)
* Append waitUntilFinish * Modify Makefile * Bump up 0.7.0
1 parent caa7b8c commit 70fc0b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ build-docker-version: check-docker-image-tag package
3333
docker build --rm -t $(DOCKER_REPO):$(DOCKER_IMAGE_TAG) .
3434

3535
test-docker: build-docker
36-
docker run --rm --entrypoint "bash" $(DOCKER_TAG) ./dev/test.sh
36+
docker run --rm --entrypoint "bash" $(DOCKER_IMAGE_TAG) ./dev/test.sh
3737

3838
push-docker: check-docker-image-tag
39-
docker push $(DOCKER_REPO):$(DOCKER_TAG_TAG)
39+
docker push $(DOCKER_REPO):$(DOCKER_IMAGE_TAG)
4040

4141
check-docker-image-tag:
4242
ifndef DOCKER_IMAGE_TAG

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<groupId>com.github.yuiskw</groupId>
2424
<artifactId>bigquery-to-datastore</artifactId>
25-
<version>0.6.1</version>
25+
<version>0.7.0</version>
2626

2727
<packaging>jar</packaging>
2828

src/main/java/com/github/yuiskw/beam/BigQuery2Datastore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static void main(String[] args) {
8989
.apply(reader)
9090
.apply(ParDo.of(fn))
9191
.apply(writer);
92-
pipeline.run();
92+
pipeline.run().waitUntilFinish();
9393
}
9494

9595
/**

0 commit comments

Comments
 (0)