Skip to Content
Technical Articles
Author's profile photo Sarah Lendle

We’ve Finished Our Renovations: Our New CI/CD Best Practices

As announced in my previous blog post, for the past few months, we’ve been busily reworking our guide on best practices for continuous integration and delivery (CI/CD) – and we’re proud to present you the results!

Depending on your level of expertise, you can now choose between two different guides:

For an overview of all solutions we provide for continuous integration and delivery, see SAP Solutions for Continuous Integration and Delivery.

Let’s have a closer look at our new guides:

Continuous Integration and Delivery Introduction Guide

 

This guide provides you with basic knowledge for setting up and implementing continuous integration and delivery processes. It gives an overview of the concepts and principles of CI/CD, explains both procedures and their relation, and helps you plan your own CI/CD process. The Continuous Integration and Delivery Introduction Guide consists of two parts: Basic Concepts and Principles helps you get to know the concepts and principles of continuous integration and delivery and Continuous Integration and Delivery Processes provides you with information about CI/CD processes and the actors involved.

Basic Concepts and Principles

Continuous Integration and Delivery Processes

 

The Continuous Integration and Delivery Best Practices Guide

 

This guide provides procedures to implement continuous integration and delivery pipelines on any CI/CD stack and demonstrates how to apply the principles of CI/CD to SAP-specific technologies. It also consists of two main parts: Set Up Your Pipeline, which helps you implement your own CI/CD pipeline and Enhance Your Pipeline, which lets you extend your finished pipeline with additional features.

Set Up Your Pipeline

Enhance Your Pipeline

 

We’ll constantly add new procedures to our guide – subscribe to our social media channels to stay up-to-date! You can find them on our Continuous Integration and Delivery by SAP overview page.

As for now, we’ve finished our renovation and content move, our links to the old Continuous Integration (CI) Best Practices are automatically redirected to the corresponding sections in our new guides, so don’t be surprised if you unexpectedly find yourself on the SAP Help Portal!

There are however two exceptions: Our two mobile scenarios, SAP Fiori Hybrid Apps with SAP Mobile Platform SDK and SAP Cloud Platform SDK for iOS, are still being revised. For the time being, they stay where they are – we’ll let you know once they’re finished and have moved, as well.

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Alejandro Sensejl
      Alejandro Sensejl

      This is gold! THANK YOU!

      Author's profile photo Sarah Lendle
      Sarah Lendle
      Blog Post Author

      Thank you, Alejandro Sensejl! I'm glad you like it!

      Author's profile photo Omar Garcia
      Omar Garcia

      hi Sarah,

      is it possible to get access to the previous tutorials, or can I download them? I did some of them.

      Kind regards,

      Omar

      Author's profile photo Christoph Szymanski
      Christoph Szymanski

      Hello Omar,

      while the previous tutorials are not published anymore, you can still access the source documents on Github. This is much better and less complicated than it sounds, the markdown documents are usually nicely readable -- I guess some internal linking might fail, but all the information + images remain. You can browse the sources here

      https://github.com/SAPDocuments/Tutorials/tree/42c4852d298826b9f8577e9597722ad23080af3e/tutorials

      The CI Best Practices are stored in folders starting with ci-*, in each folder there should be a *.md file that can be read through the browser. Of course, you can also download or fork the content.

      Please keep in mind that the content might be outdated and is not being updated anymore.

      Thanks for your interest,

      Christoph

       

      Author's profile photo Christiano Hage
      Christiano Hage

      Hi Sarah,

      I am trying to deploy a "hdb" module type using Piper. Although I also have a "nodejs" module type, I am not being able to deploy the "hdb" module as it fails.

      Below you can find the mta.yaml file. My project is public on https://github.com/chrisgonc/showcasehdi.git.

      I followed the commands available on https://sap.github.io/jenkins-library/guidedtour/, which uses CF, so I believe this may not be the right configuration.

      Question is: what is the content for the config.yml file for deploying HANA HDI databases?

      Error is:

      Deploying in org "SAP Presales Cloud (NEO/FOUNDRY)_sappsbr" and space "QA"
      Detected MTA schema version: "3"
      
      Detected deployed MTA with ID "showcasehdi" and version "0.0.1"
      Detected new MTA version: "0.0.1"
      Deployed MTA version: "0.0.1"
      
      Processing service "showcasehdi"...
      
      Updating service "showcasehdi"...
      
      Updating application "db"...
      Application "db" attributes are not modified and will not be updated
      
      Uploading application "db"...
      
      Staging application "db"...
      
      Application "db" staged
      Executing task "deploy" on application "db"...
      
      Execution of task "deploy" on application "db" failed.
      
      

      mta.yaml file:

      ID: showcasehdi
      _schema-version: '2.1'
      description: HANA Showcase HDI
      provider: Christiano Hage
      version: 0.0.1
      modules:
      - name: db
      type: hdb
      path: db
      requires:
      - name: hdi_db
      properties:
      TARGET_CONTAINER: '~{hdi-container-name}'
      - name: app
      type: nodejs
      path: app
      provides:
      - name: app_api
      properties:
      url: '${default-url}'
      requires:
      - name: hdi_db
      - name: db
      resources:
      - name: hdi_db
      parameters:
      config:
      database_id: 5cd3174a-b02e-4b47-b587-66b67776aa43
      schema: SHOWCASEHDI
      service-name: showcasehdi
      properties:
      hdi-container-name: '${service-name}'
      type: com.sap.xs.hdi-container

      Author's profile photo Christiano Hage
      Christiano Hage

      Hi all,

      I would like to express my gratitude for your support. Thorsten was very kind and helped me to overcome one of the errors, and the project was successfully deployed in HANA Cloud ?

      I was also able to do a simple deployment using Azure Devops thanks to your other article https://blogs.sap.com/2019/10/24/how-to-use-project-piper-docker-images-for-cicd-with-azure-devops/ which I recommend for everyone.

      Again, many thanks for your valuable support!

      Regards, Chris

      Author's profile photo Sarah Lendle
      Sarah Lendle
      Blog Post Author

      You’re very welcome, Christiano Hage! Just let us know if there’s anything else we can support you with. ?