bootstrap: Add a note about cleaning bootstrap/
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 11 May 2023 11:33:45 +0000 (13:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 6 Jun 2023 08:35:36 +0000 (08:35 +0000)
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
bootstrap/README.md

index d9a60878f614b17043f9e5c879f0b31599253705..6b3de983728d19f54ef351d10fdb7c0a8fd46001 100644 (file)
@@ -34,6 +34,15 @@ Just calculate the sha1sum for consistency checks:
 The checksum needs to be added as `SAMBA_CI_CONTAINER_TAG` in
 the toplevel .gitlab-ci-main.yml file.
 
+NOTE: Remember to remove any files not tracked by git from the bootstrap
+directory before running bootstrap/template.py.
+
+  git clean -dfx bootstrap
+
+Otherwise the files will affect the checksum but because they are not
+checked in and won't be pushed to CI system the checksum calculated there
+won't match.
+
 ## User Stories
 
 As a gitlab-ci user, I can use this tool to build new CI docker images: