-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release Workflows Signed-off-by: jamshale <jamiehalebc@gmail.com> --------- Signed-off-by: jamshale <jamiehalebc@gmail.com>
- Loading branch information
Showing
31 changed files
with
3,742 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
The following is a flowchart of the release workflows... | ||
|
||
```mermaid | ||
--- | ||
title: Create Release PR Workflow | ||
--- | ||
flowchart TB | ||
Start[Create Release PR] --> ManualDispatch{Manual Dispatch} | ||
Start --> OnSchedule[On Schedule - Once a day] | ||
ManualDispatch --> GetACAPYRelease[Get latest ACA-PY Release via PIP] | ||
ManualDispatch --> |Re-Release|UpdateGlobal | ||
OnSchedule --> GetACAPYRelease | ||
GetACAPYRelease --> CheckGlobal[Get Global Repo Version] | ||
CheckGlobal --> Compare{Compare versions} | ||
Compare --> |Match| End | ||
Compare --> |No Match| UpdateGlobal[Update Global Repo Version] | ||
UpdateGlobal --> UpdateAllPlugins[Update All Plugins] | ||
UpdateAllPlugins --> RunLintChecks[Run Lint Checks] | ||
RunLintChecks --> RunUnitTests[Run Unit Tests] | ||
RunUnitTests --> RunIntegrationTests[Run Integration Tests] | ||
RunIntegrationTests --> RemoveFailedPlugins[Remove Failed Plugins From Change Set] | ||
RemoveFailedPlugins --> CreateReleaseNotes[Create Release Notes] | ||
CreateReleaseNotes --> CreateReleasePR[Create Release PR] | ||
``` | ||
|
||
```mermaid | ||
--- | ||
title: Create Release Workflow | ||
--- | ||
flowchart TB | ||
Start[Create Release] --> OnPushMain[On Push to Main] | ||
OnPushMain --> ChangedPoetryFiles{Changed poetry.lock Files?} | ||
ChangedPoetryFiles --> |No| End | ||
ChangedPoetryFiles --> |Yes| ConfigureGit[Configure Git] | ||
ConfigureGit --> GetReleaseTags[Get Release Tags - Based on ACA-PY Version] | ||
GetReleaseTags --> TagsExist{Tags Exist} | ||
TagsExist --> |Yes| IncrementPatch[Increment Patch Version. Ex: 1.0.0 -> 1.0.0.1 or 1.0.0.1 -> 1.0.0.2] | ||
TagsExist --> |No| CreateTagOnACAPYVersion[Create Tag on ACA-PY Version] | ||
IncrementPatch --> GetReleaseNotes[Get Release Notes and Plugins That Updated] | ||
CreateTagOnACAPYVersion --> GetReleaseNotes | ||
GetReleaseNotes --> CreateRelease[Create Release] | ||
``` |
Oops, something went wrong.