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

Add option to wait for job completion or timeout #185

Merged
merged 1 commit into from
Mar 16, 2023
Merged

Add option to wait for job completion or timeout #185

merged 1 commit into from
Mar 16, 2023

Conversation

mattgrunwald
Copy link
Contributor

@mattgrunwald mattgrunwald commented Mar 1, 2023

If this is a change to the core functionality, did you make a corresponding PR to drone-eks?

  • yes
  • no
  • n/a

Did you update the tests?

  • yes
  • no
  • n/a

Did you update the docs?

  • yes
  • no
  • n/a

The cooking CMS drone pipeline would like to have separate CI/CD steps for applying a Job to run database migrations and for applying all other resources (Deployments, ServiceAccounts, etc.). This PR adds functionality to wait for one or more Jobs to complete (including an optional timeout).

This PR mirrors the changes in the drone-eks PR here
.

@mattgrunwald mattgrunwald requested a review from a team as a code owner March 1, 2023 16:54
@mattgrunwald mattgrunwald changed the title add option to wait for job completion or timeout Add option to wait for job completion or timeout Mar 1, 2023
@tonglil tonglil merged commit e1a31b8 into nytimes:main Mar 16, 2023
@mattgrunwald mattgrunwald deleted the mg-wait-for-jobs branch March 16, 2023 15:46
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.

3 participants