Page MenuHomePhabricator

Automatically build GUI when new commit is merged in master
Closed, ResolvedPublic

Description

When new commit is merged in WDQS GUI master branch, the following should happen:

  1. Check out GUI repo (or use existing checkout)
  2. npm install
  3. grunt build
  4. Create a new patch with contents of dist directory against /wikidata/query/gui-deploy repo production branch. The patch should keep the commit message of the original patch, plus have additional line giving ID of the merged commit.
  5. Send this new patch to gerrit for approval.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript

Change 294208 had a related patch set uploaded (by Smalyshev):
Add script for updating production build

https://gerrit.wikimedia.org/r/294208

Change 294208 merged by jenkins-bot:
Add script for updating production build

https://gerrit.wikimedia.org/r/294208

Change 294509 had a related patch set uploaded (by Jonas Kress (WMDE)):
Introduce grunt deploy

https://gerrit.wikimedia.org/r/294509

Change 294509 merged by jenkins-bot:
Introduce grunt deploy

https://gerrit.wikimedia.org/r/294509