Skip to content

Commit 53e9349

Browse files
authored
Fix breeze kind-cluster deploy failing with ECONREFUSED (#17293)
Currently, kind-cluster deploy fails occasionally due to yarn install when compiling assets. This PR fixes it by using the recommended option --network-concurrency=1 when running yarn install
1 parent ac0c2d1 commit 53e9349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docker/compile_www_assets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function compile_www_assets() {
3535
www_dir="$(python -m site --user-site)/airflow/www"
3636
fi
3737
pushd ${www_dir} || exit 1
38-
yarn install --frozen-lockfile --no-cache
38+
yarn install --frozen-lockfile --no-cache --network-concurrency=1
3939
yarn run prod
4040
find package.json yarn.lock static/css static/js -type f | sort | xargs md5sum > "${md5sum_file}"
4141
rm -rf "${www_dir}/node_modules"

0 commit comments

Comments
 (0)