Parallelize version update process to speed up
This commit is contained in:
parent
8feaf8264e
commit
40957a38d3
|
@ -53,6 +53,7 @@ function update_node_version {
|
|||
}
|
||||
|
||||
for version in "${versions[@]}"; do
|
||||
{
|
||||
# Skip "docs" and other non-docker directories
|
||||
[ -f "$version/Dockerfile" ] || continue
|
||||
|
||||
|
@ -73,6 +74,8 @@ for version in "${versions[@]}"; do
|
|||
[ -f "$version/$variant/Dockerfile" ] || continue
|
||||
update_node_version "$baseuri" "$versionnum" "$parentpath/Dockerfile-$variant.template" "$version/$variant/Dockerfile" "$variant"
|
||||
done
|
||||
} &
|
||||
done
|
||||
|
||||
wait
|
||||
info "Done!"
|
||||
|
|
Loading…
Reference in New Issue