Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

platform_version in Travis #44

Closed
arm4b opened this issue Nov 22, 2016 · 7 comments
Closed

platform_version in Travis #44

arm4b opened this issue Nov 22, 2016 · 7 comments

Comments

@arm4b
Copy link
Member

arm4b commented Nov 22, 2016

In Travis we see confusing platform_version when running ChefSpec unit tests. It's not clear what that really means.

After some research, here is what is platform_version and how it should be:

Example found in mysql chef cookbook:

So it might be good to follow that example by running unit tests with different platform settings and remove platform hardcoding from spec_helper.rb

@arm4b arm4b mentioned this issue Nov 22, 2016
7 tasks
@shortdudey123
Copy link
Contributor

nice find!

@shortdudey123
Copy link
Contributor

Looks like yum-erlang_solutions is the one causing the platform_version output as well as the deprecation warnings

@shortdudey123
Copy link
Contributor

Solved by sous-chefs/yum-erlang_solutions#11

@arm4b
Copy link
Member Author

arm4b commented Dec 1, 2016

Good catch!

@arm4b arm4b changed the title platform_version in Travis Multi Platform Unit Testing in Travis Dec 1, 2016
@shortdudey123
Copy link
Contributor

PR merged on the yum-erlang_solutions side
Should be picked up in the next supermarket release

@shortdudey123
Copy link
Contributor

Looks like it was already released
sous-chefs/yum-erlang_solutions@168e72b

Restarted the master branch build on travis and it cleaned up the extra output
https://travis-ci.org/StackStorm/chef-stackstorm/jobs/179058632

@arm4b
Copy link
Member Author

arm4b commented Dec 6, 2016

Yay! Thanks @shortdudey123, looks much cleaner now 👍

I renamed the Issue just not to open another one, related to multi-platform Unit Testing.

But you can close this Issue as "resolved" & open another one with the correct description, if you want.

@arm4b arm4b changed the title Multi Platform Unit Testing in Travis platform_version in Travis Dec 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants