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

Print the image name that's being built #728

Closed
ahmetb opened this issue Jun 21, 2018 · 0 comments
Closed

Print the image name that's being built #728

ahmetb opened this issue Jun 21, 2018 · 0 comments

Comments

@ahmetb
Copy link
Contributor

ahmetb commented Jun 21, 2018

Skaffold 0.7.0

I've reported this before, my general feeling while using skaffold is that a lot of things are going on (like many docker builds but I can't clearly tell what's building.

Take the sample output below. It's super difficult to tell two separate images being built and which one is failing (which artifact was the build for).

Please consider adding commands executed to logs, or add some separator between artifact builds indicating artifact name.

Step 10/11 : EXPOSE 3550
 ---> Running in 150ccdcf6a23
 ---> 5765c376ffc3
Step 11/11 : ENTRYPOINT /productcatalogservice
 ---> Running in 35947c7bc94b
 ---> 21ed0677bc68
Successfully built 21ed0677bc68
Successfully tagged d4f59d740fd86db565360b79c61cd951:latest
Successfully tagged productcatalogservice:20c2dd3-dirty-e3e8e3fa36ecd0da
Sending build context to Docker daemon  2.048kB
Step 1/7 : FROM grpc/python:1.0
 ---> b1058820060c
Step 2/7 : ENV PYTHONUNBUFFERED=0
 ---> Using cache
 ---> 761b67a669a2
Step 3/7 : ADD ./*.py /home/
FATA[0071] first build: exiting dev mode because the first build failed: running build for artifact: running build: ADD failed: no source files were specified
@ahmetb ahmetb changed the title Print the image name that's being build Print the image name that's being built Jun 21, 2018
@r2d4 r2d4 added the area/ux label Jun 21, 2018
@dgageot dgageot self-assigned this Jun 22, 2018
dgageot added a commit to dgageot/skaffold that referenced this issue Jun 22, 2018
Also prints the name in case of an error

Fixes GoogleContainerTools#728
dgageot added a commit to dgageot/skaffold that referenced this issue Jun 22, 2018
Also prints the name in case of an error

Fixes GoogleContainerTools#728
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants