Skip to content

Commit

Permalink
Changing anomaly-detection Dependency Back to search-processor (#258) (
Browse files Browse the repository at this point in the history
…#259)

* changing anomaly-detection dependency back to search-processor



* removing snapshot postfix



---------


(cherry picked from commit a6541aa)

Signed-off-by: Sean Li <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 2, 2023
1 parent 92d9540 commit 1060593
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/remote-integ-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
echo "OPENSEARCH_VERSION=$OPENSEARCH_VERSION" >> $GITHUB_ENV
echo "OPENSEARCH_DASHBOARDS_VERSION=$BRANCH_NAME" >> $GITHUB_ENV
echo "OPENSEARCH_DASHBOARDS_FTREPO_VERSION=$BRANCH_NAME" >> $GITHUB_ENV
echo "ANOMALY_DETECTION_PLUGIN_VERSION=$BRANCH_NAME" >> $GITHUB_ENV
echo "ANOMALY_DETECTION_VERSION=$MAJOR_VERSION.$MINOR_VERSION.0-SNAPSHOT" >> $GITHUB_ENV
echo "SEARCH_PROCESSOR_PLUGIN_VERSION=$BRANCH_NAME" >> $GITHUB_ENV
echo "SEARCH_PROCESSOR_VERSION=$MAJOR_VERSION.$MINOR_VERSION.0" >> $GITHUB_ENV
shell: bash

- name: Enable longer filenames
Expand All @@ -68,17 +68,17 @@ jobs:
# It doesn't matter what plugin we use, but by launching OpenSearch
# from a plugin repo, we don't need to checkout and build
# OpenSearch itself.
- name: Checkout Anomaly-Detection
- name: Checkout search-processor
uses: actions/checkout@v2
with:
path: anomaly-detection
repository: opensearch-project/anomaly-detection
ref: ${{ env.ANOMALY_DETECTION_PLUGIN_VERSION }}
path: search-processor
repository: opensearch-project/search-processor
ref: ${{ env.SEARCH_PROCESSOR_PLUGIN_VERSION }}

- name: Run OpenSearch with plugin
run: |
cd anomaly-detection
./gradlew run -Dopensearch.version=${{ env.ANOMALY_DETECTION_VERSION }} &
cd search-processor
./gradlew run -Dopensearch.version=${{ env.SEARCH_PROCESSOR_VERSION }} &
t=0
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do
sleep 5
Expand Down

0 comments on commit 1060593

Please sign in to comment.