Skip to content

Commit dcfdaf2

Browse files
committed
fix(docker): hash the pip lock into the dev image tag
DockerTag.sh did not include requirements-common_lock.txt. A change to the pinned pip dependencies kept the old tag. CI then reused the stale image. The new dependencies were never built. The fault appeared much later, when an unrelated commit changed the tag. Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
1 parent 0eabbfb commit dcfdaf2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎etc/DockerTag.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [[ "$@" == "-dev" ]]; then
88
"./docker/Dockerfile.dev"
99
"./Dockerfile"
1010
"./etc/DependencyInstaller.sh"
11+
"./etc/requirements-common_lock.txt"
1112
"./tools/OpenROAD/etc/DependencyInstaller.sh"
1213
)
1314
cat "${file_list[@]}" | sha256sum | awk '{print substr($1, 1, 6)}'

0 commit comments

Comments
 (0)