mirror of https://github.com/ansible/ansible.git
[stable-2.5] Backport test infra bug fixes. (#48700)
* Download hello package from S3 for apt test. (cherry picked from commitpull/49145/head83fd82ca7e) * Fix passing of env vars to Shippable. (cherry picked from commit9979a32e5c) * Use correct interpreter for ansible-test injector. (cherry picked from commiteec21a3d12) * Correct ansible-test injector python behavior. Inject a symlink to the correct python into the copied injector directory instead of altering the shebang of the injector. This has the side-effect of also intercepting `python` for integration tests which simplifies cases where it needs to be directly invoked without collecting code coverage. (cherry picked from commitd6bf45cd9d) * Fix ansible-test merge change detection. (cherry picked from commitaa7fe919d3) * Fix ansible-test interpreter tracking. Track the interpreter for each copy of the injector by the interpreter path instead of the interpreter version. This avoids the possibility of mixing different interpreters with the same version. (cherry picked from commitfa53b4805b) * Use `state: latest` for `dpkg_selections` test. We don't need to test with `upgrade: dist`, since we're not trying to test the `apt` module. We just need to make sure the hold set by the `dpkg_selections` module is working. This change will avoid updating all the packages on the system, which is slow, unnecessary, and can cause the installed python to be changed. (cherry picked from commit136a2cca2f)
parent
e71d541895
commit
37274de7a2
Loading…
Reference in New Issue