-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
ansible: Update to latest supported releases #48082
Conversation
Looks good! Any chance this can get merged? |
@GrahamcOfBorg build ansible_2_5 ansible_2_6 ansible_2_7 |
@@ -19,6 +19,10 @@ pythonPackages.buildPythonPackage rec { | |||
patchShebangs bin/ansible-lint | |||
''; | |||
|
|||
preBuild = '' | |||
export HOME="$TMP" |
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.
Why is this needed?
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.
not sure, see original PR message
(only known users can invoke the bot) Could you please split each updates in its own commit? Also for the removal of v2.4 : it needs to be documented in the release notes for 19.03 |
@GrahamcOfBorg build ansible_2_7 |
Success on x86_64-linux (full log) Attempted: ansible_2_7 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: ansible_2_7 Partial log (click to expand)
|
@GrahamcOfBorg build ansible_2_6 |
Success on x86_64-linux (full log) Attempted: ansible_2_6 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: ansible_2_6 Partial log (click to expand)
|
@GrahamcOfBorg build ansible_2_5 |
Success on aarch64-linux (full log) Attempted: ansible_2_5 Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: ansible_2_5 Partial log (click to expand)
|
@c0bw3b thanks for the recommendations, I'll update the PR. |
@GrahamcOfBorg build ansible_2_5 ansible_2_6 ansible_2_7 |
Success on x86_64-linux (full log) Attempted: ansible_2_5, ansible_2_6, ansible_2_7 Partial log (click to expand)
|
Security label because of CVE-2018-16837 |
Success on aarch64-linux (full log) Attempted: ansible_2_5, ansible_2_6, ansible_2_7 Partial log (click to expand)
|
Thank you @sengaya |
Motivation for this change
Update to latest supported ansible releases, see https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#release-status
Things done
removed ansible 2.4updated to latest minor release for 2.5 + 2.6
added ansible 2.7
Tested using sandboxing (nix.useSandbox on NixOS, or option
sandbox
innix.conf
on non-NixOS)Built on platform(s)
Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
Tested compilation of all pkgs that depend on this change using
nix-shell -p nox --run "nox-review wip"
Tested execution of all binary files (usually in
./result/bin/
)Determined the impact on package closure size (by running
nix path-info -S
before and after)Fits CONTRIBUTING.md.
I had to add the
preBuild
step for ansible-lint because some tests failed duringnix-shell -p nox --run "nox-review wip"
. I don't really understand why this was no issue before this change.cc @jgeerds @joamaki