-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add instructions on how to align the template version
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,22 @@ | |
|
||
## Building the CLI | ||
|
||
First, build the `googlecloud-to-neo4j` template locally: | ||
First, clone the `googlecloud-to-neo4j` template locally: | ||
|
||
```shell | ||
git clone https://github.com/GoogleCloudPlatform/DataflowTemplates.git | ||
``` | ||
|
||
> **NOTE**: If you want to align with the template version currently deployed in your GCP region, run the following commands after cloning the `DataflowTemplates` repository (here the region is set to `europe-west8`): | ||
> | ||
> ```shell | ||
> tag=$(gsutil ls gs://dataflow-templates-europe-west8/ | grep -v latest | sort -V -r | head -n 1 | cut -d/ -f4) | ||
> git checkout "${tag}" | ||
> ``` | ||
Run the following to locally cache the template: | ||
```shell | ||
git clone [email protected]:GoogleCloudPlatform/DataflowTemplates.git | ||
mvn --file DataflowTemplates/pom.xml --also-make --projects v2/googlecloud-to-neo4j install -DskipTests -Djib.skip | ||
``` | ||
|