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

UX - show a plan #2500

Open
abitrolly opened this issue May 10, 2023 · 0 comments
Open

UX - show a plan #2500

abitrolly opened this issue May 10, 2023 · 0 comments
Labels
area/logging For all bugs related to logging kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment.

Comments

@abitrolly
Copy link

abitrolly commented May 10, 2023

Actual behavior

kaniko doesn't show what is it going to do.

$ /kaniko/executor --destination $IMAGE_TAG --context .
INFO[0000] Resolved base name golang:1.19 to builder    
INFO[0000] Retrieving image manifest golang:1.19        
INFO[0000] Retrieving image golang:1.19 from registry index.docker.io 
INFO[0000] Retrieving image manifest debian:11          
INFO[0000] Retrieving image debian:11 from registry index.docker.io
...

Expected behavior

$ /kaniko/executor --destination $IMAGE_TAG --context .

Going to build image `gitlab-elasticsearch-indexer:push-to-registry`
   context: <empty>
   push-to: registry.gitlab.com/abitrolly/gitlab-elasticsearch-indexer:push-to-registry
   registry-ui: https://gitlab.com/abitrolly/gitlab-elasticsearch-indexer/container_registry

INFO[0000] Resolved base name golang:1.19 to builder    
INFO[0000] Retrieving image manifest golang:1.19        
INFO[0000] Retrieving image golang:1.19 from registry index.docker.io 
INFO[0000] Retrieving image manifest debian:11          
INFO[0000] Retrieving image debian:11 from registry index.docker.io
...

EDIT: Actually context is not empty in the example above. I needed this output to troubleshoot empty context.

Additional Information

  • Dockerfile
    Please provide either the Dockerfile you're trying to build or one that can reproduce this error.
  • Build Context
    Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands)
  • Kaniko Image (fully qualified with digest)

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile
@aaron-prindle aaron-prindle added kind/feature-request area/logging For all bugs related to logging priority/p3 agreed that this would be good to have, but no one is available at the moment. priority/p2 High impact feature/bug. Will get a lot of users happy and removed priority/p3 agreed that this would be good to have, but no one is available at the moment. priority/p2 High impact feature/bug. Will get a lot of users happy labels May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logging For all bugs related to logging kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment.
Projects
None yet
Development

No branches or pull requests

2 participants