Skip to content

example of maven snapshot/release build with workflow dispatch and github app tokens

Notifications You must be signed in to change notification settings

casa-vega/maven-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Maven build and release for Cadence

All of the important files for this workflow lives in .github/workflows

Using workflow-dispatch and github-app we can chain specific workflows together

Default Build and Deployments (typically main or master branch)

Order of operations:

1. build default (build-default.yml)

  • Performs a snapshot build on the default branch.

Snapshot Build and Deployments (development branch)

1. build snapshot (build-snapshot.yml)

  • Performs a snapshot build on any branch that is not master.

2. deploy development (deploy-development.yml)

  • deploys resulting snapshot artifacts to development environment

Release Build and Deployments

Order of operations:

1. build release (build-release.yml)

  • Performs a release build on the specified branch using the specified build version
  • Artifact created

2. tag release (tag-release.yml)

  • Performs a git tag, github release, and changelog
  • Artifact shipped externally

3. update release (update-release.yml)

  • Performs a POM file version update

3. deploy snapshot (deploy-staging.yml)

  • environment protected for seperation of duty
  • deploys cached artifact to staging environment

4. deploy production (deploy-production.yml)

  • environment protected for seperation of duty
  • deploys cached artifact to production environment

About

example of maven snapshot/release build with workflow dispatch and github app tokens

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages