-
Notifications
You must be signed in to change notification settings - Fork 165
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
Resolve issue #356 #365
Resolve issue #356 #365
Conversation
This looks good! |
At the moment, it will only display annotated docker secrets. I believe most users will actually configure |
Also, would it be possible to log git secrets? |
Those can definitely be future PRs 🙂 |
03efa41
to
6ec105f
Compare
Codecov Report
@@ Coverage Diff @@
## master #365 +/- ##
==========================================
- Coverage 67.62% 67.60% -0.02%
==========================================
Files 80 80
Lines 3296 3294 -2
==========================================
- Hits 2229 2227 -2
Misses 796 796
Partials 271 271
Continue to review full report at Codecov.
|
Improve logging for the prepare step Before ``` $ logs -image tutorial-image -build 1 [prepare] prepare:fetch.go:88: Successfully cloned "https://github.com/spring-projects/spring-petclinic" @ "82cb521d636b282340378d80a6307a08e3d4a4c4" in path "/workspace" ``` After: ``` $ logs -image tutorial-image -build 5 [prepare] Loading secrets for "https://index.docker.io/v1/" from secret "tutorial-registry-credentials" [prepare] Successfully cloned "https://github.com/spring-projects/spring-petclinic" @ "400e3028f48a6c23f5156f6598dd10cb5e6a2849" in path "/workspace" ``` Signed-off-by: Sukhil Suresh <ssuresh@pivotal.io>
- Log loading of dockeconfigjson and dockercfg secrets - Log loading of git secrets - Refactored to avoid passing logger around Sample logging: ``` $ logs -image tutorial-image -build 7 [prepare] Loading secrets for "https://index.docker.io/v1/" from secret "tutorial-registry-credentials" [prepare] Loading secrets for "https://index.docker.io/v1/" from secret "docker-configjson" [prepare] Loading secrets for "registry.pivotal.io" from secret "docker-configjson" [prepare] Loading secrets for "git@github.com" from secret "git-ssh-auth" [prepare] Successfully cloned "https://github.com/sukhil-suresh/spring-petclinic" @ "6108a8a7c2f82ed37968db017e3ff120fb5b2265" in path "/workspace" ``` Signed-off-by: Sukhil Suresh <ssukhil@vmware.com>
6ec105f
to
908282b
Compare
Nice! |
Improve logging for the prepare step
Before
After:
Signed-off-by: Sukhil Suresh ssuresh@pivotal.io