-
Notifications
You must be signed in to change notification settings - Fork 107
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
Onboard refactored tox & Travis CI setup and configuration vol. 1 #142
Onboard refactored tox & Travis CI setup and configuration vol. 1 #142
Conversation
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.
Thank you, this is a lot nicer to review. I have just one small suggestion.
.travis/preinstall
Outdated
# Add python3-selinux package (needed by Molecule on selinux enabled systems, | ||
# because Molecule is using `copy` and `file` Ansible modules to setup the | ||
# container). | ||
if lsr_compare_pythons python -eq /usr/bin/python3; then |
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.
IMHO this comparison is hard to understand without knowing the previous context/digging deep into the code. How about adding a function venv_python_matches_system_python
to give this a more descriptive name?
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.
Good point.
2a9dd97
to
3a31f35
Compare
I accidentally squashed commits here instead of #143. Should I revert it back? |
No, I do not need the fixup PRs. |
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.
Thank you, LGTM!.
Add python3-selinux to the packages-to-be-installed list if venv python matches system python.
3a31f35
to
b563a09
Compare
This PR reflects the changes in linux-system-roles/template@110a587. The requested changes based on review concerning |
@i386x why two commits ? Shouldn't be each PR for one commit? Otherwise how will you split synchronization when you synchronize template to another role? |
@pcahyna I updated my previous comment to make it more clear: this PR was really based on one commit (linux-system-roles/template@110a587). However, those changes requested by reviewer related to |
This is a first batch of changes introduced by PR #133 (changes are introduced in batches to make reviews easier). List of changes introduced in this PR:
config.sh
andutils.sh
config.sh
unconditionally (config.sh
is now a part of template, so it is created by autosynchronization script if it does not exist)python
is a system python, installpython3-selinux
(python3-selinux
is installed by default; in case there is a reason to not installpython3-selinux
, it can be removed fromLSR_EXTRA_PACKAGES
byconfig.sh
)LSR_EXTRA_PACKAGES
in one command (increase performance)