diff --git a/.github/workflows/cypress-tests.yml b/.github/workflows/cypress-tests.yml index d113600..a6c904f 100644 --- a/.github/workflows/cypress-tests.yml +++ b/.github/workflows/cypress-tests.yml @@ -8,7 +8,7 @@ on: - "*" env: OPENSEARCH_DASHBOARDS_VERSION: 'main' - OPENSEARCH_VERSION: '3.0.0-SNAPSHOT' + OPENSEARCH_VERSION: '3.0.0-alpha1-SNAPSHOT' QUERY_INSIGHTS_BRANCH: 'main' GRADLE_VERSION: '7.6.1' jobs: @@ -30,9 +30,10 @@ jobs: TERM: xterm steps: - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 21 + distribution: temurin - name: Enable longer filenames if: ${{ matrix.os == 'windows-latest' }} diff --git a/.github/workflows/verify-binary-installation.yml b/.github/workflows/verify-binary-installation.yml index 1df8376..c3065ce 100644 --- a/.github/workflows/verify-binary-installation.yml +++ b/.github/workflows/verify-binary-installation.yml @@ -2,7 +2,7 @@ name: 'Install Query Insights Dashboards with Plugin via Binary' on: [push, pull_request] env: - OPENSEARCH_VERSION: '3.0.0' + OPENSEARCH_VERSION: '3.0.0-alpha1' CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm @@ -23,9 +23,7 @@ jobs: - name: Set env run: | - opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version") plugin_version=$(node -p "require('./package.json').version") - echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV shell: bash @@ -34,6 +32,7 @@ jobs: with: opensearch-version: ${{ env.OPENSEARCH_VERSION }} security-enabled: false + jdk-version: 21 - name: Run Dashboard id: setup-dashboards diff --git a/opensearch_dashboards.json b/opensearch_dashboards.json index 24bf219..54a34f2 100644 --- a/opensearch_dashboards.json +++ b/opensearch_dashboards.json @@ -1,6 +1,6 @@ { "id": "queryInsightsDashboards", - "version": "3.0.0.0", + "version": "3.0.0.0-alpha1", "opensearchDashboardsVersion": "3.0.0", "server": true, "ui": true, @@ -15,4 +15,4 @@ "requiredOSDataSourcePlugins": [ "query-insights" ] -} \ No newline at end of file +} diff --git a/package.json b/package.json index 7b525ac..01586ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opensearch_query_insights_dashboards", - "version": "3.0.0.0", + "version": "3.0.0.0-alpha1", "description": "OpenSearch Dashboards plugin for Query Insights", "main": "index.js", "opensearchDashboards": { @@ -69,4 +69,4 @@ "node_modules/*", "target/*" ] -} \ No newline at end of file +}