Skip to content

Commit

Permalink
Documenting usage of overriding Default Distribution Download URL wit…
Browse files Browse the repository at this point in the history
…h custom URL by setting external property customDistributionUrl (#125)

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

Signed-off-by: Rishikesh1159 <[email protected]>

* correcting spelling in testing.md file

Signed-off-by: Rishikesh1159 <[email protected]>

* Setting the custom Url with -P

Signed-off-by: Rishikesh1159 <[email protected]>
  • Loading branch information
Rishikesh1159 authored Apr 22, 2022
1 parent 7426421 commit ba853c2
Showing 1 changed file with 12 additions and 1 deletion.
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"
```

0 comments on commit ba853c2

Please sign in to comment.