Skip to content
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

Implement deploy status checks for github integration #15451

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

machisuji
Copy link
Member

@machisuji machisuji commented May 2, 2024

This introduces a new state for pull requests called 'deployed'.
A cron job checks the deploy status of every pull request regularly and updates the state accordingly once deployed.
It will also add a comment to each relevant work package to let users know where the pull request was deployed to.

image

To make this work an introspection permission is introduced and the APIv3 root endpoint amended with the deployed core SHA that is running.

Lastly, next to the deploy_targets table another table github_deploy_status_checks is created used to make sure the deploy status is only checked as often as necessary and not more.

To do

  • implement deploy status job doing the actual work
  • add deployed state in frontend
  • add UI to allow configuring deploy targets
  • add tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant