You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--preload preload main camel jars into maven repository
84
94
--version shows the version of this script
85
95
96
+
--install-project install project on cluster nodes, use --project-dir <absolute_dir_path>, --project-requirements <absolute_file_path> or --requirements-in-project-dir
97
+
--project-dir <absolute_dir_path> directory of the user project to be pip installed on the cluster nodes
98
+
--project-requirements <absolute_file_path> file containing python dependencies to be pip installed on the cluster nodes via requirements file
99
+
--requirements-in-project-dir when true, the requirements file in the project directory will be used, if missing the requirements file will be ignored
100
+
--project-dep <dep> system project dependency that will use "apt-get install -y <dep>"
101
+
--project-pip-dep <dep> python dependency to be pip installed using "pip install <dep>"
102
+
86
103
--kind setup a development Kind cluster on localhost instead of deploying to current Kubernetes context
87
104
(destroy existing Kind cluster if any, set Kubernetes context to Kind)
88
105
@@ -335,6 +352,142 @@ worker_start_ray_commands:
335
352
- ray stop
336
353
- ulimit -n 65536; ray start --address=\$RAY_HEAD_IP:6379
337
354
EOF
355
+
356
+
if [ -n"$install_project" ];then
357
+
if [ -z"$project_dir" ];then
358
+
echo"ERROR: project directory name has not been specified, use flag --project-dir <absolute_path_to_dir>"
359
+
exit 1
360
+
fi
361
+
362
+
if [ -z"$(dirname "${project_dir}")" ];then
363
+
echo"ERROR: project directory specified: ${project_dir} but it is not an absolute path"
364
+
exit 1
365
+
fi
366
+
367
+
echo"--- mount project from directory $(dirname "${project_dir}")"
0 commit comments