Skip to content

Commit

Permalink
[Backport 2.x][CI][BWC] add BWC tests to github actions (opensearch-p…
Browse files Browse the repository at this point in the history
…roject#1624) (opensearch-project#1659)

* [CI][BWC] add BWC tests to github actions (opensearch-project#1624)

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Backport PR:
opensearch-project#1624

Includes changes from:
opensearch-project#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla authored and Peter Fitzgibbons committed Dec 1, 2022
1 parent ed92158 commit 9484d51
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Binary file added cypress/test-data/with-security/osd-1.3.2.tar.gz
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions dev-tools/get-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0

set -e

PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g' \
| tr -d [:space:])

echo "$PACKAGE_VERSION"

0 comments on commit 9484d51

Please sign in to comment.