Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenSearch Playground] Adds matrix for functional test template #49

Merged
merged 1 commit into from
Jul 13, 2022
Merged

Conversation

Flyingliuhub
Copy link
Member

Signed-off-by: Tao liu [email protected]

Description

The current GitHub action functional test template didn't use matrix. In order to make template more maintainable, adds matrix to functional test template.

Reference: GitHub action matrix

image

Issues Resolved

Resolve #48

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Flyingliuhub Flyingliuhub requested a review from a team July 13, 2022 16:06
strategy:
fail-fast: false
matrix:
run: ['OSD-Functional-Test-AD', 'OSD-Functional-Test-Alert', 'OSD-Functional-Test-Notifications', 'OSD-Functional-Test-Reports', 'OSD-Functional-Test-Observability', 'OSD-Functional-Test-IndexMan']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you wanted you could do something like this: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/.github/workflows/build_and_test_workflow.yml#L126

and then it's just like a template where it echos the name and it has the spec

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I tried it, but it seems like that include will run first than shared steps, which can be used for build something, our pipeline will run something after shared steps, probably it cannot fit here.

@Flyingliuhub Flyingliuhub self-assigned this Jul 13, 2022
@Flyingliuhub Flyingliuhub added the playgroud playground project label label Jul 13, 2022
@ZilongX ZilongX self-requested a review July 13, 2022 21:02
@Flyingliuhub Flyingliuhub merged commit 53ce86c into opensearch-project:main Jul 13, 2022
huyaboo pushed a commit to huyaboo/dashboards-anywhere that referenced this pull request Jul 19, 2022
huyaboo pushed a commit to huyaboo/dashboards-anywhere that referenced this pull request Jul 19, 2022
huyaboo added a commit that referenced this pull request Aug 8, 2022
* First draft of ingestion utility tool

Signed-off-by: Huy Nguyen <[email protected]>

* Updates workflows to use the reusable workflow (#45)

* Updates workflows

Signed-off-by: Tao liu <[email protected]>

* adds some comments

Signed-off-by: Tao liu <[email protected]>

* add readme file

Signed-off-by: Tao liu <[email protected]>
Signed-off-by: Huy Nguyen <[email protected]>

* Removed potentially confidential files

Signed-off-by: Huy Nguyen <[email protected]>

* Fixed unit test so that it will work without an updated certificate

Signed-off-by: Huy Nguyen <[email protected]>

* adds matrix for functional test template (#49)

Signed-off-by: Tao liu <[email protected]>
Signed-off-by: Huy Nguyen <[email protected]>

* Minor refactoring done to sample_data_ingestor.py

Signed-off-by: Huy Nguyen <[email protected]>

* Removed files from another branch

Signed-off-by: Huy Nguyen <[email protected]>

* Reverted changes to .github/workflows

Signed-off-by: Huy Nguyen <[email protected]>

* Add spaces to os-osd-deployment.yml

Signed-off-by: Huy Nguyen <[email protected]>

* Removed tab to os-osd-deployment.yml

Signed-off-by: Huy Nguyen <[email protected]>

* Refactored, decoupled functions, and added size considerations to the BULK call

Signed-off-by: Huy Nguyen <[email protected]>

* Addressed all comments from second code reviewer

Signed-off-by: Huy Nguyen <[email protected]>

* Added DataTrend class to ingestion tool

Signed-off-by: Huy Nguyen <[email protected]>

* Added README.md and USAGE.md; Also added AverageTrend support for floats

Signed-off-by: Huy Nguyen <[email protected]>

* Added README.md specifically for using the DataTrend interface

Signed-off-by: Huy Nguyen <[email protected]>

* Removed all whitespace, switched json data files to ndjson, and modified ingestor files

Signed-off-by: Huy Nguyen <[email protected]>

* Added license headers to all files

Signed-off-by: Huy Nguyen <[email protected]>

* Addressed all comments from final reviewer

Signed-off-by: Huy Nguyen <[email protected]>

* Added license headers to all py files, and added newlines to all py files

Signed-off-by: Huy Nguyen <[email protected]>

* Added minor refactoring details and specified test files

Signed-off-by: Huy Nguyen <[email protected]>

* Modified sys.path to be more readable

Signed-off-by: Huy Nguyen <[email protected]>

Co-authored-by: Tao Liu <[email protected]>
seraphjiang pushed a commit to seraphjiang/dashboards-anywhere that referenced this pull request Oct 22, 2022
seraphjiang pushed a commit to seraphjiang/dashboards-anywhere that referenced this pull request Oct 22, 2022
* First draft of ingestion utility tool

Signed-off-by: Huy Nguyen <[email protected]>

* Updates workflows to use the reusable workflow (opensearch-project#45)

* Updates workflows

Signed-off-by: Tao liu <[email protected]>

* adds some comments

Signed-off-by: Tao liu <[email protected]>

* add readme file

Signed-off-by: Tao liu <[email protected]>
Signed-off-by: Huy Nguyen <[email protected]>

* Removed potentially confidential files

Signed-off-by: Huy Nguyen <[email protected]>

* Fixed unit test so that it will work without an updated certificate

Signed-off-by: Huy Nguyen <[email protected]>

* adds matrix for functional test template (opensearch-project#49)

Signed-off-by: Tao liu <[email protected]>
Signed-off-by: Huy Nguyen <[email protected]>

* Minor refactoring done to sample_data_ingestor.py

Signed-off-by: Huy Nguyen <[email protected]>

* Removed files from another branch

Signed-off-by: Huy Nguyen <[email protected]>

* Reverted changes to .github/workflows

Signed-off-by: Huy Nguyen <[email protected]>

* Add spaces to os-osd-deployment.yml

Signed-off-by: Huy Nguyen <[email protected]>

* Removed tab to os-osd-deployment.yml

Signed-off-by: Huy Nguyen <[email protected]>

* Refactored, decoupled functions, and added size considerations to the BULK call

Signed-off-by: Huy Nguyen <[email protected]>

* Addressed all comments from second code reviewer

Signed-off-by: Huy Nguyen <[email protected]>

* Added DataTrend class to ingestion tool

Signed-off-by: Huy Nguyen <[email protected]>

* Added README.md and USAGE.md; Also added AverageTrend support for floats

Signed-off-by: Huy Nguyen <[email protected]>

* Added README.md specifically for using the DataTrend interface

Signed-off-by: Huy Nguyen <[email protected]>

* Removed all whitespace, switched json data files to ndjson, and modified ingestor files

Signed-off-by: Huy Nguyen <[email protected]>

* Added license headers to all files

Signed-off-by: Huy Nguyen <[email protected]>

* Addressed all comments from final reviewer

Signed-off-by: Huy Nguyen <[email protected]>

* Added license headers to all py files, and added newlines to all py files

Signed-off-by: Huy Nguyen <[email protected]>

* Added minor refactoring details and specified test files

Signed-off-by: Huy Nguyen <[email protected]>

* Modified sys.path to be more readable

Signed-off-by: Huy Nguyen <[email protected]>

Co-authored-by: Tao Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
playgroud playground project label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OpenSearch Playground] Use GitHub action strategy matrix for the functional tests template
4 participants