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

Mount the stdout callback plugin for containerized runs #957

Merged
merged 14 commits into from Feb 1, 2022

Commits on Jan 18, 2022

  1. Support custom stdout callbacks

    shanemcd authored and AlanCoding committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    b01fca4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b83c6b View commit details
    Browse the repository at this point in the history
  3. Condense callback to 1 class, enable in BaseConfig

    This patch contains actions suggested in review comments
      at ansible#763
      plus some more
    
    In display_callback/module.py, avoid modifying os.environ
    
    Remove parent class AWXDefaultCallbackModule, because it makes
      less since when there is not a job vs. adhoc class split
    
    As a consequence, only 1 parent callback class is needed
      the class which is the default, in absense of awx_display
    
    Move modifications of self.env from
      the runner module to the config module
      to be most consistent with the rest of the code base
    AlanCoding committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    0a705c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    837e83e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f098e00 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    49026da View commit details
    Browse the repository at this point in the history
  7. Remove test hack

    AlanCoding committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    d7eb76a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    70be623 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ee15e0b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dd8349f View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. Code and test changes for callback volume mount

    Hook in stdout callback volume mount
    
    Share pdd and plugin mounts with the NONE base execution mode
    
    Remove PYTHONPATH assertions no longer relevant
    
    Attempt to patch up docs
    Refinement of docs page for the refactored display callback
    AlanCoding committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    55d716c View commit details
    Browse the repository at this point in the history
  2. Change mount location and introduce shared method

    This changes the location of the mount for the stdout callback
    prior value was at
    /home/runner/.ansible/plugins
    
    new mount location is at
    /home/runner/.ansible/plugins/callback
    
    This is more targeted and more desirable for this reason.
    We cannot mount single-files like awx_display.py,
    due to permissions error, which
      may be because changes are needed in the Dockerfile
      or some other reason
    
    To carry this out, new utils method callback_mount is introduced
      to make such changes easier to carry out in the future
    AlanCoding committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    851f4d3 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Configuration menu
    Copy the full SHA
    df44cea View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Configuration menu
    Copy the full SHA
    3c3a461 View commit details
    Browse the repository at this point in the history