Skip to content

Conversation

t-persson
Copy link
Collaborator

Reverts #324

I didn't think about the bigger picture here. Our environment providers may required a few items from the dataset in particular in order to run their cleanup operations.
The environment request resource must exist for an environment to be cleaned up properly without manual intervention. Having the environment request be required by the environment_controller will enforce this even if it may seem unnecessary to do.

A new PR will be uploaded where we add finalizers to the environmentrequests so that they may not be deleted before the environment has been cleaned up.

@t-persson t-persson requested a review from a team as a code owner December 3, 2024 13:54
@t-persson t-persson requested review from fredjn and andmat900 and removed request for a team December 3, 2024 13:54
}
releaser := r.releaseJob(environment, *image)
releaser := r.releaseJob(environment, environmentRequest)
fmt.Println(releaser)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why println? Log?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a revert.

@t-persson t-persson merged commit 61d5b68 into main Dec 4, 2024
@t-persson t-persson deleted the revert-324-optional-environment-request branch December 4, 2024 08: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.

2 participants