-
Notifications
You must be signed in to change notification settings - Fork 51
Conversation
end | ||
end | ||
|
||
def create_working_dir | ||
FileUtils.mkdir_p(WORKING_DIR) | ||
def read_from_repo(file_name, repository, ref="HEAD") |
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.
I don't see this method being called from anywhere
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.
I wrote it for the kochiku.yml but since there were multiple locations to check it needed to be more specific; I left it in planning to use it to clean up code which was making assumptions about inside_copy
.
I'll probably trim out all of the Thread stuff after changing kochiku.yml in response to your comment there.
Updated in response to feedback. |
self.save! | ||
if !promoted? | ||
BuildStrategy.promote_build(self) | ||
Build.where(id: self.id, promoted: nil).each { |build| build.update!(promoted: true) } |
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.
All that is needed here is:
update!(promoted: true)
The build being updated is self
.
Fixed the |
Jeversmann/kochiku yml updates
* commit '9bd4c1f94a07243b1136916e9832e3e9ac3e7fa4': Fix pressing Return key will update the dashboard page
Changes build enqueueing logic so that test command, on success script, and log file targets from kochiku.yml. I also moved the logic for interacting with the GitRepos around to eliminate cases where methods were making assumptions about how they were being called.