All demo sites are built with buildkit (https://github.com/civicrm/civicrm-buildkit).
For example, “d46.demo.civicrm.org” is build with:
ssh www-demo.civicrm.osuosl.org
sudo -u webeditor -H bash
cd /srv/buildkit/
civibuild d46 --url "http://d46.demo.civicrm.org"
Demo sites are rebuilt nightly. The rebuilds are triggered via https://test.civicrm.org/view/Sites/job/demo.civicrm.org/.
If there's been a change to the build scripts in civicrm-buildkit
, then you may need to update by those by hand.
ssh www-demo.civicrm.osuosl.org
sudo -u webeditor -H bash
cd /srv/buildkit/
git pull
./bin/civi-download-tools
Useful when it has been trashed too much and you cannot wait 24 hours.
- navigate to https://test.civicrm.org/view/Sites/job/demo.civicrm.org/ and
- choose “Build with Parameters” and check/uncheck the target sites.
If a rebuild fails, it will usually roll back and restore the old build.
If all demo sites are unresponsive, try a normal apache restart on www-demo.civicrm.osuosl.org
sudo service apache2 restart
Add a new node in Jenkins.
Example:
- Name: www-demo.civicrm.org
- Remote root directory: /home/webeditor/jenkins-node
- Labels: www-demo
- Usage: Only build jobs with label expressions matching this node
- Launch method: Launch slave agents via SSH
- Host: www-demo.civicrm.org
- Credentials: webeditor
- Host Key Verification Strategy: Known hosts file Verification Strategy
- Availability: Keep this agent online as much as possible
Jenkins requires installing the "openjdk-8-jre-headless" package (Debian/Ubuntu).