You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2021/12/16 20:08:51 UTC
[beam] branch master updated: Automatically prune local images before building an RC. (#16238)
This is an automated email from the ASF dual-hosted git repository.
tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 38dcb9e Automatically prune local images before building an RC. (#16238)
38dcb9e is described below
commit 38dcb9e13eac610a629cf05fa7f1ff08e5795e72
Author: tvalentyn <tv...@users.noreply.github.com>
AuthorDate: Thu Dec 16 12:07:37 2021 -0800
Automatically prune local images before building an RC. (#16238)
---
release/src/main/scripts/build_release_candidate.sh | 2 ++
website/www/site/content/en/contribute/release-guide.md | 4 ----
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/release/src/main/scripts/build_release_candidate.sh b/release/src/main/scripts/build_release_candidate.sh
index 8e60ea6..0c8e7ae 100755
--- a/release/src/main/scripts/build_release_candidate.sh
+++ b/release/src/main/scripts/build_release_candidate.sh
@@ -317,9 +317,11 @@ if [[ $confirmation = "y" ]]; then
fi
echo "[Current Step]: Stage docker images"
+echo "Note: this step will also prune your local docker image and container cache."
echo "Do you want to proceed? [y|N]"
read confirmation
if [[ $confirmation = "y" ]]; then
+ docker system prune -a -f
echo "============Staging SDK docker images on docker hub========="
cd ~
wipe_local_clone_dir
diff --git a/website/www/site/content/en/contribute/release-guide.md b/website/www/site/content/en/contribute/release-guide.md
index 9896640..370a572 100644
--- a/website/www/site/content/en/contribute/release-guide.md
+++ b/website/www/site/content/en/contribute/release-guide.md
@@ -561,10 +561,6 @@ See the source of the script for more details, or to run commands manually in ca
### Run build_release_candidate.sh to create a release candidate
-Before you start, run this command to make sure you'll be using the latest docker images:
-
- docker system prune -a
-
* **Script:** [build_release_candidate.sh](https://github.com/apache/beam/blob/master/release/src/main/scripts/build_release_candidate.sh)
* **Usage**