Full Stack Code
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.
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.
- Eligible Deployment Environments - If your pipeline is a deployment pipeline, you must select to which environments it should deploy.
- Repository - This option defines from which git repo that the pipeline should retrieve the code.
TIP
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.
- Enter the first few characters of the branch name and the auto-complete feature of this field. It helps you find the matching branches that you can select.
-
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.
- Product Functional Testing - Execute product functional tests against the development environment.
- Custom Functional Testing - Execute custom functional tests against the development environment.
- Custom UI Testing - Execute custom UI tests for custom applications.
- Experience Audit - Execute Experience Audit
-
Click Save.
The pipeline is saved and you can now manage your pipelines on the Pipelines card on the Program Overview page.
Targeted deployment
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:
-
Config - Configure settings for various features on your AEM environment.
- See Using Config Pipelines for a list of supported configurations, which includes log forwarding, purge-related maintenance tasks, and various CDN configurations, and to manage them in your repository so they are deployed properly.
- When running a targeted deployment pipeline, configurations will be deployed, provided they are saved to environment, repository, and branch you defined in the pipeline.
- At any time, there can only be one config pipeline per environment.
-
Front End Code - Configure JavaScript and CSS for the front end of your AEM application.
- With front-end pipelines, more independence is given to front-end developers and the development process can be accelerated.
- See the document Developing Sites with the Front-End Pipeline for how this process works along with some considerations to be aware of to get the full potential out of this process.
-
Web Tier Config - Configure dispatcher properties to store, process, and delivery web pages to the client.
- See the document CI/CD Pipelines for more details.
- If a web-tier code pipeline exists for the selected environment, this selection is disabled.
- If you have an existing full-stack pipeline deploying to an environment, creating a web tier config pipeline for the same environment will case the existing web tier configuration in the full-stack pipeline to be ignored.
The steps to complete the creation of your non-production, targeted deployment pipeline are the same once you choose a deployment type.
- Choose which deployment type you require.
-
Define the Eligible Deployment Environments.
- If your pipeline is a deployment pipeline, you must select to which environments it should deploy.
-
Under Source Code, define the following options:
- Repository - This option defines from which git repo that the pipeline should retrieve the code.
TIP
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.
- Enter the first few characters of the branch name and the auto-complete feature of this field. It finds the matching branches that you can select.
- Code Location - This option defines the path in the branch of the selected repo from which the pipeline should retrieve the code.
- Pipeline - For front-end non-production pipelines, you have the option to enable Experience Audit.
-
If you enabled Experience Audit, click Continue to advance to the Experience Audit tab where you can define the paths that should always be included in the Experience Audit.
- If you enabled Experience Audit, see the document Experience Audit for details on how to configure.
- If you did not, skip this step.
-
Click Save to save the pipeline.
The pipeline is saved and you can now manage your pipelines on the Pipelines card on the Program Overview page.