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
windows_task with Gemfile.lock change #5997
Conversation
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
…operty Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Signed-off-by: Bryan McLellan <btm@chef.io>
@@ -1,2 +1,3 @@ | |||
--- | |||
BUNDLE_FROZEN: "1" | |||
BUNDLE_WITHOUT: "omnibus_package:test:pry:integration:docgen:maintenance:travis:aix:bsd:linux:mac_os_x:solaris:windows:development" |
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.
This shouldn't be merged here
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.
Yeah, I kind of figured that but rake dependencies:update
keeps adding it back.
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.
rake dependencies:update_gemfile_lock
but you'll still pull in ohai which will break amazon linux -- working on that.
end | ||
|
||
def load_task_xml(task_name) | ||
xml_cmd = shell_out("chcp 65001 >nul 2>&1 && schtasks /Query /TN \"#{task_name}\" /XML") |
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.
#5886 (comment)
I also made PR to upstream chef-boneyard/windows#461
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.
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.
@btm , fixed the review comment. Turned out that I only had to remove stdout.force_encoding('UTF-8')
from powershell_out("#{task_script}").stdout.force_encoding('UTF-8')
to make it working in the later case.
This is #5886 after resetting the Gemfile.lock and running
rake dependencies:update
andbundle install --no-deployment
. /cc @NimishaS