-
-
Notifications
You must be signed in to change notification settings - Fork 882
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 http2
directive instead of listen
option
#1579
Conversation
The tests need to be updated to match this change. |
I can't test this with these containers, since nginx is getting pulled from nginx repo which does not have the latest nginx package. Locally we are testing with latest version, since it is required for this PR. |
You can specify an nginx version in an acceptance test's puppet code, just like in regular puppet code. Since the |
@kenyon Hey, can you tell me why archlinux is the only test failing? It seems like other Pull Requests have the same problem. |
@C24-AK Archlinux test failure is expected for now. |
@kenyon Hey, what to do on following error?
|
Yeah I don't know what is causing that. Some debugging required. |
Is this something I need to fix for this PR to be merged? |
That looks better, thanks! (Edit: The archlinux failure seems unrelated) Can you please combine your 40+ commits in a single one? From your working directory:
This will bring your editor listing all commits in your branch. Keep the first line unchanged, and replace Then push your updated branch:
|
53d0a54
to
62e870e
Compare
Hey @smortex, I did what you explained and it feels like all my changes are gone? Edit: I reverted it, should be fixed. |
adjusted http2 checks adding nginx version to acceptance tests revert changes set default version to 1.25.2 adjusted docs revert changes Test with repository which contains the latest version Test with default repo source and manage repo true Test without setting version Test with 1.25.1 Debugging facts Debugging facts Debugging facts add version to mail fix a test for 1.14 testing testing Debug and tracing set package_ensure disable rubocop disable rubocop set package to altest set package to latest mailspec remove tracing set http2 set http2 directive mailhost mailhost tracing revert revert revert http2 tests http2 tests http2 tests testing testing testing http2 test http2 test http2 test http2 test Fix http2 for old versions
62e870e
to
a0adee7
Compare
@smortex anything else to do or am I finished here? |
That look good, the failures seems unrelated, I tried to run the test again, maybe it will pass and if not maybe this will ring a bell to some other contributor? I added an in-line note about old test removal, and I wonder if we can keep them for now? |
@smortex I resolved your comment and added the tests |
I just reran the failing Puppet 7 job to see if it's consistent. |
I'm not sure how this change would be causing this error, but it seems like it is.
|
@kenyon I am not very familiar with this. How would I fix this issue? I appreciate any help |
Is this rdy to merge? @kenyon |
http2
directive instead of listen
option
Pull Request (PR) description
This PR is meant to create the http2 directive: http://nginx.org/en/docs/http/ngx_http_v2_module.html#http2
This Pull Request (PR) fixes the following issues
Fixes following warning in nginx:
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead.