Skip to content

artemptushkin/jesse-pinkman-pact-service

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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