Code Studio

Overview

Acquia has partnered with GitLab to offer Code Studio, a complete DevOps platform integrated with Cloud Platform that is optimized for Drupal development. Acquia hosts and manages Code Studio (GitLab) within Cloud Platform on our Next generation infrastructure.

For applications hosted on Cloud Platform, Code Studio provides pre-built automation to support low-configuration, continuous integration, and continuous delivery of projects built on the current Drupal version. You can extend and customize the default pipeline configuration based on your needs.

Code Studio is fully supported by Acquia. For more information, see Support Users Guide.

Requirements

The following are the requirements for using Code Studio:

Prerequisites

The following are the required skills for using Code Studio:

  • Basic knowledge of the command line:
    • For example, changing directories, using drush, and so on.
    • Using git on the CLI. For more information, see git basics.
  • Understanding of how to build and install Drupal.
  • Knowledge of DevOps processes and CI/CD.
  • Familiarity with Cloud Platform or Site Factory.

Key features of Code Studio

  • Access to Code Studio:
    • Code management through Git with a best in-class UI supporting branches, merge requests, issue queues, and more
    • Project management boards featuring ticket creation, kanban boards, and seamless integration with repository activity, such as merge requests and comments
  • A managed CI configuration pipeline where you do not need to configure yaml files to build and deploy, unless customization is required. The default Code Studio pipeline performs the following:
    • Build
      • Install dependencies through Composer
      • Set up database service
    • Test
      • Code validation
      • Automatic execution of automated tests
    • Deploy
      • Automatic deployment to Cloud Platform
      • Creation and deletion of CDE (a temporary environment) on merge requests
  • Automatic (scheduled) updates that update your Composer packages and deprecated code.

Code Studio architecture

Code Studio connects to Acquia’s hosting platforms and supports multiple Acquia products, including Cloud Platform and Site Factory.

When configuring a Code Studio project, you set up a connection between Code Studio and Cloud Platform with API keys. The Code Studio project uses Acquia CLI to connect to Cloud Platform with the Cloud API key and a secret defined as a CI/CD environment variable.

The Code Studio DevOps pipeline performs the following tasks through Acquia CLI:

  • Sets up Drupal with your Cloud Platform application’s database
  • Creates a Cloud Platform CD to verify code changes
  • Deploys and pushes artifacts from Code Studio to the hosting git repository

Code Studio is integrated with the Cloud Platform user interface and API. The Cloud Platform user interface includes the following entitlement details and functionality for Code Studio: