summaryrefslogtreecommitdiff
path: root/scripts/02-dataproc-copy-jar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/02-dataproc-copy-jar.sh')
-rwxr-xr-xscripts/02-dataproc-copy-jar.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/02-dataproc-copy-jar.sh b/scripts/02-dataproc-copy-jar.sh
new file mode 100755
index 0000000..de8795f
--- /dev/null
+++ b/scripts/02-dataproc-copy-jar.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ./co-purchase-analysis
+SCALA_VERSION=2.12.10 sbt clean package
+cd -
+
+gcloud storage cp co-purchase-analysis/target/scala-2.12/co-purchase-analysis_2.12-1.0.jar \
+ gs://${BUCKET_NAME}/scala/co-purchase-analysis_2.12-1.0.jar