Skip to content

Global CMS updates, reviewed and ready to deploy

Every update from the Global CMS team becomes a pull request with visual tests and an environment of its own to review in. Approve it, and it goes out to Pantheon.

The challenge

The group's Global CMS team develops the platform the brand sites build on and ships updates to them. Every site has its own code on top.

Taking in an update by hand means fetching it, resolving what conflicts, checking that nothing broke and deploying, site by site. Updates easily end up waiting.

Our role

We built the flow from upstream release to production: the CI/CD automation, the visual regression tests, the Multidev environments and the deploys to Pantheon. The updates themselves come from the Global CMS team.

Stack
  • GitHub Actions
  • Pantheon
  • Pantheon Multidev
  • WordPress
  • Bedrock

From upstream release to Pantheon

A new release starts the flow. The changes land in a pull request and an environment of their own, are tested visually and wait for an approval before they go out.

  1. Upstream

    The Global CMS team publishes a new version of the platform.

    • Global CMS: New release
  2. CI/CD

    The automation picks up the update and opens a pull request that adopts the changes in the site's code.

    • CI/CD: Picks up the update
    • Pull request: Adopts the changes
  3. Test

    A Multidev environment on Pantheon is built with the changes, and visual regression tests compare the pages with how they look today.

    • Multidev: Its own environment
    • Visual tests: Before and after
  4. Review

    The team goes through the change in the Multidev environment, sees the test results and approves.

    • Review: The team approves
  5. Production

    The approved update deploys to Pantheon in the same flow.

    • Pantheon: Production

What we built

  1. Picked up on its own

    When the Global CMS team releases an update, CI/CD picks it up. No one has to keep an eye out for the next release.

  2. A pull request with the changes

    The update arrives as a pull request against the site's code, with the whole change visible line by line.

  3. Visual regression tests

    Pages are compared screenshot by screenshot with how they look today. Differences show up in the review instead of being found by a visitor.

  4. A Multidev environment per update

    Every update gets an environment of its own on Pantheon, so it can be reviewed on a real site.

  5. Approve and deploy

    Once approved, the update goes on to Pantheon in the same flow.

Where it stands

  • Every update from the Global CMS team arrives as a pull request, with visual test results and an environment of its own to review in.
  • Whoever approves sees the change on a real site before it goes out.
  • The deploy to Pantheon is a step in the same flow.