Created
August 27, 2015 14:22
-
-
Save bowrocker/03be57b4d733ade2bebc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| execute "cargo clean" do | |
| cwd "C:/Users/vagrant/delivery-cli" | |
| cwd node['delivery_builder']['repo'] | |
| end | |
| #execute "set > C:\outfile" 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\WindowsPowe | |
| rShell\v1.0\;C:\Program Files\OpenSSH\bin;C:\opscode\chef\bin\;C:\ProgramData\chocolatey\bin;C:\tools\mingw64\bin;C:\Pro | |
| gram Files (x86)\Git\cmdC:\opscode\chefdk\bin;C:\opscode\chefdk\bin;C:\Program Files (x86)\Git\cmdC:\chef\delivery-cli\b | |
| in;C:\chef\delivery-cli\bin;C:\Program Files (x86)\Git\cmdC:\Program Files\Rust nightly 1.4\bin;C:\Program Files\Rust ni | |
| ghtly 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 C:\ | |
| #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