Skip to content

Commit

Permalink
Add replication plugin to Opensearch 1.1 build manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Kumar <karanas@amazon.com>
  • Loading branch information
ankitkala authored and saikaranam-amazon committed Sep 27, 2021
1 parent fe546e3 commit 304961e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions bundle-workflow/tests/test_run_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def test_main(self, mock_temp, mock_repo, mock_recorder, mock_builder, *mocks):
any_order=True,
)

self.assertEqual(mock_builder.call_count, 14)
self.assertEqual(mock_builder.return_value.build.call_count, 14)
self.assertEqual(mock_builder.return_value.export_artifacts.call_count, 14)
self.assertEqual(mock_builder.call_count, 15)
self.assertEqual(mock_builder.return_value.build.call_count, 15)
self.assertEqual(mock_builder.return_value.export_artifacts.call_count, 15)

# the output manifest is written
mock_recorder.return_value.write_manifest.assert_called()
2 changes: 1 addition & 1 deletion bundle-workflow/tests/test_run_checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ def test_main(self, mock_temp, mock_repo):
any_order=True,
)

self.assertEqual(mock_repo.call_count, 14)
self.assertEqual(mock_repo.call_count, 15)
4 changes: 2 additions & 2 deletions bundle-workflow/tests/test_run_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def test_main(self, mock_temp, mock_repo, mock_ci, *mocks):
)

# each component gets checked out and checked
self.assertEqual(mock_repo.call_count, 14)
self.assertEqual(mock_ci.return_value.check.call_count, 14)
self.assertEqual(mock_repo.call_count, 15)
self.assertEqual(mock_ci.return_value.check.call_count, 15)
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_1_1(self):
self.assertEqual(manifest.version, "1.0")
self.assertEqual(manifest.build.name, "OpenSearch")
self.assertEqual(manifest.build.version, "1.1.0")
self.assertEqual(len(manifest.components), 14)
self.assertEqual(len(manifest.components), 15)
# opensearch component
opensearch_component = manifest.components[0]
self.assertEqual(opensearch_component.name, "OpenSearch")
Expand Down
4 changes: 3 additions & 1 deletion manifests/1.1.0/opensearch-1.1.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ components:
- name: security
repository: https://github.com/opensearch-project/security.git
ref: "1.1"
- name: cross-cluster-replication
repository: https://github.com/opensearch-project/cross-cluster-replication.git
ref: "1.1"
- name: performance-analyzer-rca
repository: https://github.com/opensearch-project/performance-analyzer-rca.git
ref: "1.1"
Expand Down Expand Up @@ -86,4 +89,3 @@ components:
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version

0 comments on commit 304961e

Please sign in to comment.