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

docs: Have Makefile print generated image tags when running with V=0 #27250

Merged
merged 1 commit into from
Aug 4, 2023

Commits on Aug 3, 2023

  1. docs: Have Makefile print generated image tags when running with V=0

    When building Docker images for documentation with V=0, the Makefile for
    documentation does not print the name of the generated images.
    
    One particular example of calling the Makefile with V=0 is for Cilium's
    runtime tests in CI, with .travis/build.sh calling:
    
        V=0 make -j 2 --quiet
    
    This calls the default target for Cilium's main Makefile, which relies
    (among others) on the "postcheck" target, which in turns calls the
    "check" target from Documentation/Makefile, passing the V=0 flag. The
    absence of the "docs-builder" string from the logs make it harder to
    figure out whether the workflow successfully built the image.
    
    This commit simply adds the image tag (passed to Docker with "--tag",
    but not actually containing the version tag) to the invocation of
    $(ECHO_DOCKER), so that Documentation/Makefile can print it when we
    request a non-verbose build with V=0.
    
    Signed-off-by: Quentin Monnet <quentin@isovalent.com>
    qmonnet committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    803221a View commit details
    Browse the repository at this point in the history