Skip to content

Instantly share code, notes, and snippets.

@bowrocker
Created August 26, 2015 19:12
Show Gist options
  • Select an option

  • Save bowrocker/d26cbe4d7642459e919a to your computer and use it in GitHub Desktop.

Select an option

Save bowrocker/d26cbe4d7642459e919a to your computer and use it in GitHub Desktop.
execute "cargo clean" do
cwd node['delivery_builder']['repo']
end
execute "cargo test" do
if Chef::VERSION !~ /^12/
environment({
'RUST_TEST_TASKS' => "1"
})
end
environment({
'PATH' => 'C:\wix;C:\7-zip;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPower
Shell\v1.0\;C:\Program Files\OpenSSH\bin;C:\opscode\chef\bin\;C:\ProgramData\chocolatey\bin;C:\tools\mingw64\bin;C:\Prog
ram Files (x86)\Git\cmdC:\opscode\chefdk\bin;C:\opscode\chefdk\bin;C:\Program Files (x86)\Git\cmdC:\chef\delivery-cli\bi
n;C:\chef\delivery-cli\bin;C:\Program Files (x86)\Git\cmdC:\Program Files\Rust nightly 1.4\bin;C:\Program Files\Rust nig
htly 1.4\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Vim\vim74;C:\rubies\2.1.6-x64\bin',
'C_INCLUDE_PATH' => 'C:\OpenSSL-Win64\include;C:\tools\mingw64\x86_64-w64-mingw32\include',
'OPENSSL_INCLUDE_DIR' => 'C:\OpenSSL-Win64\include',
'OPENSSL_LIB_DIR' => 'C:\OpenSSL-Win64',
'SSL_CERT_FILE' => 'C:\rubies\2.1.6-x64\ssl\certs\cacert.pem'
})
cwd node['delivery_builder']['repo']
end
execute "Cucumber Behavioral Tests" do
command "make cucumber"
cwd node['delivery_builder']['repo']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment