-
Notifications
You must be signed in to change notification settings - Fork 3
Abstract a bit the uki commands #29
Conversation
Make use of the config with the runners and vfs so we can easily tests the actions being taken and substitute those structs for others Signed-off-by: Itxaka <itxaka@kairos.io>
@@ -457,64 +456,25 @@ func copyFilesToImg(imgFile string, filesMap map[string][]string) error { | |||
return nil | |||
} | |||
|
|||
func GzipFile(sourcePath, targetPath string) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to utils
return nil | ||
} | ||
|
||
func findKairosVersion(sourceDir string) (string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
} | ||
} | ||
}) | ||
It("Builds UKI Iso", func() {}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nothing yet added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happening in this PR or other? Thanks for writing this btw, I looked at the other test and I was too afraid to try this :D.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully in this one lmao
Nice job! |
Make use of the config with the runners and vfs so we can easily tests the actions being taken and substitute those structs for others