teched2022-IN180 icon indicating copy to clipboard operation
teched2022-IN180 copied to clipboard

Leveraging Commands from “Piper” for CI/CD Setup with SAP Integration Suite

REUSE status

IN180 - Leveraging Commands from “Piper” for CI/CD Setup with SAP Integration Suite

Description

In this session, you will learn how to use SAP Integration Suite Piper commands for building Continues integration and Continuous development pipeline. SAP Integration Suite has contributed many steps to the library for project "Piper" that help you create your own continuous integration (CI) and continuous deployment (CD) pipeline, automating various tasks. Learn how to set up CI/CD pipelines for SAP Integration Suite on Jenkins and Continuous Integration and Delivery service.

Overview

In this session you will learn how to set up a CI/CD pipeline for SAP Integration Suite in two ways:

  1. Using a Jenkins instance and creating the pipeline yourself using Piper commands developed specifically for SAP Integration Suite.
  2. Making use of SAP's Continuous Integration and Delivery service, which has a ready-to-use pipeline for the SAP Integration Suite scenario.

INT180 Session presentation you can access here

Requirements

The requirements to follow the exercises in this repository -

Integration Scenario Details

This session uses very simple integration flow. This integration flow has a timer start and hence it will be executed on deployment.

Exercises

You can use this section as an index or table of contents. All pages have a link on top of the page to Go back to Table of Contents for easy navigation.

Prerequisites

  • Check that git command line tool is installed
  • Book the Integration Suite Tenant
  • Setup GitHub Account

Exercise 1 - Setup GitHub project with Integration Suite piper commands

  • Exercise 1.1 - Clone the Session repository from GitHub
  • Exercise 1.2 - Adding the Inline Script logic which uses Integration Suite Piper commands
  • Exercise 1.3 - Provide YAML configuration for Integration Suite Piper commands
  • Exercise 1.4 - Rename the integration flow archive folder
  • Exercise 1.5 - Modify the integration flow manifest file
  • Exercise 1.6 - Commit the GitHub repository

Exercise 2 - Run the Integration Suite CI/CD pipeline using Jenkins Job

  • Exercise 2.1 - Setup Jenkins Pipeline for the Git repository
  • Exercise 2.2 - Build the Jenkins Pipeline and evaluate results
  • Exercise 2.3 - Verify the results in the Integration Suite Tenant

Exercise 3 - Setup Git repository for CI/CD Service

  • Exercise 3.1 - Clean up Integration artifacts generated from Integration Suite CI/CD pipeline
  • Exercise 3.2 - Commit to GitHub repository

Exercise 4 - Run the SAP Continuous Integration and Delivery service job for Integration Suite

  • Exercise 4.1 - Setup CICD service Job for the Integration Suite Artifacts
  • Exercise 4.2 - Trigger the CI/CD service JOB and evaluate results
  • Exercise 4.3 - Verify the CI/CD job execution in the Integration Suite Tenant

How to obtain support

Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.

License

Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.