Skip to content

The sample Pact consumer service based on Spring Boot with contract testing CI/CD pipeline

Notifications You must be signed in to change notification settings

artemptushkin/jesse-pinkman-pact-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Pact consumer service

This service along with Heisenberg and GustavoFring is a set of demo services for pact contract testing pipeline demonstrations.

You can use these repositories as

  • Example of contract testing pipeline with Pact Broker
  • Use-cases for consumer-driven-contracts development

The sample Pact consumer service based on Spring Boot with contract testing GitHub Actions CI/CD pipeline.

This repository implements the contract testing pipeline following the general documentation. asd

On merge to any branch it triggers the GitHub Actions pipeline that includes steps:

  1. build
  2. tests
  3. verify pacts as provider
  4. can-i-deploy
  5. dummy deploy
  6. create-version-tag

Tags strategy

  1. It publishes tag equal to an environment after the actual deployment to that env: test, prod
  2. It publishes pacts along with tags: (it differs from the provider set of tags!)
  • locally: develop
  • CI: {GIT_BRANCH}
  • CD pipeline: master, test, prod
  1. It uses version
  • locally: from maven
  • CI/CD pipeline: first 6 letters of a git commit hash

About

The sample Pact consumer service based on Spring Boot with contract testing CI/CD pipeline

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages