• Kubernetes Submit Queue's avatar
    Merge pull request #40120 from ixdy/bazel-release-tars · a374d277
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    bazel: add a config setting to control embedding kubernetes-src.tar.gz
    
    **What this PR does / why we need it**: currently a change anywhere in the tree will cause `kubernetes-src.tar.gz` to need to be regenerated, and thus also the server and node tarballs. All of these operations are slow, so for the sake of developer productivity, only include `kubernetes-src.tar.gz` when we need it (e.g. if we were doing a real release).
    
    I don't have metrics on how much of an effect this has, but I expect it should help incremental builds, especially those that don't affect any node/server targets.
    
    To embed the srcs tarball with this change, you'd run
    ```console
    bazel build //build/release-tars --define EMBED_LICENSE_TARGETS=true
    ```
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    a374d277
Name
Last commit
Last update
..
build-image Loading commit data...
cni Loading commit data...
debian-iptables Loading commit data...
debs Loading commit data...
lib Loading commit data...
pause Loading commit data...
release-tars Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
common.sh Loading commit data...
copy-output.sh Loading commit data...
make-build-image.sh Loading commit data...
make-clean.sh Loading commit data...
push-federation-images.sh Loading commit data...
release.sh Loading commit data...
run.sh Loading commit data...
shell.sh Loading commit data...
util.sh Loading commit data...