Site Audit 4: Track your Drupal sites into the 4th Dimension - Stanford WebCamp

Date
12 May 23
Tags

The Site Audit module is a classic. It will reach 10 years old this June. It gives you a detailed report of your Drupal site in the web admin, providing a nice pass-fail display for review. It has a drush command that renders the report in HTML, text, or vulcan.

The next version of Site Audit can now not only display reports, but can save them over time, and send them to remote servers. A "Site Audit Server" module is now available to receive the reports via simple REST API.

This means you can:

  1. Store site audit reports in sites themselves to view changes over time.
  2. Add fields to enhance reports.
  3. Save site audit reports on cron.
  4. Create a central drupal site for storing site audit reports from other sites.
  5. Send site audit reports via REST to the Site Audit Server. Receive custom data and do stuff with it.
  6. Send site audit reports via REST on Cron.

Vardot & ThinkDrop are using this architecture to build a "Drupal Support Dashboard" that can track all the sites we are responsible for, and give us feedback if the sites are in compliance and functioning.

This session will give a full tour of the features, a live code session for creating a Report and Checks, and we will create a simple Site Audit dashboard during the session.

Site Audit 4: Track your Drupal sites into the 4th Dimension - DrupalCamp NJ

Date
17 Mar 23
Tags

The Site Audit module is a classic. It will reach 10 years old this June. It gives you a detailed report of your Drupal site in the web admin, providing a nice pass-fail display for review. It has a drush command that renders the report in HTML, text, or vulcan.

The next version of Site Audit can now not only display reports, but can save them over time, and send them to remote servers. A "Site Audit Server" module is now available to receive the reports via simple REST API.

This means you can:

  1. Store site audit reports in sites themselves to view changes over time.
  2. Add fields to enhance reports.
  3. Save site audit reports on cron.
  4. Create a central drupal site for storing site audit reports from other sites.
  5. Send site audit reports via REST to the Site Audit Server. Receive custom data and do stuff with it.
  6. Send site audit reports via REST on Cron.

Vardot & ThinkDrop are using this architecture to build a "Drupal Support Dashboard" that can track all the sites we are responsible for, and give us feedback if the sites are in compliance and functioning.

This session will give a full tour of the features, a live code session for creating a Report and Checks, and we will create a simple Site Audit dashboard during the session.

Image removed.

Who Should Attend

  • Back-end Developers
  • Decision Makers
  • Project Managers
  • Site Builders
  • Sys Admins

Prerequisites

  • An interest in the health of a Drupal site.
  • Some very basic PHP coding will be done.

Recoupled Drupal for VA.gov

Date
22 Jul 20

The Department of Veterans Affairs serves 18.2 million veterans with benefits and healthcare. The VA.gov website is a mission-critical tool in getting veterans access to healthcare. 

In 2015, VA.gov was redesigned into a mobile-friendly, statically generated website, powered by Metalsmith. 3 years later, Drupal 8 was introduced as "Content API" for the front-end site, utilizing GraphQL.

This session will be a panel of select members from the team who built this site and the infrastructure it runs on. We will tell the story of the project, and touch on as many of these topics as possible in the time allotted.

  1. Content, Design, and CMS UX Initiative.
  2. Decoupled Drupal DevOps
  3. Running Drupal in the VA Enterprise Cloud
  4. VA’s commitment to Open Source

Cloud Management with Drupal and Ansible - DrupalGovCon

Date
25 Jul 19
Tags

The Aegir Hosting System has been used for hosting thousands of Drupal sites for over 11 years, using Drupal as a web interface for managing your servers and sites.

In classic Aegir 3.x and earlier, you still need root shell access to install and configure a few things before Aegir can work.

in 2016 I set out to solve this by creating server configuration tools in Ansible and integrating with Cloud server providers like DigitalOcean, Packet, and SoftLayer.

The result was the Aegir Cloud and Aegir Ansible modules.

Now with a single form from node/add/server, you can:

  1. Create a cloud server instance with your choice of data center, OS, memory, etc. and automatically authorizing the Aegir user's SSH key. 
  2. Select the services you want installed, like Apache or MySQL preconfigured to work with Aegir.
  3. Add custom Ansible playbooks to each server.
  4. Add custom Ansible variables as YML into a simple text field. 
  5. Automatically discover the server's IP address and set DNS records for the server's hostname.
  6. Wait for SSH access via root.
  7. Run the chosen Ansible playbooks with the generated and manually entered Ansible variables.
  8. Get a Red or Green or Orange result if any of those steps failed.

Come to this session to see how we are using this combination of totally free and open source tools to power our platform-as-a-service, devshop.cloud, where we create and destroy DevShop servers on the fly.

 

Slides available: https://docs.google.com/presentation/d/1JYtG7KPoJF4IipIb8j2YBS9Gtupgkrrh0rj4qBxn4Zs/edit#slide=id.p

Easy Automated Testing with Pull Request Environments on your own servers with DevShop - Drupaldelphia 2019

DevShop is an open-source Drupal hosting platform that can be used for production, development and testing environments. 

Powered by a Drupal web interface, simply enter your websites source code, name your environments, pick your branches, and start running Behat tests on every git push.

