From 591cdb62ab7e7a2088c8340132b9da8dd60b6664 Mon Sep 17 00:00:00 2001 From: Jaymala Sinha Date: Tue, 3 Sep 2019 14:06:49 -0400 Subject: Run windows verification in powershell Signed-off-by: Jaymala Sinha --- scripts/bk_tests/bk_win_functional.ps1 | 13 +++++++++++++ scripts/bk_tests/bk_win_integration.ps1 | 13 +++++++++++++ scripts/bk_tests/bk_win_unit.ps1 | 14 ++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 scripts/bk_tests/bk_win_functional.ps1 create mode 100644 scripts/bk_tests/bk_win_integration.ps1 create mode 100644 scripts/bk_tests/bk_win_unit.ps1 (limited to 'scripts') diff --git a/scripts/bk_tests/bk_win_functional.ps1 b/scripts/bk_tests/bk_win_functional.ps1 new file mode 100644 index 0000000000..06695ccd97 --- /dev/null +++ b/scripts/bk_tests/bk_win_functional.ps1 @@ -0,0 +1,13 @@ +echo "--- system details" +$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture' +Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize +ruby -v +bundle --version + +echo "--- bundle install" +bundle install --jobs=3 --retry=3 --without omnibus_package docgen chefstyle + +echo "+++ bundle exec rake" +bundle exec rake spec:functional + +exit $LASTEXITCODE \ No newline at end of file diff --git a/scripts/bk_tests/bk_win_integration.ps1 b/scripts/bk_tests/bk_win_integration.ps1 new file mode 100644 index 0000000000..c6cdd5e2b1 --- /dev/null +++ b/scripts/bk_tests/bk_win_integration.ps1 @@ -0,0 +1,13 @@ +echo "--- system details" +$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture' +Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize +ruby -v +bundle --version + +echo "--- bundle install" +bundle install --jobs=3 --retry=3 --without omnibus_package docgen chefstyle + +echo "+++ bundle exec rake" +bundle exec rake spec:integration + +exit $LASTEXITCODE \ No newline at end of file diff --git a/scripts/bk_tests/bk_win_unit.ps1 b/scripts/bk_tests/bk_win_unit.ps1 new file mode 100644 index 0000000000..48ad3fe283 --- /dev/null +++ b/scripts/bk_tests/bk_win_unit.ps1 @@ -0,0 +1,14 @@ +echo "--- system details" +$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture' +Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize +ruby -v +bundle --version + +echo "--- bundle install" +bundle install --jobs=3 --retry=3 --without omnibus_package docgen chefstyle + +echo "+++ bundle exec rake" +bundle exec rake spec:unit +bundle exec rake component_specs + +exit $LASTEXITCODE \ No newline at end of file -- cgit v1.2.1