summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-06-27 10:11:10 -0700
committerTim Smith <tsmith84@gmail.com>2019-06-27 10:11:10 -0700
commit382c01b00e93512fbe63d16fe3245d701dc4191c (patch)
tree0b9d198397304df2f6e4e17d52c55c6bb3c819d6
parent7e0dc7e7dec232d3b4f74f7e9bde422f4334aaa8 (diff)
downloadohai-382c01b00e93512fbe63d16fe3245d701dc4191c.tar.gz
Switch from Appveyor to Buildkite for Windows PR testing
One CI system to rule them all Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/verify.pipeline.yml12
-rw-r--r--appveyor.yml47
2 files changed, 12 insertions, 47 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 44a48e2c..8bfdf667 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -33,3 +33,15 @@ steps:
expeditor:
executor:
docker:
+
+- label: "run-specs-windows"
+ command:
+ - bundle install --jobs=7 --retry=3
+ - bundle exec rake spec
+ expeditor:
+ executor:
+ docker:
+ environment:
+ - BUILDKITE
+ host_os: windows
+ shell: ["powershell", "-Command"]
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 72e54b17..00000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-version: "master-{build}"
-
-image: Visual Studio 2017
-platform:
- - x64
-
-cache:
- - vendor/bundle
-environment:
- matrix:
- - ruby_version: 25-x64
- - ruby_version: 26-x64
-
-clone_folder: c:\projects\ohai
-clone_depth: 1
-
-skip_commits:
- # version bumps by Expeditor happen as a separate commit after the merge, we can skip
- author: Chef Expeditor
- # if ONLY the files listed below are changed in a commit, skip
- files:
- - MAINTAINERS.md
- - MAINTAINERS.toml
- - CHANGELOG.md
- - RELEASE_NOTES.md
-
-skip_tags: true
-branches:
- only:
- - master
- - 14-stable
- - 13-stable
-
-install:
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- - SET BUNDLE_WITHOUT=debug:docs
- - echo %PATH%
- - bundle install --jobs 3 --retry 3
- - ruby --version
- - gem --version
- - bundler --version
-
-build: off
-
-test_script:
- - bundle exec rspec
- - bundle exec ohai