Closed myii closed 4 years ago
@dafyddj Another issue that could be covered at the same time:
dev_server
.install_binary
.prod_server
.@dafyddj So I've prepared a comparison, before and after splitting the suites across the various instances:
Ran for 15 min 27 sec
Total time 42 min 11 sec
Ran for 9 min 5 sec
Total time 23 min 2 sec
The differences are significant. If you're OK with it, I'll add that to this PR.
@dafyddj I've added the commit to split the suites in Travis, so this is ready for review.
@dafyddj There's bad news on the horizon. As I thought I was done with this PR, all of the instances started failing (when they were working fine in my fork yesterday). Dug down and found out that the latest inspec
gem that has just been released (v4.17.7
) is resulting in undefined method
errors. Added a commit to restrict it to the previous version (v4.16.0
) and everything is working again.
A summary of the errors avoided (for the time being):
https://travis-ci.com/saltstack-formulas/vault-formula/jobs/239671364#L2219-L2220 (prod_server
):
>>>>>> Failed to complete #verify action: [undefined method `file' for #<#<Class:0x000055dca642a3c8>:0x000055dca642a2d8>
Did you mean? fail] on prod-server-ubuntu-1804-2019-2-py3
https://travis-ci.com/saltstack-formulas/vault-formula/jobs/239671365#L1925-L1926 (dev_server
):
>>>>>> Failed to complete #verify action: [undefined method `file' for #<#<Class:0x000055cdc9bcb5f0>:0x000055cdc9bd26e8>
Did you mean? fail] on dev-server-fedora-30-2019-2-py3
https://travis-ci.com/saltstack-formulas/vault-formula/jobs/239671366#L1515-L1520 (install_binary
):
× should not be installed
undefined method `sysv_service' for #<#<Class:0x0000558e533124a0>:0x0000558e533340a0>
× should not be enabled
undefined method `sysv_service' for #<#<Class:0x0000558e533124a0>:0x0000558e533340a0>
× should not be running
undefined method `sysv_service' for #<#<Class:0x0000558e533124a0>:0x0000558e533340a0>
@dafyddj Thanks for the review, I've committed the suggestions as a batch. Now due to these repo's settings (as outlined in #45), we can't merge this because of an org-wide issue we're currently having with opensuse
. I'll probably fix that in a separate PR, rebase this PR on top and merge it once it's successful.
:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: