Loading...

Managing Codebases

Codebase architecture

A codebase in Multi-Experience Operations serves as the foundation to run multiple digital experiences. The architecture is designed to provide both flexibility and control to manage your applications. With the centralized repository structure, you can maintain a single source of truth for your code and support multiple experiences. This approach significantly reduces maintenance overhead and ensures consistency across your digital properties.

Viewing a codebase

To view a codebase:

  1. Sign in to the Cloud Platform user interface.
  2. Go to Codebases.
    The system displays all available codebases.

  3. Choose a codebase to view its details.
    The system displays the code details page.

Code details page

The code details page has the following fields and action items:

FieldDescription
UUIDIs a unique identifier for the codebase.
GIT URLDisplays the URL of the Git repository that the codebase uses.
Applications sharing this CodebaseDisplays the number of applications that use the same codebase.
Actions > View Git InformationDisplays standard Git commands to clone, stage, commit, and push a repository.

In addition, the code details page displays the following tabs:


Use this tab to learn about the following:

  • Detailed information about all the applications that use the codebase.
  • PHP version used by the application.
  • Various environments associated with the application.

In addition, you can:

  • Filter applications.
  • Add tags to applications.
  • Deploy code in bulk to multiple environments within your applications.

Deploying code in bulk

With Multi-Experience Operations, you can deploy your code from a specific branch or tag to one or more environments. These environments can belong to one or more application. For example, you can deploy the same codebase to the following:

  • Dev environment in application A
  • Stage and production environments in application B

This assumes that you have access to these applications that use the same codebase.

To deploy code in bulk:

  1. Sign in to the Cloud Platform user interface.
  2. Go to Codebases.
    The system displays all available codebases.
  3. Select a specific codebase that is associated with applications whose code you want to switch.
  4. In Applications, click Switch Code.

  5. Select a new tag or branch that you want to push to the environments in the applications.
  6. Select environments in applications where you want to push the new tag or branch code. If you have access to multiple environments, you can search and locate the environments where you want to deploy code.
  7. Click Deploy.
    The system displays a confirmation window.
  8. Click Deploy.
    The system redirects you to the Deployments tab where you can view the task logs for all the deployments done for that codebase.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation