Learn how to configure non-production pipelines to test the quality of your code before deploying to production environments.
A user must have the Deployment Manager role to configure non-production pipelines.
In addition to production pipelines which deploys to stagings and production environments, you can also set up non-production pipelines to validate your code.
There are two types of non-production pipelines:
You can edit pipeline settings after the initial setup.
Once you have set up your program and have at least one environment using the Cloud Manager UI, you are ready to add a non-production pipeline by following these steps.
Log into Cloud Manager at my.cloudmanager.adobe.com and select the appropriate organization and program.
Access the Pipelines card from the Cloud Manager home screen. Click +Add and select Add Non-Production Pipeline.
On the Configuration tab of the Add Non-Production Pipeline dialog, select the type of non-production pipeline you with to add.
Provide a Non-Production Pipeline Name to identify your pipeline along with the following additional information.
Deployment Trigger - You have the following options when defining the deployment triggers to start the pipeline.
If you choose to create a Deployment Pipeline, you must also define the Important Metric Failures Behavior.
Click Continue.
On the Source Code tab of the Add Non-Production Pipeline dialog, you must select which type of code the pipeline should process.
See CI/CD Pipelines for more information about the types of pipelines.
The steps to complete the creation of your non-production pipeline vary depending on the type of source code you selected. Follow the links above to jump to the next section of this document so you can complete the configuration of your pipeline.
A full-stack code pipeline simultaneously deploys back-end and front-end code builds containing one or more AEM server applications along with HTTPD/Dispatcher configuration.
If a full-stack code pipeline exists for the selected environment, this selection is disabled.
To finish the configuration of the full-stack code non-production pipeline, follow these steps.
On the Source Code tab, you must define the following options.
See Adding and Managing Repositories so you can learn how to add and manage repositories in Cloud Manager.
Git Branch - This option defines from which branch in the selected pipeline should retrieve the code.
Ignore Web Tier Configuration - When checked, the pipeline does not deploy your web tier configuration.
Pipeline - If your pipeline is a deployment pipeline, you can choose to run a testing phase. Check the options that you want to enable in this phase. If none of the options are selected, the testing phase is not displayed during the pipeline’s run.
Click Save.
The pipeline is saved and you can now manage your pipelines on the Pipelines card on the Program Overview page.
A targeted deployment deploys code only for selected parts of your AEM application. In such a deployment you can choose to Include one of the following types of code:
The steps to complete the creation of your non-production, targeted deployment pipeline are the same once you choose a deployment type.
Define the Eligible Deployment Environments.
Under Source Code, define the following options:
See Adding and Managing Repositories so you can learn how to add and manage repositories in Cloud Manager.
Click Save.
The pipeline is saved and you can now manage your pipelines on the Pipelines card on the Program Overview page.
When running a targeted deployment pipeline, configurations such as WAF configurations will be deployed, provided they are saved to environment, repository, and branch you defined in the pipeline.
If you want Dispatcher packages built as part of your pipeline, but do not want them published to build storage, you can disable publishing them, which may reduce pipeline run duration.
The following configuration to disable publishing Dispatcher packages must be added via your project pom.xml
file. It is based on an environment variable, which serves as a flag you can set in the Cloud Manager build container to define when Dispatcher packages should be ignored.
<profile>
<id>only-include-dispatcher-when-it-isnt-ignored</id>
<activation>
<property>
<name>env.IGNORE_DISPATCHER_PACKAGES</name>
<value>!true</value>
</property>
</activation>
<modules>
<module>dispatcher</module>
</modules>
</profile>