EBernhardson has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/394117 )
Change subject: Copy spark config into place on deploy
......................................................................
Copy spark config into place on deploy
Putting this configuration into a standard place allows calling spark
commands without having to explicitly point out where mjolnir is
installed to and shortens command lines.
Also bumps mjolnir sub module to master which has support for this
location. Before this can be deployed a puppet patch must be shipped
to create the /etc/mjolnir directory and set its ownership to the
deploy-service so the copy works.
Change-Id: I7c69481156f543a8258a2e9b2c90f8e15984caaa
---
M scap/checks.yaml
M src
2 files changed, 7 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/search/MjoLniR/deploy
refs/changes/17/394117/1
diff --git a/scap/checks.yaml b/scap/checks.yaml
index 411e399..63662bc 100644
--- a/scap/checks.yaml
+++ b/scap/checks.yaml
@@ -11,4 +11,9 @@
timeout: 300
group: analytics
command: bash
/srv/deployment/search/mjolnir/deploy/scap/checks/virtualenv.sh
-
+ spark_config:
+ type: command
+ stage: promote
+ timeout: 10
+ group: analytics
+ command: cp /srv/deployment/search/mjolnir/deploy/spark.yaml
/etc/mjolnir/spark.yaml
diff --git a/src b/src
index 5799ac9..c2236ad 160000
--- a/src
+++ b/src
@@ -1 +1 @@
-Subproject commit 5799ac99ccb095964d6550a9e45ee7abca768b55
+Subproject commit c2236adfd04280feef29b288ffc113355df83fe1
--
To view, visit https://gerrit.wikimedia.org/r/394117
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c69481156f543a8258a2e9b2c90f8e15984caaa
Gerrit-PatchSet: 1
Gerrit-Project: search/MjoLniR/deploy
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits