Ladsgroup has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/336830 )

Change subject: Adds submodule sync to cmd_worker.sh
......................................................................


Adds submodule sync to cmd_worker.sh

Change-Id: I63c5ab8b72a8c65e504b545dbbe0706bdf642c52
---
M scap/cmd_worker.sh
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Ladsgroup: Verified; Looks good to me, approved



diff --git a/scap/cmd_worker.sh b/scap/cmd_worker.sh
index 2037d0d..04163ed 100644
--- a/scap/cmd_worker.sh
+++ b/scap/cmd_worker.sh
@@ -1,5 +1,8 @@
 venv="/srv/deployment/ores/venv"
 deploy_dir="/srv/deployment/ores/deploy"
+cd $deploy_dir
+git submodule sync
+git submodule update --init
 mkdir -p $venv
 virtualenv --python python3 --system-site-packages $venv
 $venv/bin/pip freeze | xargs $venv/bin/pip uninstall -y

-- 
To view, visit https://gerrit.wikimedia.org/r/336830
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I63c5ab8b72a8c65e504b545dbbe0706bdf642c52
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/ores/deploy
Gerrit-Branch: master
Gerrit-Owner: Halfak <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to