Skip to content

Commit

Permalink
Auto generate test manifest alongside input manifest in manifest upda…
Browse files Browse the repository at this point in the history
…te (#4977)

Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Sep 3, 2024
1 parent 676c8f0 commit 30f531d
Show file tree
Hide file tree
Showing 20 changed files with 683 additions and 30 deletions.
143 changes: 143 additions & 0 deletions manifests/2.16.1/opensearch-2.16.1-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
---
schema-version: '1.0'
name: OpenSearch
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: alerting
integ-test:
test-configs:
- with-security
- without-security
additional-cluster-configs:
plugins.destination.host.deny_list:
- 10.0.0.0/8
- 127.0.0.1
bwc-test:
test-configs:
- with-security
- name: anomaly-detection
integ-test:
build-dependencies:
- job-scheduler
test-configs:
- with-security
- without-security
bwc-test:
test-configs:
- with-security
- name: flow-framework
integ-test:
test-configs:
- with-security
- without-security
- name: asynchronous-search
integ-test:
test-configs:
- with-security
- without-security
bwc-test:
test-configs:
- with-security
- name: cross-cluster-replication
integ-test:
topology:
- cluster_name: leader
data_nodes: 2
- cluster_name: follower
data_nodes: 2
test-configs:
- with-security
- without-security
- name: geospatial
integ-test:
test-configs:
- with-security
- without-security
- name: index-management
integ-test:
build-dependencies:
- job-scheduler
test-configs:
- with-security
- without-security
additional-cluster-configs:
path.repo:
- /tmp
bwc-test:
test-configs:
- with-security
- name: k-NN
integ-test:
test-configs:
- with-security
- without-security
- name: ml-commons
integ-test:
test-configs:
- with-security
- without-security
- name: neural-search
integ-test:
test-configs:
- with-security
- without-security
- name: notifications
working-directory: notifications
integ-test:
test-configs:
- with-security
- without-security
bwc-test:
test-configs:
- with-security
- name: opensearch-observability
integ-test:
test-configs:
- with-security
- without-security
bwc-test:
test-configs:
- with-security
- name: opensearch-reports
integ-test:
test-configs:
- with-security
- without-security
- name: security
integ-test:
test-configs:
- with-security
- name: security-analytics
integ-test:
test-configs:
- with-security
- without-security
- name: sql
integ-test:
test-configs:
- with-security
- without-security
additional-cluster-configs:
script.context.field.max_compilations_rate: 1000/1m
plugins.query.datasources.encryption.masterkey: 4fc8fee6a3fd7d6ca01772e5
bwc-test:
test-configs:
- with-security
- name: custom-codecs
integ-test:
test-configs:
- with-security
- without-security
- name: skills
integ-test:
test-configs:
- with-security
- without-security
- name: query-insights
integ-test:
test-configs:
- with-security
- without-security
2 changes: 1 addition & 1 deletion manifests/3.0.0/opensearch-3.0.0-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ schema-version: '1.0'
name: OpenSearch
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: alerting
Expand Down
6 changes: 6 additions & 0 deletions manifests/3.0.0/opensearch-dashboards-3.0.0-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ components:
additional-cluster-configs:
vis_builder.enabled: true
data_source.enabled: true
savedObjects.maxImportPayloadBytes: 10485760
server.maxPayloadBytes: 1759977
logging.json: false
data.search.aggs.shardDelay.enabled: true
csp.warnLegacyBrowsers: false
ci-groups: 9
- name: alertingDashboards
integ-test:
test-configs:
Expand Down
12 changes: 12 additions & 0 deletions manifests/templates/opensearch-dashboards/1.x/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
schema-version: '1.0'
name: OpenSearch Dashboards
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-integtest-v4
components:
- name: indexManagementDashboards
integ-test:
test-configs:
- with-security
- without-security
26 changes: 26 additions & 0 deletions manifests/templates/opensearch-dashboards/2.x/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
schema-version: '1.0'
name: OpenSearch Dashboards
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-almalinux8-opensearch-dashboards-integtest-v1
components:
- name: OpenSearch-Dashboards
integ-test:
test-configs:
- with-security
- without-security
additional-cluster-configs:
vis_builder.enabled: true
data_source.enabled: true
savedObjects.maxImportPayloadBytes: 10485760
server.maxPayloadBytes: 1759977
logging.json: false
data.search.aggs.shardDelay.enabled: true
csp.warnLegacyBrowsers: false
ci-groups: 9
- name: indexManagementDashboards
integ-test:
test-configs:
- with-security
- without-security
26 changes: 26 additions & 0 deletions manifests/templates/opensearch-dashboards/3.x/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
schema-version: '1.0'
name: OpenSearch Dashboards
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-almalinux8-opensearch-dashboards-integtest-v1
components:
- name: OpenSearch-Dashboards
integ-test:
test-configs:
- with-security
- without-security
additional-cluster-configs:
vis_builder.enabled: true
data_source.enabled: true
savedObjects.maxImportPayloadBytes: 10485760
server.maxPayloadBytes: 1759977
logging.json: false
data.search.aggs.shardDelay.enabled: true
csp.warnLegacyBrowsers: false
ci-groups: 9
- name: indexManagementDashboards
integ-test:
test-configs:
- with-security
- without-security
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
schema-version: '1.0'
name: OpenSearch Dashboards
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-almalinux8-opensearch-dashboards-integtest-v1
components:
- name: OpenSearch-Dashboards
integ-test:
test-configs:
- with-security
- without-security
additional-cluster-configs:
vis_builder.enabled: true
data_source.enabled: true
savedObjects.maxImportPayloadBytes: 10485760
server.maxPayloadBytes: 1759977
logging.json: false
data.search.aggs.shardDelay.enabled: true
csp.warnLegacyBrowsers: false
ci-groups: 9
- name: indexManagementDashboards
integ-test:
test-configs:
- with-security
- without-security
20 changes: 20 additions & 0 deletions manifests/templates/opensearch/1.x/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema-version: '1.0'
name: OpenSearch
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3
args: -e JAVA_HOME=/opt/java/openjdk-11
components:
- name: index-management
integ-test:
build-dependencies:
- job-scheduler
test-configs:
- with-security
- without-security
additional-cluster-configs:
path.repo: [/tmp]
bwc-test:
test-configs:
- with-security
20 changes: 20 additions & 0 deletions manifests/templates/opensearch/2.x/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema-version: '1.0'
name: OpenSearch
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: index-management
integ-test:
build-dependencies:
- job-scheduler
test-configs:
- with-security
- without-security
additional-cluster-configs:
path.repo: [/tmp]
bwc-test:
test-configs:
- with-security
2 changes: 1 addition & 1 deletion manifests/templates/opensearch/2.x/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build:
version: 'replace'
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: OpenSearch
Expand Down
20 changes: 20 additions & 0 deletions manifests/templates/opensearch/3.x/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema-version: '1.0'
name: OpenSearch
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: index-management
integ-test:
build-dependencies:
- job-scheduler
test-configs:
- with-security
- without-security
additional-cluster-configs:
path.repo: [/tmp]
bwc-test:
test-configs:
- with-security
2 changes: 1 addition & 1 deletion manifests/templates/opensearch/3.x/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build:
version: 'replace'
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: OpenSearch
Expand Down
20 changes: 20 additions & 0 deletions manifests/templates/opensearch/default/manifest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema-version: '1.0'
name: OpenSearch
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: index-management
integ-test:
build-dependencies:
- job-scheduler
test-configs:
- with-security
- without-security
additional-cluster-configs:
path.repo: [/tmp]
bwc-test:
test-configs:
- with-security
2 changes: 1 addition & 1 deletion manifests/templates/opensearch/default/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build:
version: 'replace'
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3
name: opensearchstaging/ci-runner:ci-runner-al2-opensearch-build-v1
args: -e JAVA_HOME=/opt/java/openjdk-21
components:
- name: OpenSearch
Expand Down
Loading

0 comments on commit 30f531d

Please sign in to comment.