engine: docker-compose manifest and global logs respect the same filters#919
Merged
jazzdan merged 4 commits intoJan 4, 2019
Merged
Conversation
nicks
reviewed
Jan 4, 2019
nicks
left a comment
Contributor
There was a problem hiding this comment.
hmmm...i don't see what this has to do with the attached clubhouse ticket?
| var _ store.Subscriber = &DockerComposeLogManager{} | ||
|
|
||
| func shouldFilterDCLog(p []byte) bool { | ||
| if bytes.Contains(p, []byte("Attaching to")) { |
Contributor
There was a problem hiding this comment.
this seems way too broad? and will catch lots of legit things.
Contributor
Author
There was a problem hiding this comment.
Yeah should be a "starts with" check?
Contributor
Author
|
@nicks sorry I should have made more clear: I saw this as a TODO in the code and decided to fix it as I re-familiarize myself with the log code. |
jazzdan
force-pushed
the
dmiller/ch1205/docker-compose-global-logs-dont-respect-filters
branch
5 times, most recently
from
January 4, 2019 17:48
b809b52 to
58339a6
Compare
jazzdan
force-pushed
the
dmiller/ch1205/docker-compose-global-logs-dont-respect-filters
branch
from
January 4, 2019 18:43
58339a6 to
1d98151
Compare
maiamcc
approved these changes
Jan 4, 2019
|
|
||
| err = stdout.WaitUntilContains("listening on", 5*time.Second) | ||
| if isCircleCI() { | ||
| err = stderr.WaitUntilContains("listening on", 5*time.Second) |
Contributor
There was a problem hiding this comment.
womp womp. but legit.
I think i'd prefer combinedOut.WaitUntilContains and then we wouldn't need this conditional -- any way to do that?
maiamcc
reviewed
Jan 4, 2019
| cmd := exec.Command("docker", "run", "--name", "tilt-registry", "-p", "5005:5000", "registry:2") | ||
| cmd.Stdout = stdout | ||
| cmd.Stderr = stderr | ||
| cmd.Stderr = stdout |
Contributor
There was a problem hiding this comment.
this should probs have a comment?
nicks
deleted the
dmiller/ch1205/docker-compose-global-logs-dont-respect-filters
branch
March 31, 2021 16:06
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.