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

Have setup_kubernetes_job prioritize services whose git_shas are chan… #3577

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EvanKrall
Copy link
Member

…ging, so that real bounces take priority over big bounces.

paasta_tools/setup_kubernetes_job.py Outdated Show resolved Hide resolved
Comment on lines 230 to 254
@property
def deployment_version(self):
return DeploymentVersion(self.git_sha, self.image_version)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

paasta_tools/setup_kubernetes_job.py Outdated Show resolved Hide resolved
@EvanKrall EvanKrall force-pushed the u/krall/prefer_regular_bounce branch from d5cba35 to 285311f Compare April 11, 2023 01:11
@mattmb
Copy link
Member

mattmb commented Feb 21, 2024

This also looks a bit too good/easy to close (conflict is minor). But I wouldn't want to just press merge since someone needs to validate everything is okay after rolling out.

…_versions are changing, so that real bounces take priority over big bounces.
…sary deployment_version property on Application
Comment on lines +269 to +270
"""This will return 1 if the desired deployment_version matches an existing deployment_version, and 0
otherwise. This will cause applications that need a new deployment_version to be handled first.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on another read: the 0 otherwise bit isn't 100% accurate since we return 2 for broken apps

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

Successfully merging this pull request may close these issues.

4 participants