Jdrewniak has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/393252 )

Change subject: [WIP] Setting portals JJ to commit to portals/deploy
......................................................................

[WIP] Setting portals JJ to commit to portals/deploy

The portals/deploy repo has been created to contain all the build assets
for the wikimedia portals. The jenkins job should commit the build
assets to this repo, which will be used for deployment, instead of the
portals repo, which contains the templates and source.

NOTE: this should not be merged until the `portals/deploy` repo has been
commited to the portals repo as a submodule.

Bug: T180777
Change-Id: Ieabbcf4967572a0a5504286f7a4fd52303a23830
---
M jjb/wikimedia.yaml
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/52/393252/1

diff --git a/jjb/wikimedia.yaml b/jjb/wikimedia.yaml
index 996d631..479bf3e 100644
--- a/jjb/wikimedia.yaml
+++ b/jjb/wikimedia.yaml
@@ -33,11 +33,15 @@
         - npm-install
         - npm-run:
             script: test
+        - shell: |
+            git submodule update --init --remote
         - npm-run:
             script: build-all-portals
         ## now create and publish a gerrit patch
         ## then publish the artifacts to castor?
         - shell: |
+            cd prod
+
             git add -A
 
             # Gerrit commit hook to generate Change-Id automatically
@@ -58,7 +62,7 @@
             echo -ne 'Host gerrit.wikimedia.org\n  StrictHostKeyChecking no\n' 
>> ~/.ssh/config
 
             git push \
-                
ssh://portalsbuil...@gerrit.wikimedia.org:29418/wikimedia/portals.git \
+                
ssh://portalsbuil...@gerrit.wikimedia.org:29418/wikimedia/portals/deploy.git \
                 HEAD:refs/publish/master
     wrappers:
         - ansicolor

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieabbcf4967572a0a5504286f7a4fd52303a23830
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Jdrewniak <jdrewn...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to