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

Documenting usage of overriding Default Distribution Download URL with custom URL by setting external property customDistributionUrl #125

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
- [Backwards Compatibility Testing](#backwards-compatibility-testing)
- [Types of BWC tests](#types-of-bwc-tests)
- [Hooking the BWC tests to CI](#hooking-the-bwc-tests-to-ci)
- [Gradle Plugins](#gradle-plugins)
- [Distribution Download plugin](#distribution-download-plugin)
<!-- TOC -->

## Testing
Expand Down Expand Up @@ -99,4 +101,13 @@ Each plugin can test various functionalities in their bwc tests and add more sce

The bwc tests can be hooked to the CI workflow in the plugin to run it with each pull request and push.

See [anomaly-detection#181](https://github.com/opensearch-project/anomaly-detection/pull/181) for more information.
See [anomaly-detection#181](https://github.com/opensearch-project/anomaly-detection/pull/181) for more information.

### Gradle Plugins

#### Distribution Download Plugin

The Distribution Download plugin downloads the latest version of OpenSearch by default, and supports overriding this behavior by setting `customDistributionUrl`. This will help to pull artifacts from custom location for testing during release process.
```
./gradlew integTest -PcustomDistributionUrl="https://ci.opensearch.org/ci/dbc/bundle-build/1.2.0/1127/linux/x64/dist/opensearch-1.2.0-linux-x64.tar.gz"
```