Skip to content

Commit

Permalink
Update the 3.0.0 manifest to schema 1.1 with depends_on (#4408)
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <[email protected]>
  • Loading branch information
zelinh authored Feb 6, 2024
1 parent ef6d7c0 commit 1d4b326
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
34 changes: 33 additions & 1 deletion manifests/3.0.0/opensearch-3.0.0.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
schema-version: '1.0'
schema-version: '1.1'
build:
name: OpenSearch
version: 3.0.0
Expand Down Expand Up @@ -32,6 +32,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: opensearch-ml-plugin
depends_on:
- common-utils
- name: job-scheduler
repository: https://github.com/opensearch-project/job-scheduler.git
ref: main
Expand All @@ -50,6 +52,9 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- common-utils
- job-scheduler
- name: security
repository: https://github.com/opensearch-project/security.git
ref: main
Expand All @@ -73,6 +78,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- common-utils
- name: k-NN
repository: https://github.com/opensearch-project/k-NN.git
ref: main
Expand All @@ -91,6 +98,9 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- ml-commons
- k-NN
- name: geospatial
repository: https://github.com/opensearch-project/geospatial.git
ref: main
Expand All @@ -100,6 +110,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- job-scheduler
- name: anomaly-detection
repository: https://github.com/opensearch-project/anomaly-detection.git
ref: main
Expand All @@ -109,6 +121,9 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- common-utils
- job-scheduler
- name: cross-cluster-replication
repository: https://github.com/opensearch-project/cross-cluster-replication.git
ref: main
Expand All @@ -118,6 +133,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- common-utils
- name: notifications-core
repository: https://github.com/opensearch-project/notifications.git
ref: main
Expand All @@ -128,6 +145,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: opensearch-notifications-core
depends_on:
- common-utils
- name: notifications
repository: https://github.com/opensearch-project/notifications.git
ref: main
Expand All @@ -138,6 +157,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: notifications
depends_on:
- common-utils
- name: alerting
repository: https://github.com/opensearch-project/alerting.git
ref: main
Expand All @@ -147,6 +168,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: alerting
depends_on:
- common-utils
- name: sql
repository: https://github.com/opensearch-project/sql.git
ref: main
Expand All @@ -156,6 +179,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: opensearch-sql-plugin
depends_on:
- ml-commons
- name: asynchronous-search
repository: https://github.com/opensearch-project/asynchronous-search.git
ref: main
Expand All @@ -165,6 +190,8 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
depends_on:
- common-utils
- name: security-analytics
repository: https://github.com/opensearch-project/security-analytics.git
ref: main
Expand All @@ -173,6 +200,8 @@ components:
- windows
checks:
- gradle:properties:version
depends_on:
- common-utils
- name: index-management
repository: https://github.com/opensearch-project/index-management.git
ref: main
Expand All @@ -181,3 +210,6 @@ components:
- windows
checks:
- gradle:properties:version
depends_on:
- common-utils
- job-scheduler
2 changes: 1 addition & 1 deletion manifests/3.0.0/opensearch-dashboards-3.0.0.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
schema-version: '1.0'
schema-version: '1.1'
build:
name: OpenSearch Dashboards
version: 3.0.0
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_manifests/test_input_manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def tests_configs(self) -> None:
def test_3_0_0(self) -> None:
manifest = self.manifests["3.0.0"]
self.assertIsNotNone(manifest)
self.assertEqual(manifest.version, "1.0")
self.assertEqual(manifest.version, "1.1")
self.assertEqual(manifest.build.version, "3.0.0")
self.assertEqual(manifest.build.name, "OpenSearch")
self.assertEqual(manifest.build.filename, "opensearch")
Expand Down

0 comments on commit 1d4b326

Please sign in to comment.