Skip to content

Commit

Permalink
Add all tests
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Feb 16, 2022
1 parent a72a4ff commit 0c40e51
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/data/opensearch-build-1.1.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.1.0
Expand Down
1 change: 1 addition & 0 deletions tests/data/opensearch-dashboards-build-1.2.0.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
architecture: x64
distribution: None
id: 25b38c278cdd45efa583765d8ba76346
name: OpenSearch Dashboards
platform: linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
architecture: x64
distribution: None
id: f49ffcf2c1b341d1b29e147093689c6d
name: OpenSearch
platform: linux
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
platform: windows
distribution: None
architecture: x64
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c94ebec444a94ada86a230c9297b1d73
name: OpenSearch Dashboards
version: 1.1.0
Expand Down
3 changes: 2 additions & 1 deletion tests/tests_assemble_workflow/test_bundles.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-1.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
Expand Down Expand Up @@ -42,6 +42,7 @@ def test_bundle_opensearch_invalid(self) -> None:
"name": "invalid",
"platform": "linux",
"architecture": "x86",
"distribution": "None",
"id": "id",
"version": "1.0.0",
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
platform: windows
distribution: None
architecture: x64
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
Expand Down
2 changes: 2 additions & 0 deletions tests/tests_build_workflow/test_build_recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def test_record_component_and_artifact(self, mock_makedirs: Mock, mock_copyfile:
"build": {
"platform": "linux",
"architecture": "x64",
"distribution": "None",
"id": "1",
"name": "OpenSearch",
"version": "1.1.0",
Expand Down Expand Up @@ -134,6 +135,7 @@ def test_get_manifest(self) -> None:
"build": {
"platform": "linux",
"architecture": "x64",
"distribution": "None",
"id": "1",
"name": "OpenSearch",
"version": "1.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.1.0
Expand Down
1 change: 1 addition & 0 deletions tests/tests_manifests/data/opensearch-build-1.1.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.1.0
Expand Down
1 change: 1 addition & 0 deletions tests/tests_manifests/data/opensearch-build-1.2.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.2.0
Expand Down
1 change: 1 addition & 0 deletions tests/tests_sign_workflow/data/opensearch-build-1.1.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
architecture: x64
distribution: None
id: a8f93473cab545bbaac3e2ce599b5434
name: OpenSearch
platform: linux
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
architecture: x64
distribution: None
id: a8f93473cab545bbaac3e2ce599b5434
name: OpenSearch
platform: linux
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
platform: linux
distribution: None
architecture: x64
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
build:
platform: linux
distribution: None
architecture: x64
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build:
platform: linux
architecture: x64
distribution: None
id: c3ff7a232d25403fa8cc14c97799c323
name: OpenSearch
version: 1.1.0
Expand Down

0 comments on commit 0c40e51

Please sign in to comment.