Skip to content

Conversation

@ispasov
Copy link
Contributor

@ispasov ispasov commented Jul 4, 2025

Description

GitLab automatically retries the prepare step 3 times.
However it never calls cleanup between retries so we can end up with 3 orphaned VMs.
Delete the VMs on failure.

Testing

Contact me for testing details

@ispasov ispasov changed the base branch from master to is/unique-vm-name July 4, 2025 14:55
@ispasov ispasov force-pushed the is/delete-vm-on-retry branch from 6066e38 to 2104a6b Compare July 4, 2025 15:40
Base automatically changed from is/unique-vm-name to master July 8, 2025 11:33
GitLab automatically retries the prepare step 3 times.
However it never calls cleanup between retries so we can end up with 3 orphaned VMs.
Delete the VMs on failure.
@ispasov ispasov force-pushed the is/delete-vm-on-retry branch from 2104a6b to 68a0f04 Compare July 8, 2025 11:36
@ispasov ispasov merged commit 43f1a85 into master Jul 8, 2025
1 check passed
@ispasov ispasov deleted the is/delete-vm-on-retry branch July 8, 2025 11:39
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