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 kubectl check for lagoon-build and add more tests #3039

Merged
merged 5 commits into from
Feb 22, 2022

Conversation

tobybellwood
Copy link
Member

@tobybellwood tobybellwood commented Feb 19, 2022

This PR implements a kubectl check for a lagoon-build pod whenever a branch is deployed. It performs a first check to get the name of the started pod, and then follows that pod until it reaches a "completed" status, before handing back to the ansible task that called it. This completely removes the need for the 30/90 retries we used to check if a service has been deployed.

There are still some tidyups to do - removing a lot of the cruft around retries and loops etc.

In additon, a couple of additional tests have been added (dbaas and generic), and some other tidyups happened.

@tobybellwood tobybellwood marked this pull request as ready for review February 22, 2022 00:40
@tobybellwood tobybellwood changed the title implement kubectl check for lagoon-build and more tests implement kubectl check for lagoon-build and add more tests Feb 22, 2022
@tobybellwood tobybellwood merged commit a84703a into main Feb 22, 2022
@tobybellwood tobybellwood deleted the kubectl_lagoonbuild branch February 22, 2022 04:34
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.

1 participant