SAP Manufacturing Integration and Intelligence (SAP MII) is used to improve your manufacturing processes. SAP PRESS has recently published the book Implementing SAP MII co-authored by Dipankar Saha (Principal Architect – Incture Technologies).
WRITTEN BY
INTEGRATION
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:
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.
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”
3. Run the pipeline
Click the commit changes as shown below to run the pipeline.
4. Pipeline successfully triggered:
Once the pipeline is passed successfully you can see the status as shown below.
SAP Manufacturing Integration and Intelligence (SAP MII) is used to improve your manufacturing processes. SAP PRESS has recently published the book Implementing SAP MII co-authored by Dipankar Saha (Principal Architect – Incture Technologies).
This is my first blog Post where I have been tried to describe a real time scenario of CPI where we have to call the iflow followed by another iflow and spilt the data and fetch it with looping process call.