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

Commit

Permalink
Wait finish (#31)
Browse files Browse the repository at this point in the history
* Append waitUntilFinish

* Modify Makefile

* Bump up 0.7.0
  • Loading branch information
yu-iskw authored Dec 30, 2019
1 parent caa7b8c commit 70fc0b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ build-docker-version: check-docker-image-tag package
docker build --rm -t $(DOCKER_REPO):$(DOCKER_IMAGE_TAG) .

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

push-docker: check-docker-image-tag
docker push $(DOCKER_REPO):$(DOCKER_TAG_TAG)
docker push $(DOCKER_REPO):$(DOCKER_IMAGE_TAG)

check-docker-image-tag:
ifndef DOCKER_IMAGE_TAG
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>com.github.yuiskw</groupId>
<artifactId>bigquery-to-datastore</artifactId>
<version>0.6.1</version>
<version>0.7.0</version>

<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static void main(String[] args) {
.apply(reader)
.apply(ParDo.of(fn))
.apply(writer);
pipeline.run();
pipeline.run().waitUntilFinish();
}

/**
Expand Down

0 comments on commit 70fc0b9

Please sign in to comment.