-
Notifications
You must be signed in to change notification settings - Fork 41
Corso Release tooling #571
Comments
The release job should have a dry-run or test mode which should run on some schedule that goes through all the mechanics but does not tag binaries/images with a release version and pushes docs to a test location. |
What is a release:
How does it get triggered?
Versioning/Dry-run:
|
Potential things to investigate:
|
This is the basic structure that I have in mind for the release CI. Since the failures in separate jobs are reported as different checks in the GitHub UI, I was thinking of combining a few CI jobs to deduplicate the CI workflow files. %%{init: {"theme": "dark"}}%%
flowchart
c(Checkout)
subgraph Tests["Tests"]
subgraph Code
l(Lint)
t(Test-Suite)
end
subgraph Docs
g(Generate-Markdown) --> dl(Lint Docs)
end
end
c --> Tests --> Publish
subgraph Publish["Publish"]
dp("Docs-Push [Release:prod-s3] [Commit:test-s3]")
bi("Build-Image [Release:tag=gh-tag] [Commit:tag=sha]")
gr("Release-Binary [Release:release-artifact] [Commit:run-artifact]")
end
|
Had two more questions around the release pipeline:
|
I have updated the above diagram for the flow, the idea is that we can treat a commit on
|
It'll be good to have this be generated automagically. Using
Let's add the |
Just to add some context, the main problem with using commit messages as changelog is that we might end up with not so useful entries in the changelog. We could probably use a prefix in the commit message which we can filter out but that will mean we will end up having to enforce the commit message format with everyone who will be contributing to the repo once we open source it. PS: If we are keeping a changelog file, we can follow something like https://keepachangelog.com/ |
You're right - using commits will make this not so useful and it's good to maintain something separate. Let's start with CHANGELOG.md using the guidance from https://keepachangelog.com/ i.e. can you commit one with an UNRELEASED section that we as a team can update prior to the release. |
Create a Corso release job that will publish the released images and documentation,
The text was updated successfully, but these errors were encountered: