Create Custom Workflow Parameters
Custom workflow parameters allow you to define and manage key-value pairs that can be accessed during your software build and deployment process. This ensures that your release pipeline can use specific configurations for different environments, such as staging, production, or custom setups.
Setting Workflow Parameters for Your Build Workflow
Go to the Project Config in your Aviator release project.
In the "Additional workflow parameters", click "ADD" button to define a new workflow parameter.
Enter the key (name of the variable) and the value. Instead of a custom value, you can also select a pre-defined value from the dropdown.
Key: This should be a unique identifier for the variable (e.g., user).
Value: This is the specific configuration or secret (e.g., Aviator).
Setting Workflow Parameters for Your Deploy Workflow
Navigate to the Environment Config for the environment where you'd like to apply custom workflow parameters (e.g., staging or production).
Note: If you haven't created any environment yet, go to your Project Config and click on "Add Environment" to create one.
In the "Additional workflow parameters" section, click the "ADD" button to define the key and value for this environment.
Save the changes to apply the parameters specific to that environment.
Add the Custom Workflow Parameters to your Pipeline
Go to your CI/CD workflow (GitHub Actions in this case).
Add the variables as inputs on workflow dispatch.
Create a job which prints these inputs.
Last updated