Set up a labs instance of the WMF CI system. [not in the cards]
Create repos for all the tools. Also for vendor/ subrepos :(
Integrate the civibuild work.
Merge to production and deploy.
The following job will check out repos, run civicrm-buildkit, and phpunit:
https://integration.wikimedia.org/ci/view/WMF/job/wikimedia-fundraising-civicrm/
Status
- Jenkins slave scripts pending review, https://gerrit.wikimedia.org/r/#/c/158554/
- Jenkins job is manually configured to run the slave scripts and tests, but we need to move this into a file-backed Jenkins Job Builder config.
- Precreated db type for amp pending review: https://github.com/totten/amp/pull/18 -- Currently, one db is reused for all three connections, not great, but an acceptable starting point.
- We must circumvent Composer. Repos and submodules are provisioning nicely, and we’re disabling the builtin composer run by setting the $OFFLINE environment var.
https://gerrit.wikimedia.org/r/179366
https://gerrit.wikimedia.org/r/179371
https://gerrit.wikimedia.org/r/179372
https://gerrit.wikimedia.org/r/179373
https://gerrit.wikimedia.org/r/179374
https://gerrit.wikimedia.org/r/179377
https://gerrit.wikimedia.org/r/179378
https://gerrit.wikimedia.org/r/179379
https://gerrit.wikimedia.org/r/179380
https://gerrit.wikimedia.org/r/179381
https://gerrit.wikimedia.org/r/179384
https://gerrit.wikimedia.org/r/179534
https://gerrit.wikimedia.org/r/179535
- May need more code to remove the ~/.amp config at the end of a run, and any other statefulness being stored outside the WORKSPACE directory.
- Would like to improve the nasty symlink workaround for missing --web-root option to buildkit.
- Minor configuration and application-level issues to clean up before the phpunit tests will pass.