FL10: Add Approval & Deployment

Task: Add Approval & Deployment

Create CodeBuild application

Go to CodeBuild and create a new application

Node

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

Node

Create a new deployment group

Node

Choose a unique name e.g. MyFioriApp

Node

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

Key: Name
Value: CodeDeployDemo-OnPrem

Node

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

Node

Add Approval Step

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

Node

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

Node

Add Deployment Step

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

Node

Finish the dialog. The result should look as follows:

Node

Hit save!

Test

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

Now check your pipeline and wait for the approval

Node

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

Node

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

Node