summaryrefslogtreecommitdiff
path: root/scripts/04-dataproc-copy-jar.sh
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-12-27 22:22:35 +0100
committerSanto Cariotti <santo@dcariotti.me>2024-12-27 22:22:35 +0100
commit299f5ab9c38834fc58b2f2a434c1495ac3d1c554 (patch)
tree319dbf5aa7a9d507b985760e860934484002ca4b /scripts/04-dataproc-copy-jar.sh
parentfc35b02c84c94d5965a8317df6312c9a3ececc68 (diff)
Add scripts
Diffstat (limited to 'scripts/04-dataproc-copy-jar.sh')
-rwxr-xr-xscripts/04-dataproc-copy-jar.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/04-dataproc-copy-jar.sh b/scripts/04-dataproc-copy-jar.sh
new file mode 100755
index 0000000..de8795f
--- /dev/null
+++ b/scripts/04-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