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

silverback build needs some UX feedback that it's doing something #132

Open
fubuloubu opened this issue Oct 10, 2024 · 2 comments
Open

silverback build needs some UX feedback that it's doing something #132

fubuloubu opened this issue Oct 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@fubuloubu
Copy link
Member

Probably have it print out the steps it is doing through subprocessing

@fubuloubu fubuloubu added the bug Something isn't working label Oct 10, 2024
Copy link

linear bot commented Oct 10, 2024

@fubuloubu
Copy link
Member Author

Took about 3 minutes to display this:

$ silverback build
Error during docker build:
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

The command '/bin/sh -c ape plugins install .' returned a non-zero code: 1

Traceback (most recent call last):
  File ".local/bin/silverback", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "site-packages/silverback/_cli.py", line 179, in build
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "cpython-3.12.6-linux-x86_64-gnu/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'build', '-f', './.silverback-images/Dockerfile.compliance', '-t', 'compliance:latest', '.']' returned non-zero exit status 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant