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

[dockers] Update critical_processes file syntax #4831

Merged
merged 6 commits into from
Jun 26, 2020
Merged

[dockers] Update critical_processes file syntax #4831

merged 6 commits into from
Jun 26, 2020

Commits on Jun 23, 2020

  1. [supervisorctl] The file of critical_processes includes two different…

    … entries. One
    
    kind of entry is "program:xxx" which indicates a critical process.
    Another is "group:xxx" which indicates a group of critical processes
    managed by supervisord using the name "xxx". I also updated the logic to
    parse the file critical_processes in supervisor-proc-event-listener script.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    be64f2e View commit details
    Browse the repository at this point in the history
  2. [supervisorctl] Change the "group name" to "group names".

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    0c88fc6 View commit details
    Browse the repository at this point in the history
  3. [supervisorctl] Update the comment about the content of

    critical_processes file.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    ce883fb View commit details
    Browse the repository at this point in the history
  4. [docker] reorganize the function get_critical_group_and_process_list()

    to handle the cases such as the process name is "group" or "program".
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    385c751 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c48916 View commit details
    Browse the repository at this point in the history
  6. [dockers] Use '' instead of "" in split() function to keep consistent.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    e7a2b41 View commit details
    Browse the repository at this point in the history