Skip to content

Commit

Permalink
Assemble packages with minimal plugin set when "test" variable is set…
Browse files Browse the repository at this point in the history
… to "true"
  • Loading branch information
f-galland committed Jan 15, 2024
1 parent a70b048 commit 1e61cb0
Showing 1 changed file with 33 additions and 26 deletions.
59 changes: 33 additions & 26 deletions scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,39 @@

set -ex

# Minimum required plugins
# plugins=(
# "performance-analyzer"
# "opensearch-security"
# )

plugins=(
"alerting" # "opensearch-alerting"
"opensearch-job-scheduler"
"opensearch-anomaly-detection" # Requires "opensearch-job-scheduler"
"asynchronous-search" # "opensearch-asynchronous-search"
"opensearch-cross-cluster-replication"
"geospatial" # "opensearch-geospatial"
"opensearch-index-management"
"opensearch-knn"
"opensearch-ml-plugin" # "opensearch-ml"
"neural-search" # "opensearch-neural-search"
"opensearch-notifications-core"
"notifications" # "opensearch-notifications". Requires "opensearch-notifications-core"
"opensearch-observability"
"performance-analyzer" # "opensearch-performance-analyzer"
"opensearch-reports-scheduler"
"opensearch-security"
"opensearch-security-analytics"
"opensearch-sql-plugin" # "opensearch-sql"
)
### The $test variable determines whether we include a minimalistic
### or the full set of OpenSearch plugins

test=${test:-false}

if ( $test )
then
plugins=(
"performance-analyzer"
"opensearch-security"
)
else
plugins=(
"alerting" # "opensearch-alerting"
"opensearch-job-scheduler"
"opensearch-anomaly-detection" # Requires "opensearch-job-scheduler"
"asynchronous-search" # "opensearch-asynchronous-search"
"opensearch-cross-cluster-replication"
"geospatial" # "opensearch-geospatial"
"opensearch-index-management"
"opensearch-knn"
"opensearch-ml-plugin" # "opensearch-ml"
"neural-search" # "opensearch-neural-search"
"opensearch-notifications-core"
"notifications" # "opensearch-notifications". Requires "opensearch-notifications-core"
"opensearch-observability"
"performance-analyzer" # "opensearch-performance-analyzer"
"opensearch-reports-scheduler"
"opensearch-security"
"opensearch-security-analytics"
"opensearch-sql-plugin" # "opensearch-sql"
)
fi

# ====
# Usage
Expand Down

0 comments on commit 1e61cb0

Please sign in to comment.