Skip to content

Commit

Permalink
Bump OpenSearch released version to 2.8.0 (#175)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Jun 27, 2023
1 parent 8aa0e14 commit 547a363
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/actions/start-opensearch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ runs:
brew install -q coreutils
fi
OPENSEARCH_HOME=$(realpath ./opensearch-*)
OPENSEARCH_JAVA_OPTS="-Djava.net.preferIPv4Stack=true"
url="http://localhost:9200"
cp ./client/.ci/opensearch/opensearch.yml $OPENSEARCH_HOME/config/
Expand All @@ -47,7 +48,6 @@ runs:
fi
echo "url=$url" >> $GITHUB_OUTPUT
if [[ "$RUNNER_OS" == "Linux" ]]; then
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
Expand All @@ -59,12 +59,12 @@ runs:
if [[ "$RUNNER_OS" != "Windows" ]]; then
$OPENSEARCH_HOME/bin/opensearch &
else
cmd.exe /C "$(cygpath -alw $OPENSEARCH_HOME/bin/opensearch.bat) -d" &
$OPENSEARCH_HOME/bin/opensearch.bat -d &
fi
for attempt in {1..20}; do
sleep 5
if curl -sS --cacert ./client/.ci/certs/root-ca.crt -u admin:admin $url; then
if curl -k -sS --cacert ./client/.ci/certs/root-ca.crt -u admin:admin $url; then
echo '=====> ready'
exit 0
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
id: opensearch
uses: ./client/.github/actions/run-released-opensearch
with:
version: 2.6.0
version: 2.8.0
secured: true

- name: Run Tests (${{ matrix.test-args }})
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['1.1.0', '1.2.4', '1.3.4', '2.2.0', '2.4.0', '2.6.0']
version: ['1.1.0', '1.2.4', '1.3.4', '2.2.0', '2.4.0', '2.6.0', '2.8.0']
secured: [true, false]
steps:
- name: Checkout Rust Client
Expand Down

0 comments on commit 547a363

Please sign in to comment.