Feat: add auto migrations and notifications#1777
Merged
MarceloRobert merged 3 commits intokernelci:mainfrom Mar 9, 2026
Merged
Feat: add auto migrations and notifications#1777MarceloRobert merged 3 commits intokernelci:mainfrom
MarceloRobert merged 3 commits intokernelci:mainfrom
Conversation
4762027 to
6a2d598
Compare
7e9e8c1 to
bec53d8
Compare
| args: "Deploying production Dashboard with tag `${{ github.event.inputs.tag }}`" | ||
|
|
||
| check-migrations: | ||
| depends-on: start-notification |
Contributor
There was a problem hiding this comment.
the key here shouldn't be needs instead of depends-on?
Collaborator
Author
There was a problem hiding this comment.
I confused with the docker-compose style...
| args: "No new Django migrations detected in production deployment of `${{ github.event.inputs.tag }}`" | ||
|
|
||
| deploy-production: | ||
| depends-on: start-notification |
bec53d8 to
63f5401
Compare
Notifies on discord when staging has a new migration
Notifies on discord about new/no migration for the production deployment
63f5401 to
bf50438
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE: this PR has a test commit at the end so that the CI can run and we can test the migration detection. This will be removed before merging.
Changes
Staging compares the current commit with the previous one, while production compares the current tag with the previous release tag
Notification will be like:
or
Closes #1764