DevShop allows you to setup automated Behat testing without writing any scripts, creating any YAML files, or learning about Jenkins or Docker. 

Easily launch new environments for every pull request or every branch of your git repository.

Come to this session to get a hands-on walkthough of setting up a Drupal site from scratch for automated Behat testing.

Aegir, Ansible, & Cloud APIs: How we use Drupal to automate our entire Platform-as-a-Service

Date
10 May 19

The Aegir Hosting System has been used for hosting thousands of Drupal sites for over 11 years, using Drupal as a web interface for managing your servers and sites.

In classic Aegir 3.x and earlier, you still need root shell access to install and configure a few things before Aegir can work.

in 2016 I set out to solve this by creating server configuration tools in Ansible and integrating with Cloud server providers like DigitalOcean, Packet, and SoftLayer.

The result was the Aegir Cloud and Aegir Ansible modules.

Now with a single form from node/add/server, you can:

  1. Create a cloud server instance with your choice of data center, OS, memory, etc. and automatically authorizing the Aegir user's SSH key. 
  2. Select the services you want installed, like Apache or MySQL preconfigured to work with Aegir.
  3. Add custom Ansible playbooks to each server.
  4. Add custom Ansible variables as YML into a simple text field. 
  5. Automatically discover the server's IP address and set DNS records for the server's hostname.
  6. Wait for SSH access via root.
  7. Run the chosen Ansible playbooks with the generated and manually entered Ansible variables.
  8. Get a Red or Green or Orange result if any of those steps failed.

Come to this session to see how we are using this combination of totally free and open source tools to power our platform-as-a-service, devshop.cloud, where we create and destroy DevShop servers on the fly.

Test Driven Development in Real Life - Florida DrupalCamp 2019

This session will

  1. Talk about the benefits and risks of using Behat Tests in your day to day Drupal development practices.
  2. Walk through setting up Behat Tests, from scratch, as a live demo. A breakdown of how to really get started
  3. What it means to embrace true Test Driven Development.
  4. Examples of thorough test suites for complex web applications built in Drupal.
  5. Demonstration of the new DevShop Behat Extension which simplifies setup and adds helpful steps, and the DevShop Composer Template which includes it for a working, testable, composer based Drupal build out of the box.
  6. How to create Pull-Request generated environments and run Behat tests automatically using open source DevShop.

A variations of this session was given at Cornell DrupalCamp, it can be watched here: https://camp.drupal.cornell.edu/sessions/get-behat-tests-bandwagon 

Host Your Own Pull Request Environments with Automated Behat Testing - New England Drupal Camp

Host Your Own Pull Request Environments with Automated Behat Testing

Do you host your own Drupal?

Do you wish you could have that great git-push-deploy workflow provided by so many hosted solutions, but on your own servers?

Wish no more! 

With Open Source DevShop, you can use any linux server to host, test, and develop your Drupal sites.

DevShop installs in minutes, with no special script writing or configuration required. 

In this session, we will demonstrate Automated Pull-Request-Environments with Behat testing, completing and deploying a new feature of our website LIVE in session!

See https://devshop.support for more information.

Frequently Asked Questions:

How does it work?

DevShop is just a Drupal site that manages a basic LAMP stack. All of the logic and all of the service to make it work are self-contained in the Drupal code. This makes it quite easy to understand. If you know PHP and Drupal, you can learn DevShop. There are optional modules for Docker, but it's not necessary. DevShop runs on a single server. 

Is this a hosted service?

No. DevShop is 100% open source. We do not provide hosting services directly. However, if you run your own server, you can sign up for DevShop.Support if you ever need help or SLA-level hosting service.

Is this used in production?

Yes. DevShop was originally created as an extension of Aegir in February of 2012. It was used in production as soon as it was created.

Audience Level

Beginner

Topic

DevOps

Provision 4.x: Developer Sneak Peak - Drupal NYC

Date
3 Jan 18
Tags

Aegir's back-end is getting an overhaul after 10 years of service. We're developing a brand new Symfony console based CLI for all of your website management needs: Provision 4.x.

With the power of Symfony console we've completely re-written Provision to be as easy and clear as possible, and flexible enough to work anywhere: cloud or workstation.

Can this new CLI become the defacto dev-test-production website management tool? Is it wrong to write DevOps tools in PHP? Can we keep Aegir going for another 10 years? 

 

Hassle-free Hosting and Testing with DevShop & Behat - DrupalCon Barcelona 2015

Devshop is a fully open source product for hosting and testing Drupal sites.

It can be used on its own or as a multi environment add on to Acquia Cloud or Pantheon.

In this session we'll show you how to get your Drupal sites up and running quickly and easily, and how to start testing your work with Behat in minutes.

It integrates directly with GitHub pull requests, giving you a fresh environment for each one. Get instant feedback on your deployments and test results right in the GitHub interface.

DevShop makes web development easier for everyone, removing the need for complex setup or maintenance.

See http://getdevshop.com and http://github.com/opendevshop/devshop for more information. 

 

Slides: https://docs.google.com/presentation/d/19_ZBKwJ9TM30JCkw3sALjttthzD4wG9vZREllFP71iE/edit?usp=sharing