Conversation
Attached issue: https://pulp.plan.io/issues/4968 |
Looks reasonable to me. |
1af2f78
to
6b2f719
Compare
I would leave static with default 'nginx'. As with this PR we will test both options of web servers we can use. |
I meant to use apache in 1 static and 2 dynamic scenarios, while nginx would take the remaining 2 static and 1 dynamic scenarios to max out the number of combinations we test without adding more entries to the already big test matrix. |
6b2f719
to
0df3fbb
Compare
f4fd60e
to
7819631
Compare
Does this also continue to test |
7819631
to
17a80d8
Compare
@bmbouter It does not. As that would double the testing time. |
If we can't test both, then I think |
I still believe this is helpful to test both web servers, already found one small issue with apache (my comment above with link to missing mods) because this pr. |
I agree the ideal is to test both. Can we test both? |
I believe only with extending scenarios (by 6 in this case) which prolong test time pretty much. |
I'm confused, does this mean we can test both? |
with this PR we are testing 3 scenarios with apache and 6 with nginx instead of all 9 with nginx. |
That sounds good to me then. |
Like this we test both, but to test both for all scenario it is not possible now. |
434a6be
to
c87930e
Compare
0d5ecc9
to
63313ea
Compare
63313ea
to
616cd56
Compare
616cd56
to
9cd7b23
Compare
8deefc3
to
be55db9
Compare
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.
I have the impression, you need to do the same manipulation for pulp_content_bind.
Don't we test that with molecule?
- proxy_http | ||
- ssl | ||
when: ansible_facts.os_family == "Debian" | ||
notify: reload apache |
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.
💯
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.
Fixing debian support for httpd should be a separate changelog entry (and commit, and bug), but the same PR. We want to let users know that we fixed it.
I do not see a need for separate bugs for all the issues you fixed, but still.
8accad0
to
0cfbca2
Compare
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.
LGTM!
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.
Great job fixing these issues, but see comments.
pulp_apache_url: 'localhost' | ||
pulp_configure_firewall: auto | ||
pulp_webserver_apache_api_bind: "{{ pulp_api_bind.startswith('unix') | ternary(pulp_api_bind + '|http://' + pulp_apache_url, 'http://' + pulp_api_bind ) }}" | ||
pulp_webserver_apache_content_bind: "{{ pulp_content_bind.startswith('unix') | ternary(pulp_content_bind + '|http://' + pulp_apache_url, 'http://' + pulp_content_bind ) }}" |
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.
Well done! This avoids the need to use separate tasks that set facts, which slows down the run.
However, since we do not document them, they are internal variables. So the variables names should begin with __ .
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 they should be variables, not defaults.
- proxy_http | ||
- ssl | ||
when: ansible_facts.os_family == "Debian" | ||
notify: reload apache |
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.
Fixing debian support for httpd should be a separate changelog entry (and commit, and bug), but the same PR. We want to let users know that we fixed it.
I do not see a need for separate bugs for all the issues you fixed, but still.
0cfbca2
to
d87dd05
Compare
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.
I believe all comments were addressed.
Would be nice, if your editor added a single linebreak at the end of files.
Also, i dont' know why the fips tests are broken.
I believe you mean variables main. I'll update that one. I think not the case in the CHANGES files.
|
Change 2 dynamic and 1 static test to use apache instead of nginx. Add install mods for apache and removing default vhost for Debian host. closes: #4968 https://pulp.plan.io/issues/4968 closes: #7524 https://pulp.plan.io/issues/7524
d87dd05
to
2024e58
Compare
Change 2 dynamic and 1 static test to use apache instead of nginx.
Add install mods for apache and removing default vhost for Debian host.
closes: #4968
https://pulp.plan.io/issues/4968
closes: #7524
https://pulp.plan.io/issues/7524