Closed derekgroh closed 5 years ago
Thanks for adding this @derekgroh Windows support is important here. I’ll look at the options for ci testing and review a little more in detail tomorrow.
Anything I can do to further assist?
@webframp travis supports windows in limited capacity I think it might be easier/better to simply have it handled by appveyor or similar with more broad windows support, here is an example setup: https://github.com/chef-cookbooks/windows/blob/master/appveyor.yml
@majormoses I’m a fan of adding .gitattributes
for cross platform repo work, sounds reasonable for this case.
I’m interested in any input from @cwjohnston or @amdprophet for how they want to handle windows versions and the release process there.
Added support for :remove
action
Added appveyor files (not sure how to get this into a pipeline)
I’d be ok with appveyor and could set it up, but would want to check with any preference from Sensu org in general for Windows ci first
@webframp they use it in core for building their packages: https://github.com/sensu/sensu-go/blob/5.10.1/.appveyor.yml
I've added this project to our AppVeyor account; I'm thinking the next commit to this branch should kick off a test there.
Thanks @cwjohnston !
@cwjohnston Who's the goto to ask about appveyor setup? I seem to be missing something on the lint tests in the test environment, but they are successful locally.
Looks like appveyor and travis have different cookstyle versions:
Will be good to keep those consistent.
Should we favor TravisCI linting and just use appveyor for integration testing?
Should we favor TravisCI linting and just use appveyor for integration testing?
I think that makes sense
@derekgroh you rock, thank you for this!
Pull Request Checklist
46 - Add support for installing Sensu Agent MSI on Windows
General
[X] Update Changelog following the conventions laid out here
[X] Update README with any necessary configuration snippets
[X] Cookstyle (rubocop) passes
[X] Foodcritic passes
[X] Rspec (unit tests) passes
[X] Inspec (integration tests) passes
New Features
[X] Added a Testing Artifact as either an automated test or a manual artifact on the PR.
[X] Added documentation for it to the
README.md
Purpose
Allows cookbook to handle installation and configuration of the Windows (5.10.0) MSI.
Known Compatibility Issues
Long term implementation does not support using the latest version, until a package mechanism is created. This will most likely occur via Chocolatey in the future.