Company

About Us

Team

Careers

Customer

Customers

Partners

Partners

Partners

Inchara - CSR

Partners

Contact Us

Latest News

Cherrywork Digital Applications

Overview

Portfolio

Industry 4.0

Intelligent Procurement

Customer Experience (CX)

Human Experience Management (HXM)

Products

Account Payable Automation Image

Accounts Payable Automation

Account Payable Automation Image

Smart Warehouse

Task Management Image

Intelligent Work Management

Intelligent Price Management Image

Intelligent Price Management

Accelerators

Blue Collaborative Order Management Image

Collaborative Order Management

Company Images

Resource Management

Shopping Cart

In-Store Perishables Management

Shopping Cart

Permit to Work (P2W)

Shopping Cart

Proof of Delivery (POD)

Blue Collaborative Order Management Image

Predictive Asset Maintenance

Blue Collaborative Order Management Image

Supplier Collaboration Portal

Blue Collaborative Order Management Image

Advanced Metering Analytics

Blue Collaborative Order Management Image

Pipeline Corrosion and Leak Detection

Digital and AI

Overview

Data & AI

lntegration

Application Development & Automation

  - Intelligent Process Automation

  -  Mobility & UX

cloud-computing

Cloud Platform & Solutions

Robotic Process Automation

Sustainability Management

SAP Services

sap

SAP Core Services

SAP Integration Suite

Industries

Consumer product grp logo

Consumer Products & Retail
Drive Intelligent Value with Digital

Manufacturing

Manufacturing
Digitize E2E Value Chain

Oil & Gas logo

Oil, Gas and Energy
Extend Beyond the Barrel and Grid with Digital

- Oil and Gas

-  Utilities

Life Science logo

Life Sciences
Improve Patient Outcomes and Safety

Resources

Events

Blogs

Case Studies

Press Room

Newsletter

SAP Innovation Pitch Decks

Cherrywork.com

SAP CLOUD INTEGRATION CI/CD USING GITLAB

WRITTEN BY

Anitha K
PUBLISHED​
1st June 2022

INTEGRATION

SHARE

In this blog I have explained how to deploy and run CI/CD pipeline for SAP Cloud Integration artifact using GitLab.

By the end of this article you would be able to deploy a basic CI/CD pipeline for your artifact.

pre-requisite:
1. SAP Cloud Integration trial account.
2. An existing cloud integration flow.
3. GitLab with an active runner.

1. Create a new project in GitLab:

Menu

2. Modify the YAML config file :
Update the YAML file to deploy the integration artifact using Piper.
Piper is an open source tool to implement continuous delivery.

view merged YAML

Replace the “CREDENTIALS” value as explained below:
Go to your SAP BTP trial account > select your API instance (create a new instance, if not already done)> click on the service keys > copy the entire credentials.

{
“oauth”: {
“clientid”: “xx-xlkjjfd-asd-xxxx-0000-xxxxxx!0000|it!sssss”,
“clientsecret”: “12345–6788–45rt-adcd-asdgthkjfn_xxxxxxxxxxxx”,
“url”: “https://3xxxxxxxx.it-cpitrialxx.cfapps.us10-001.hana.ondemand.com“,
“tokenurl”: “https://3xxxxxxxx.authentication.us10.hana.ondemand.com/oauth/token
}
}

Replace the “maildemo” with your actual Iflow ID

bin/piper integrationArtifactDeploy –verbose –apiServiceKey $(CREDENTIALS) –integrationFlowId “maildemo”

deployment status

3. Run the pipeline
Click the commit changes as shown below to run the pipeline.

project information

4. Pipeline successfully triggered:
Once the pipeline is passed successfully you can see the status as shown below.

Update gitlab ci.yml file
5. Validate flow deployment
Once the pipeline is successful it will trigger the respective Cloud integration flow “maildemo”
maildemo
From the above snapshot we could conclude that whenever the pipeline runs successfully in the GitLab, it will automatically trigger the respective cloud integration flow.
Related Stories
Security Spotlight: Why Staying on SAP PI/PO Puts Your Data at Risk

Security Spotlight: Why Staying on SAP PI/PO Puts Your Data at Risk

SAP Process Integration (PI) and Process Orchestration (PO) have long been the backbone of integration and orchestration for SAP landscapes. They serve as the central platforms for integrating various SAP and non-SAP systems, managing workflows, and orchestrating business processes across the enterprise.