File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -755,6 +755,19 @@ build_zip_package() {
755755 return 0
756756}
757757
758+ skip_installation_step () {
759+ local package=$1
760+ if ! is_serverless ; then
761+ return 1
762+ fi
763+
764+ if [[ " $package " == " security_detection_engine" ]]; then
765+ return 0
766+ fi
767+
768+ return 1
769+ }
770+
758771install_package () {
759772 local package=$1
760773 echo " Install package: ${package} "
@@ -814,10 +827,7 @@ run_tests_package() {
814827 fi
815828 fi
816829
817- if ! is_serverless ; then
818- # Just run install command on non serverless projects,
819- # "elastic-paackage test asset" command already installs the package via upload API
820- # as it does "elastic-package install" command
830+ if ! skip_installation_step " ${package} " ; then
821831 echo " --- [${package} ] test installation"
822832 if ! install_package " ${package} " ; then
823833 return 1
You can’t perform that action at this time.
0 commit comments