-
Notifications
You must be signed in to change notification settings - Fork 11
DEVOPS-728 Add autobuild on "publish release" #436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Testing release-triggered semver for rc from develop
Adding execute bit to develop_rc_release.sh
Devops 728 ghatags
Testing full release-triggered semver
Devops 728 ghatags
Testing full release-triggered semver
Testing full release-triggered semver
Testing branch check restrictions
Devops 728 ghatags
Adding final semver check to prod release workflow
Add SemVer Checks FTW!
Update DEVOPS-728 Branch
Yes I created the branch, as this is a best practice we're trying to promote across the org. More importantly, it's what makes it easy to have a ghcr.io/kbase/sample_service-develop:latest that can be used for testing in CI before any changes to This branch is also critical to the proposed full continuous delivery to CI we'd talked earlier today.
Nope. The SemVer checks I built out today fix this, and are now in this PR.
After going over the release process today, I think we confirmed this isn't an issue, given the way release is tied to a specific tag. Note: For all automation to work without any loopholes/edge cases, we'll want to:
|
Testing additional vars
Add release source branch check
Update branch with latest release sanity checks.
Update README.md
Adding `latest-pr` post merge tag for main branch
Add `latest-rc` to post-merge PRs to main.
Add prod `latest-rc` to PR images post-merge
| docker tag ghcr.io/"$MY_ORG"/"$MY_APP":"pr-""$PR" ghcr.io/"$MY_ORG"/"$MY_APP":"latest" | ||
| docker push ghcr.io/"$MY_ORG"/"$MY_APP":"latest" | ||
| docker tag ghcr.io/"$MY_ORG"/"$MY_APP":"pr-""$PR" ghcr.io/"$MY_ORG"/"$MY_APP":"latest-rc" | ||
| docker push ghcr.io/"$MY_ORG"/"$MY_APP":"latest-rc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this will be confusing if we don't also push it to latest.. Latest will forever be on an old version? @jsfillman
.github/workflows/pythonapp.yml
Outdated
| @@ -0,0 +1,36 @@ | |||
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for autobuild or something else? Does this need to be here?
Deleting `pythonapp.yml` as it's not part of this PR

Updates
Actions to use the following process:
Pt 1: Feature > Develop
feature>develop.sample_service-developwith the tag of:pr-#.cienvironment.ci, merge the PR.sample_service-develop:latest.Pt 2: Develop > Master
develop>master.sample_servicewith the tag of:pr-#.sample_service:pr-#image inci.master.Pt 3: Release
sample_servicewith a both the semantic version tag, as well aslatest.next