Repository navigation
Reorganize GitHub workflows. - #118
Conversation
* Remove obsoleve workflows, mostly related to releaseing ODFE artifacts. * Update actions in rest workflows. * Limit workflow scopes: * Reduce file scope, for example, JDBC workflow will be triggered on JDBC changes only. * Reduce action scope, so workflows shouldn't be triggered twice on PR. Signed-off-by: Yury-Fridlyand <[email protected]>
This comment was marked as spam.
This comment was marked as spam.
Signed-off-by: Yury-Fridlyand <[email protected]>
… changes. Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
| # tests are designed to run against http://localhost:9200, so we have to disable/remove security plugin | ||
| - name: Download and run OpenSearch | ||
| run: | | ||
| wget -q https://artifacts.opensearch.org/releases/bundle/opensearch/2.2.1/opensearch-2.2.1-linux-x64.tar.gz |
There was a problem hiding this comment.
Can this use docker instead of downloading artifacts? IIRC there's a parameter there as well to turn off security.
At the very least, I'd like to see this parameterized by OpenSearch version.
There was a problem hiding this comment.
For using docker we need to store somewhere a custom docker-compose file.
I will add parametrized version, thank you.
There was a problem hiding this comment.
What does it need to customize? I thought this workflow needed an instance of opensearch to run test against.
There was a problem hiding this comment.
Oh, right, my bad! Going to fix this
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
Why did we need to switch it off of ubuntu-latest?
There was a problem hiding this comment.
To avoid any possible troubles when ubuntu-latest would be upgraded. See discussion thread there: #118 (comment).
| name: opensearch-sql | ||
| path: opensearch-sql-builds | ||
|
|
||
| - name: Upload test reports |
**Reorganize GitHub workflows:** * Remove obsoleve workflows, mostly related to releaseing ODFE artifacts. * Update actions in rest workflows. * Limit workflow scopes: * Reduce file scope, for example, JDBC workflow will be triggered on JDBC changes only. * Reduce action scope, so workflows shouldn't be triggered twice on PR. * Strictly define env version to avoid unexpected failures. * Upload test reports for SQL plugin workflow. * Activate tests for SQL CLI. Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand [email protected]
Description
Issues Resolved
Check List
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.