Still rocking @acquia and #drupalcamplondon gear after a good workout! - I miss you all! #Acquia @drupal #drupalcamp #drupalcamplondon #cms #webcms #London #reading #boston #cityuniversity (at Gymbox Westfield Stratford City) https://www.instagram.com/p/CVGA6CqMUFE/?utm_medium=tumblr
If you’ve clicked on this article, you are probably acquainted with Drupal and are thinking about attending DrupalCamps, Cons and a lot of other similar events. At AnyforSoft, Drupal is like a household pet, dearly loved by each member of our team, so organizing and attending such events gives us a chance to share this love with others.
Drupal Means Business était un événement organisé à MediaCity, à Salford, pour présenter aux membres du monde des affaires des logiciels open source et pour présenter des histoires de réussite du Royaume-Uni.
Drupal est une plate-forme de gestion de contenu open source alimentant des millions de sites Web et d'applications. Il a été conçu, utilisé et soutenu par une communauté active et…
Drupal, Jenkins & testing - automating every phing
Introduction
This is a guide for setting up a Jenkins server on Ubuntu for the purposes of automating a Drupal 7 install and automated test process.
All commands assume you’re running Ubuntu 14.04 as root user (unless otherwise specified).
This was primarily put together to accompany a talk at Drupalcamp Brighton 2015.
Requirements:
Publicly accessible server
(We'll use a digital ocean 1GB/1CPU droplet as it's super quick to setup!)
1GB+ RAM
a publicly accesible domain name (for testing)
Prepare the server
The are a number of standard security measures you should take when setting up any publicly accessible server which is beyond the scope of this demo. For more details see: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
Whilst we’ll be managing most of our dependencies through composer rather than pear there’s at least one package that doesn’t play nicely with composer:
pear install HTTP_Request2
Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
To test composer is sucessfully installed run:
composer
Configure Jenkins
Jenkins is installed on port 8080 by default and will be installed with no security parameters by default - there are several ways to secure a jenkins instance instructsion for which are covered in detail here: https://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins
Visit your jenkins instance http://{SERVER_IP}:8080
Install the follwing plugins at http://{SERVER_IP}:8080/manage
Phing, PHP Plugin, Github plugin
Restart Jenkins Ensure WORKSPACE/bin is on jenkins user path
configure Environment variables at http://{SERVER_IP}:8080/configure - tick environment variables
name: PATH
value: $WORKSPACE/bin:$PATH
Ordering is important as first entries are executed first.
Tell Jenkins where Phing will be
Configure phing installations at http://{SERVER_IP}:8080/configure - click Phing Installations
Phing Home: $WORKSPACE/vendor/phing/phing
Create a new job called “drupal-template” - load config from template (https://github.com/miggle/Migl-Phing-Drupal/tree/master/drupal-template)
Review the output of the above and restart if all look good!
service apache2 restart
Run another build in Jenkins and review the results
Now when you run a build you should see the results of the tests start coming in!
Now's your chance to start a fresh and get altering the code for your purposes.
Have fun!
Strona drugiego w tym roku DrupalCampa we Wrocławiu (jeszcze brak na stronie gdzie dokładnie) została uruchomiona, można już zgłaszać sesje, można się już rejestrować i tym samym wzbogacić listę uczestników, można już także pobrać ofertę sponsorską. Można także zapisać się na newsletter.