Over a million developers have joined DZone.

Spring Cloud Pipelines

DZone 's Guide to

Spring Cloud Pipelines

Spring Cloud Pipelines let devops teams a pipeline to move data through various continuous deployment cycles and clouds.

· Cloud Zone ·
Free Resource

On behalf of the Spring Cloud team it is my pleasure to announce a new project called Spring Cloud Pipelines. Unlike most of Spring projects this one is not available at any repository since it’s not a library, but instead, it is available as a GitHub repo for you to download and use as template for creating a deployment pipeline.

Without any further ado let’s get into some details related to the project.

Problem We’re Trying to Solve

Spring, Spring Boot and Spring Cloud are tools that allow developers speed up the time of creating new business features. It’s common knowledge however that the feature is only valuable if it’s in production. That’s why companies spend a lot of time and resources on building their own deployment pipelines.

This project tries to solve the following problems:

  • Creation of a common deployment pipeline
  • Propagation of good testing & deployment practices
  • Speed up the time required to deploy a feature to production

A common way of running, configuring and deploying applications lowers support costs and time needed by new developers to blend in when they change projects.

Currently, we support the following CI/CD systems out of the box:

  • Concourse
  • Jenkins

High-Level Overview

In the demo, we’re using the following projects:

  • Artifactory to store JARs.
  • PCF Dev to deploy applications.
  • Concourse or Jenkins to host pipelines.
  • Spring Cloud Pipelines that contains the pipeline logic.
  • Spring Cloud Contract to aid testing of your applications.

Of course, you can use your own JAR-gathering service, like Cloud Foundry and Concourse/Jenkins. We’re providing them for you for the demo purposes.

flow concourse

Figure 1. Flow in Concourse (Click to Enlarge)


Figure 2. Flow in Jenkins

How to Use It?

This repository can be treated as a template for your pipeline. We provide some opinionated implementation that you can alter to suit your needs. The best approach to use it to build your production projects would be to download the Spring Cloud Pipelines repository as ZIP, then init a Git project there and modify it as you wish.

Example for using the code from the master branch.

curl -LOk https://github.com/spring-cloud/spring-cloud-pipelines/archive/master.zip
unzip master.zip
cd spring-cloud-pipelines-master
git init
# do all the changes
git add .
git commit -m "Initial commit"
git remote add origin ${YOUR_REPOSITORY_URL}
git push origin master

Why aren’t you simply cloning the repo? This is meant to be a seed for building new, versioned pipelines for you. You don’t want to have all of our history dragged along with you, don’t you?

spring boot ,spring cloud ,cloud ,pipeline

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}