CI Variables
The CI Variables feature in Atmosly enables you to define and manage variables dynamically during the build process of your workflows. This functionality is particularly useful for passing sensitive information, environment-specific configurations, or other parameters required during builds.
Accessing CI Variables
To manage CI Variables:
- Navigate to your project's Workflow Details page.
- Locate the CI Variables option at the bottom-left corner of the workflow details interface.

- Managing Variables:
When you open the CI Variables panel, you'll see a table displaying all existing build-time variables. This table includes the following fields:
- Keys: The identifier or name of your variable.
- Value: The current value assigned to your variable.
- Environment Variable Type: Specifies the type of variable, such as Build Time.
- Action: Provides options to edit or delete the build-time variable.
Available Actions for Variables:
You can manage your CI variables through various actions accessible by clicking the three-dot(...) menu at the top of the CI Variables panel:

- Add → Create a new build-time variable.
- Import → Import variables directly from an integrated repository or a .env file.
- Export → Export the current set of variables for external usage or backups.
Adding a New Variable

To add a new variable:
- Click Add from the options menu.
- Enter the following details:
- Variable: Define the name of your variable (e.g., API_KEY).
- Variable Type: Choose the type as "Value."
- Value: Enter the value for your variable.
- Click Create to save the variable. Alternatively, select Create and Add Another if you want to add multiple variables sequentially.
Import Variables:
You have two options to import build-time variables:

From Repository:
- The integrated source repository (e.g., GitHub, GitLab, Bitbucket) associated with your service will be displayed. (This field is not editable.)
- Select the desired branch containing your variables.
- Click Proceed to confirm and import variables

Upload .env File:
- Upload a .env file containing your variable definitions. This file must be present in the root directory of the repository.
- Click Proceed to import variables.

Exporting Variables :
To export your current variables:
- Click the Export option. This will provide a downloadable file containing all defined CI variables for your reference or backup.
Using the CI Variables feature ensures secure, flexible, and streamlined management of your workflow’s build-time configurations, enhancing the overall reliability and security of your CI/CD pipeline.