Skip to content
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

[backport][2.2]update how callback plugin gets copied and added to job container #1098

Merged
merged 1 commit into from Jun 15, 2022

Conversation

TheRealHaoLiu
Copy link
Member

back port of #1093 to release_2.2

when in containerized environment

  • always copy callback plugin to private_data_dir/artifacts/{job_id}/callback
  • appending to ANSIBLE_CALLBACK_PLUGINS with the runner callback plugin location (from private_data/artifacts)
  • unused method utils.callback_mount
  • update unit tests

Co-Authored-By: Alan Rominger arominge@redhat.com
Signed-off-by: Hao Liu the.real.hao.liu@gmail.com

…sible#1093)

when in containerized environment
- always copy callback plugin to private_data_dir/artifacts/{job_id}/callback
- appending to `ANSIBLE_CALLBACK_PLUGINS` with the runner callback plugin location (from private_data/artifacts)
- unused method `utils.callback_mount`
- update unit tests

Co-authored-by: Alan Rominger <arominge@redhat.com>
(cherry picked from commit 3b74385)
Signed-off-by: Hao Liu <the.real.hao.liu@gmail.com>
@TheRealHaoLiu TheRealHaoLiu requested a review from a team as a code owner June 15, 2022 14:02
@TheRealHaoLiu TheRealHaoLiu changed the base branch from devel to release_2.2 June 15, 2022 14:02
@nitzmahone
Copy link
Member

This is a pretty major functional change for a backport to an already-released version of runner- not saying we shouldn't merge it, but it's definitely risky.

Copy link
Member

@AlanCoding AlanCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing with AWX / controller looks like this doesn't introduce regressions obviously

@eqrx eqrx merged commit 7edaa77 into ansible:release_2.2 Jun 15, 2022
@TheRealHaoLiu TheRealHaoLiu deleted the backport/2.2/1093 branch June 16, 2022 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants