-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Add Ubuntu 20.04 support, clean up testing, drop EOL versions & untested distros #296
Conversation
6c3ef55
to
dffbc15
Compare
dffbc15
to
0ac1bfa
Compare
@tas50 I wouldn’t normally suggest this, but the current state of tests passing is identical to what was passing with v7.2.0, so perhaps it’s ok to merge this in and proceed with more changes (or a release?) I’m gonna keep working on it, and see about getting RHEL, CentOS, Debian, and maybe Amazon Linux 2 to pass, at least with the packaged install. |
46e70fe
to
1733252
Compare
fb9b760
to
d46932b
Compare
6c72ded
to
3ff66f4
Compare
Simplify version conditional attributes
Ubuntu 18.04 installs PHP 7.2 by default via its APT packages. Now this cookbook will also build the latest PHP 7.2 from source, to match the packages.
Also, DRY up a few of the Debian family attributes that are common.
* CentOS 6 is EOL * opensusleap, fedora, freebsd are all not tested by CI, and have not passed any tests in a long time. Less is More.
The second condition will never be reached; dropping it.
* Less syntactic sugar, does the same thing. * Execute is simpler than specifically using the bash resource.
We know tese are tests. No need to repeat ourselves.
Some installs need the build tools.
3ff66f4
to
ba8dc66
Compare
ba8dc66
to
4a9a531
Compare
@@ -47,29 +48,25 @@ | |||
default['php']['fpm_ini_control'] = false | |||
|
|||
case node['platform_family'] | |||
when 'rhel', 'fedora', 'amazon' |
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.
it might be easier to just add this to the test matrix
Already dropped from tests & metadata.
4a9a531
to
ffb3391
Compare
@tas50 thanks for the notes! Updated per your suggestions, though some of the kitchen tests are still unlikely to pass. |
* Take advantage of RubySpec shared examples * Drop CentOS 6 * Update Amazon Linux * Add Ubuntu 20.04
It has been discontinued since 2019-01-10, so we should consider dropping it entirely.
Oracle & Scientific are variations on CentOS, so they come for free.
h/t to @tas50 for the suggestion
ffb3391
to
b3b47c1
Compare
Generated by 🚫 Danger |
You can drop ubuntu-1604 support if you want to, 18.04 and 20.04 are good enough for me |
Nice start to cleaning this up. Thanks @jeffbyrnes |
Description
Issues Resolved
n/a
Check List
All tests pass. See TESTING.md for details.All tests that passed in the previous release, and any new tests, pass.