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 Transformation Services

Overview

Data & AI

Intelligent Process Automation

Robotic Process Automation
Mobility & UX
Robotic Process Automation
Cloud Platform & Solutions
Robotic Process Automation
Sustainability Management

SAP Core Services

Industries

Consumer Products & Retail
Drive Intelligent Value with Digital

Manufacturing
Digitize E2E Value Chain

Oil and Gas
Extend Beyond the Barrel with Digital

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
TechEd 2023 Experience

TechEd 2023 Experience

It was my first SAP TechEd, and the experience was truly enriching. Besides gaining insights into the latest trends and technologies in the SAP ecosystem, the sense of community and collaboration one can feel at SAP TechEd is amazing, making it a powerful technology conference.