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 webhooks integration tests for organization and repository #161

Merged

Conversation

mihaelabalutoiu
Copy link
Contributor

@mihaelabalutoiu mihaelabalutoiu commented Aug 22, 2023

This PR implements the following changes:

  • Get controller info
  • Install/get webhooks for org and repo.
  • Trigger a workflow test with a specific label name.
  • Validate the job lifecycle with the following steps:
    • ensure the job is recorded in the job list.
    • ensure the job goes through queued and in_progress stages.
    • ensure the job runner instance is running and active.
    • ensure the job is completed.
    • ensure the runner instance is removed.
    • wait for GARM to rebuild pool running idle instances after the job is done.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit 348058b into cloudbase:main Aug 22, 2023
4 checks passed
@mihaelabalutoiu mihaelabalutoiu deleted the add-webhooks-integration-tests branch August 24, 2023 19:54
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.

2 participants