-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(windows): test using GitHub Actions #70
ci(windows): test using GitHub Actions #70
Conversation
Best reviewed: commit by commit
Optimal code review plan
|
185d734
to
992eb48
Compare
After feedback in the Formulas' working group meeting, tested some modifications in another branch and getting much better performance now:
@dafyddj mentioned that he would be able to add Chocolatey to the pre-salted image used by Also need to add the relevant documentation to As for the |
@myii uploaded a new Vagrant box version. Do you want to try v2020.8.198? |
992eb48
to
1040cc8
Compare
Just confirming here that the new box works -- thanks. I've updated the PR accordingly, including removing unnecessary installations to make the Windows testing faster. So this PR should be ready for merging. The CC: @dafyddj @javierbertoli. |
kitchen.github.yml
Outdated
provisioner: | ||
salt_install: bootstrap | ||
salt_bootstrap_options: -pythonVersion 3 | ||
init_environment: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
init_environment: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would suggest just removing the unneeded lines.
kitchen.vagrant.yml
Outdated
provisioner: | ||
init_environment: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provisioner: | |
init_environment: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
Would also suggest changing the platform name to just |
1040cc8
to
ccd065b
Compare
Updated and finalised using myii/ssf-formula#304. |
ccd065b
to
c6e1380
Compare
``` Offenses: test/integration/default/controls/pkgs_spec.rb:27:5: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use iotop: instead. 'iotop': '' ^^^^^^^ test/integration/default/controls/pkgs_spec.rb:33:5: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use alien: instead. 'alien': '8.95-8.fc29', ^^^^^^^ test/integration/default/controls/pkgs_spec.rb:34:5: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use iotop: instead. 'iotop': '0.6-18.fc29' ^^^^^^^ test/integration/default/controls/pkgs_spec.rb:46:5: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use alien: instead. 'alien': '8.95', ^^^^^^^ test/integration/default/controls/pkgs_spec.rb:48:5: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use iotop: instead. 'iotop': '0.6-' ^^^^^^^ ```
c6e1380
to
f7a6fcf
Compare
a443b4e
to
bf0e39c
Compare
bf0e39c
to
d734d43
Compare
Thanks for the review, @dafyddj. |
🎉 This PR is included in version 0.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR progress checklist (to be filled in by reviewers)
What type of PR is this?
Primary type
[build]
Changes related to the build system[chore]
Changes to the build process or auxiliary tools and libraries such as documentation generation[ci]
Changes to the continuous integration configuration[feat]
A new feature[fix]
A bug fix[perf]
A code change that improves performance[refactor]
A code change that neither fixes a bug nor adds a feature[revert]
A change used to revert a previous commit[style]
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)Secondary type
[docs]
Documentation changes[test]
Adding missing or correcting existing testsDoes this PR introduce a
BREAKING CHANGE
?No.
Related issues and/or pull requests
Built upon the work done by @dafyddj in other formulas:
Brings in automated testing for Chocolatey as discussed in #60 (CC: @kartnico).
Describe the changes you're proposing
Add Windows testing for Chocolatey installations.
Pillar / config required to test the proposed changes
As provided.
Debug log showing how the proposed changes work
As seen in the GitHub Actions logs.
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context
@dafyddj As mentioned in Slack, I haven't managed to get the Vagrant testing working yet so I'd appreciate it if you have any suggestions for that.
Using this PR as a precursor to providing Windows testing configuration via. the
ssf-formula
.