SAP Cloud Platform Continuous Integration and Delivery (CI/CD)

0
1567

Dear SAPLearners, in this blog post we will learn about SAP Cloud Platform Continuous Integration and Delivery service which is released newly.

What is CI/CD?

CI – Continuous integration, which is an automation process to check-in the code to source code version control repository like GitHub.

CD – Continuous Delivery/Deployment, which is an automation process to deploy of the application to different systems like QA, Production etc.. as per the configuration. It starts where continue integration ends.

There are many CI/CD tools or solutions available in the market which helps to establish CI/CD pipeline. Here we will be discuss about CI/CD service available in SAP Cloud Platform Cloud Foundry environment.

What is SCP Continuous Integration and Delivery?

SCP CI/CD service provides developers/administrators different options to configure and run pipelines for continuous integration and delivery of applications. The predefined pipelines which automatically test, build and deploy code changes.

The Continuous Integration and Delivery service is available in Trail account for developers to try and create CI/CD pipelines as per their requirements.

Supported Pipelines

SAP Cloud Platform Continuous Integration and Delivery supports three predefined CI/CD pipelines at the time of writing this blog:

Pipeline NameSCP Environment
sap-cloud-sdkCloud Foundry
sap-ui5-cfCloud Foundry
sap-ui5-neoNeo

Initial Setup

Follow the below steps to setup SAP Cloud Platform Continuous Integration and Delivery.

1. Logon to SAP Cloud Platform cockpit and navigate to subaccount.

2. Add Continuous Integration & Delivery service with trial plan to the subaccount from the Entitlements section.

SAP Cloud Platform Continuous Integration and Delivery Service Step1

Enable the service

3. Choose Subscriptions from the side-menu in subaccount of the SAP Cloud Platform cockpit. Select the Continuous Integration & Delivery and Subscribe.

SAP Cloud Platform Continuous Integration and Delivery Service Step2

Assign Role Collection

4. Navigate back to the sub-account and from the side menu, choose Security Trust Configuration.

SAP Cloud Platform Launchpad Service Step3

5. Enter email address of the developer and and click on Assign Role Collection. There are two predefined role collections: CICD Service Administrator and CICD Service Developer.

SAP Cloud Platform Continuous Integration and Delivery Service Step3

The following table provides an overview of their permissions:

JobsCredentialsBuilds
AdministratorCreate, Modify, View and Delete a jobCreate, Modify, View and Delete a credentialsView, Trigger and Delete a build
DeveloperView a jobView a credentialsView, Trigger a build

Access the service

6. From SAP Cloud Platform cockpit, Choose Subscriptions from the sub-account side-menu. From the list of SaaS applications, search for Continuous Integration & Delivery and click on Go to Application.

SAP Cloud Platform Continuous Integration and Delivery Service Step5

Conclusion

Congrats! you have successfully learnt about SAP Cloud Platform Continuous Integration and Delivery service. This is just an introductory blog post and we will be writing more tutorials on SCP CI/CD, stay tuned.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

If you liked it ❤️, please share it! Thanks! 🙏

FAQs

1. Failed to load credentials in SAP Cloud Platform Continuous Integration and Delivery?

Assign necessary role collections: CICD Service Administrator &CICD Service Developer and run again the service. You may also have to clear cache or try with incognito mode(chrome) after role assignment.SAP Cloud Platform Continuous Integration and Delivery Service Step6

Continue Learning