Information for: DEVELOPERS   PARTNERS   SUPPORT

Code Studio

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.

Code Studio comes with pre-built automation to support low-configuration, continuous integration, and continuous delivery of Drupal 8 or 9 projects to applications hosted on Cloud Platform. 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.

Use the information in these documentation pages to begin building, testing, and deploying to Cloud Platform with Code Studio.

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 (coming soon)
  • Automatic (scheduled) updates that update your Composer packages and deprecated code.

Understanding how Code Studio interacts with Cloud Platform

During project configuration of Code Studio, you set up a connection between Code Studio and Cloud Platform with API keys. With a Cloud API key and secret defined as CI/CD environment variables, your Code Studio project can connect to Acquia CLI. This is the tool used for communicating with your Cloud Platform application. With Acquia CLI, the Code Studio DevOps pipeline can perform tasks such as:

  • Installing Drupal with your Cloud Platform application’s database
  • Creating a CDE to verify codebase changes
  • Deploying and pushing artifacts from Code Studio to Cloud Platform

Code Studio is integrated with the Cloud Platform user interface and API, and elements of Code Studio are surfaced through the user interface. These elements include:

  • Your Code Studio entitlement information including total number of Code Studio user seats and subscription duration
  • Ability to assign, remove, and reassign Code Studio seats to users belonging to your Cloud Platform subscription
  • Ability to provision projects for your Cloud Platform hosted applications
  • Links on your environment card to the corresponding branch in your Code Studio project