FL10: Add Approval & Deployment

Task: Add Approval & Deployment

Create CodeBuild application

Go to CodeBuild and create a new application

Preparation menu

Choose a unique name e.g. MyFioriApp and EC2/On-premises as target

Preparation menu

Create a new deployment group

Preparation menu

Choose a unique name e.g. MyFioriApp

Preparation menu

Make sure to select ‘On-premises instances’ and fill the Tag group (based on the CodeDeploy registration information)

Key: Name
Value: CodeDeployDemo-OnPrem

Preparation menu

Make sure to disable ‘Load Balancing’ and also choose ‘Disable Rollbacks’ in section Advanced. Finish the wizard

Preparation menu

Add Approval Step

Open your pipeline and go to edit mode. Add a new stage below the Build.

Preparation menu

Add a new Action Group & Action “Approve”, make sure to select the proper SNS topic. The result should look as follows:

Preparation menu

Add Deployment Step

Create an additonal Action called Deploy and select AWS CodeDeploy as Action provider.
Choose your CodeDeploy project and deployment group:

Preparation menu

Finish the dialog. The result should look as follows:

Preparation menu

Hit save!

Test

To trigger a new pipeline execution, just hit the Release change button

Now check your pipeline and wait for the approval

Preparation menu

Verify, that the deployment has actually taken place, by looking into the Build logs.

Preparation menu

Make sure to also check your SAP backend either via browser or inside se80:

SAP BSP Application ‘z_sap_fiori_app’

https://<host>:<port>/sap/bc/ui5_ui5/sap/z_sap_fiori_app/index.html

Preparation menu