Build, test, and deploy PHP applications with GitHub Actions

I learned about GitHub Actions when it was released last year, although didn't investigate further as I'd already configured my hobby project CI/CD pipelines using Travis CI to a satisfactory standard. While everything generally worked really well, I found myself running up against some obscure issue with Travis that…

Using Toran Proxy to speed up Drupal builds

Over the last couple of days an internal thread has been making the rounds at Acquia about speeding up Composer for Drupal builds. With Drupal 8, Lightning and the BLT project making heavy use of Composer to manage its dependencies, users frequently rebuilding from source, or those in remote regions…

Migrating into multisite

Quite often in my role as a Solutions Architect at Acquia, I'll see customers looking to bring sites under the multisite banner in order to enact a more controlled code governance model. Amalgamating codebases allows for a more controlled site development experience where 50 different sites can be thought of…

Verifying SSL certificates with drupal_http_request

Recently I was posed with the question about verifying self-signed SSL certificates with drupal_http_request(). The usecase here would be to use private APIs to surface information, secured with SSL, yet using an internally created certificate. By default, drupal_http_request() does not verify the SSL certificate of sites…

Playing with augeas for fun and profit

Contrary to what Wikipedia says, the Augeas I'm using isn't at all related to the 5th labour of Hercules. Rather, it's a configuration editing tool and Puppet resource type used primarily to alter and control config files. After recently adding control of /root/.my.cnf to the manifests managing all…

Drupal Distributions: Speeding up site deployment

Last Thursday I presented Drupal Distributions: Speeding up site deployment for the DrupalACT March meet up. A new lunchtime format allowed for a different audience to attend and I'm grateful to those who took the time out of their work day to show their support! The format of the presentation…

Drupal subsites made simple

The short story Rather than trawling through my digressions I'll place the steps for setting up Drupal sub sites at the top of the post. I will demonstrate how I made http://typhonius.com a sub site of http://adammalone.net Point the DNS at the IP of the server.…

Migrating from multisite to singlesite.

In this blog post I detailed how easy it was to create subsites in Drupal. Subsites have the  benefit of sharing the same codebase so the filesize and memory footprint on the server is much lower. But what happens when, for whatever reason, you want to move that site away…