-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[docker-ptf]: Update entrypoint entry for docker-ptf #836
Merged
pavel-shirshov
merged 20 commits into
sonic-net:master
from
pavel-shirshov:pavelsh/fix_broken_ptf
Jul 24, 2017
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4ea6318
Fix SAI submodule id
pavel-shirshov 991124c
Merge remote-tracking branch 'upstream/master'
pavel-shirshov 219c4d0
Merge remote-tracking branch 'upstream/master'
pavel-shirshov 1db3b3d
Merge remote-tracking branch 'upstream/master'
pavel-shirshov ebb58b6
Merge remote-tracking branch 'upstream/master'
pavel-shirshov f1a9ca2
Merge remote-tracking branch 'upstream/master'
pavel-shirshov cd5f07f
Merge remote-tracking branch 'upstream/master'
pavel-shirshov 045ae9d
Merge remote-tracking branch 'upstream/master'
pavel-shirshov 19adf1e
Merge remote-tracking branch 'upstream/master'
pavel-shirshov 832e2d4
Merge branch 'master' of https://github.com/Azure/sonic-buildimage
pavel-shirshov 4cf1e74
Install python modules from pypi not from debian repo
pavel-shirshov 07ee0f7
Remove get-pip and don't install parallel-ssh
pavel-shirshov 4f5795d
Use latest cffi
pavel-shirshov cf8e803
Update comments
pavel-shirshov 87fbfb3
Merge branch 'master' of https://github.com/Azure/sonic-buildimage
pavel-shirshov 6487c00
Merge branch 'master' of https://github.com/Azure/sonic-buildimage
pavel-shirshov 7d7a7b7
Merge branch 'master' of https://github.com/Azure/sonic-buildimage
pavel-shirshov f26cb50
Updated entrypoint for docker-ptf container
pavel-shirshov 3ead64f
Add main supervisord.conf file under /etc/supervisor. Run supervisord…
pavel-shirshov eb1bd42
Use correct syntax for entrypoint
pavel-shirshov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
it looks for supervisord.conf in /etc/supervisor/
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.
There is a "main" config file in /etc/supervisor/, and that file includes the /etc/supervisor/conf.d/ path, which is where the docker-specific config file lives.
I will say that naming the docker-specific config file "supervisor.conf" does make things a bit confusing. We could rename the docker-specific config files at some point to make it a bit more obvious.
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.
I can rename conf.d/supervisord.conf file to something else. But I think it's good enough name to show that we're changing supervisord configuration in the file.
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.
Currently, the conf.d/ file is only partial configuration, with the remaining (shared) configuration in /etc/supervisord.conf. Thus, I feel like the partial config file in conf.d should have a name specific to what it's configuring (along the lines of "container.conf"). This is a common convention for all /etc/*/conf.d/ config files. The fact that it resides under /etc/supervisor/conf.d/ should be enough to signify that it is modifying the supervisord configuration. See my comment below for more.