-
Notifications
You must be signed in to change notification settings - Fork 44
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
fix(builder): print buildpack output, decrease verbosity #60
Conversation
Note we still need to cleanup extraneous |
kubectl --namespace=$POD_NAMESPACE create -f /etc/${SLUG_NAME}.yaml >/dev/null | ||
|
||
# wait for pod to be running and then pull its logs | ||
until [ "`kubectl --namespace=$POD_NAMESPACE get pods -o yaml ${META_NAME} | grep "phase: " | awk {'print $2'}`" == "Running" ]; do |
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.
print something here to indicate that we've started the build?
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.
That $POD_NAMESPACE
and $META_NAME
are living dangerously without double quotes around them... but I see lots of other problems in this file. So I'm just going to run away and say this looks good to MEEEEeeeeee...
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.
@sgoings I'd love you to crush this file with some bash-fu. Feel free to do so (for beta)!
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 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.
@gabrtv wants to see it written in !shell which I think is a good idea especially since we could integrate with kubernetes apis here for better? success?
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.
Yes, this will be rewritten in Go soon: #29
testing locally... |
Closes #58 |
@gabrtv this looks to effectively stream logs from slugbuilder, but it still shows ENG000656:example-go aaronschlesinger$ echo "asd" >> README.md && git commit -a -m "Asd" && git push deis master
[master 66112e3] Asd
1 file changed, 1 insertion(+)
Counting objects: 267, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (122/122), done.
Writing objects: 100% (267/267), 3.02 MiB | 0 bytes/s, done.
Total 267 (delta 146), reused 241 (delta 131)
mc: Configuration written to [/var/minio-conf/config.json]. Please update your access credentials.
mc: Successfully created ‘/var/minio-conf/share’.
mc: Initialized share uploads ‘/var/minio-conf/share/uploads.json’ file.
mc: Initialized share downloads ‘/var/minio-conf/share/downloads.json’ file.
Added host ‘http://10.3.0.121:9000’ successfully.
mc: <ERROR> Unable to make bucket ‘http://10.3.0.121:9000/git’. The requested bucket name is not available.
‘nested-underdog.tar.gz’ -> ‘http://10.3.0.121:9000/git/home/nested-underdog:git-66112e38/tar’
Total: 2.97 MB, Transferred: 2.97 MB, Speed: 31.80 MB/s
.8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk 10.3.0.121:9000
mc: Configuration written to [/app/mc_config/config.json]. Please update your access credentials.
mc: Successfully created ‘/app/mc_config/share’.
mc: Initialized share uploads ‘/app/mc_config/share/uploads.json’ file.
mc: Initialized share downloads ‘/app/mc_config/share/downloads.json’ file.
Added host ‘http://10.3.0.121:9000’ successfully.
‘http://10.3.0.121:9000/git/home/nested-underdog:git-66112e38/tar’ -> ‘/tmp/slug.tgz’
Total: 2.97 MB, Transferred: 2.96 MB, Speed: 62.69 MB/s
8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk 10.3.0.121:9000
mc: Configuration written to [/app/mc_config/config.json]. Please update your access credentials.
mc: Successfully created ‘/app/mc_config/share’.
mc: Initialized share uploads ‘/app/mc_config/share/uploads.json’ file.
mc: Initialized share downloads ‘/app/mc_config/share/downloads.json’ file.
Added host ‘http://10.3.0.121:9000’ successfully.
‘http://10.3.0.121:9000/git/home/nested-underdog:git-66112e38/tar’ -> ‘/tmp/slug.tgz’
Total: 2.97 MB, Transferred: 2.96 MB, Speed: 62.69 MB/s
-----> Go app detected |
@arschles hmm i'm not seeing all of that output, but I agree we can shift output to |
Shifted some stuff to
|
@gabrtv alrighty. gave them LGTM for this then. |
fix(builder): print buildpack output, decrease verbosity
chore(go-dev): move to image fork hephy/go-dev:v1.25.1
Replaces #59.