A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
mainacli cs:wizard --gitlab-host-name=code.acquia.com"base" Could not change HEAD: branch 'main' does not exist.Add or update CI/CD variables
For instructions to add or update CI/CD variables, visit Using environment variables.
You must add the following CI/CD variables:
ACQUIA_APPLICATION_UUID: Specify the UUID of the application.
ACQUIA_CLOUD_API_TOKEN_KEY and ACQUIA_CLOUD_API_TOKEN_SECRET: Specify the Cloud API key and secret.
ACQUIA_GLAB_TOKEN_NAME: Set the value to acquia-codestudio.
ACQUIA_GLAB_TOKEN_SECRET: To create this token, complete the following steps:
Select Settings > Access token.
Add a new token.
Name the token acquia-codestudio.
Set the Expiration date.
Select Maintainer as the role.
In Selected Scopes, select the api and write_repository checkboxes.
PHP_VERSION and MYSQL_VERSION: Specify the PHP and MySQL versions.
You must add secrets as Masked or Masked and hidden. You must enable the protected variable checkbox only for variables required for protected branches or tags.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Click Create personal access token.
Code Studio creates your new personal access token and displays it on the screen.
Important
You must save your personal access token as you cannot access it again.
Create and/or configure a Code Studio project for your Cloud Platform application with the following commands:
acli update
acli cs:wizard --gitlab-host-name=code.acquia.com When you create a project, the system prompts you to select the project type. This prompt appears only if your account has at least one codebase. You may choose to create one of the following:
Before you run the acli cs:wizard --gitlab-host-name=code.acquia.com command, ensure that the assigned user role in Acquia Cloud has the following permissions:
a. Pull and deploy code, files, or databases to non-production environments.
b. Add SSH key to git repository.
c. Add SSH key to non-production environments.
d. Add a CD environment.
e. Delete a CD environment.
f. Manage environment variables on a non-production environment.
Refer to the Acquia Cloud documentation for the steps to create, view, assign, edit, or delete role permissions.
The ACLI command walks you through the following process:
When the setup wizard prompts for the token key and secret, paste the the API key and API secret that you noted while generating the token.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
PHP_VERSIONMYSQL_VERSION