-
Notifications
You must be signed in to change notification settings - Fork 370
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
Let cleanup steps hold their own data #5194
base: main
Are you sure you want to change the base?
Commits on Nov 29, 2024
-
Remove unused CfgFile variable
Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3a657f - Browse repository at this point
Copy the full SHA d3a657fView commit details -
Replace hard-coded run dir in cleanup
Use the run dir from the config struct instead. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 389ec3f - Browse repository at this point
Copy the full SHA 389ec3fView commit details -
Remove unused config pointer from services cleanup step
Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6cb0fca - Browse repository at this point
Copy the full SHA 6cb0fcaView commit details -
Use explicit dependencies in the directories cleanup step
So it's obvious which parts of the config it uses. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84a3945 - Browse repository at this point
Copy the full SHA 84a3945View commit details -
Use explicit dependencies in the users cleanup step
So it's obvious which parts of the config it uses. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd08846 - Browse repository at this point
Copy the full SHA dd08846View commit details -
Use containerd component in the containers cleanup step
Instead of its own bespoke way of setting up containerd. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fd255d - Browse repository at this point
Copy the full SHA 0fd255dView commit details -
Move the cleanup steps creation into NewConfig
Now that the steps hold their onw data, the cleanup step creation can be moved into the NewConfig function, and the Config struct only needs to care about the step slice. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bed7162 - Browse repository at this point
Copy the full SHA bed7162View commit details -
Move the containers cleanup step creation into its own func
Makes the code a bit clearer. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cfc6fd - Browse repository at this point
Copy the full SHA 3cfc6fdView commit details