Skip to content

Checks application A version X can deploy with application B version Y

Notifications You must be signed in to change notification settings

roycdiscovery/pact-canideploywith-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pact-canideploywith-action

Checks if multiple applications are compatible, based either on version (version:), or latest tag (latest:).

The format is a comma-seperated list of:

<application name>:version <version number>

or

<application name>:latest <tag>

Example

# (This just saves defining these multiple times for different pact jobs)
env:
  pact_broker: ${{ secrets.PACT_BROKER }}
  pact_broker_token: ${{ secrets.PACT_BROKER_TOKEN }}

jobs:
  pact-can-i-deploy-version:
    runs-on: ubuntu-latest
    steps:
      - uses: roycdiscovery/pact-canideploywith-action@v1.0
        env:
          applications: "provider-app:version 2.0,consumer-app-A:version 1.8,consumer-app-B:version 1.0"

  pact-can-i-deploy-upstream:
    runs-on: ubuntu-latest
    steps:
      - uses: roycdiscovery/pact-canideploywith-action@v1.0
        env:
          applications: "provider-app:latest test,consumer-app-A:latest prod"

About

Checks application A version X can deploy with application B version Y

Resources

Stars

Watchers

Forks

Packages

No packages published