Skip to content

Commit 7de969c

Browse files
authored
Fix alpha bump (#2190)
1 parent 6720221 commit 7de969c

8 files changed

+9
-15
lines changed

.github/actions/run-cypress-tests/action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Run Cypress Tests
22
description: 'Runs Cypress tests for the security-dashboards-plugin with opensearch_dashboards.yml and security configuration provided'
33

4+
env:
5+
OPENSEARCH_VERSION: '3.0.0-alpha1'
6+
47
inputs:
58
security_config_file:
69
description: 'Name of the security plugin config file'
@@ -21,9 +24,7 @@ runs:
2124
steps:
2225
- name: Set env
2326
run: |
24-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
2527
plugin_version=$(node -p "require('./package.json').version")
26-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
2728
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
2829
shell: bash
2930

.github/workflows/cypress-test-multidatasources-enabled-e2e.yml

-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525

2626
- name: Set env
2727
run: |
28-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
2928
plugin_version=$(node -p "require('./package.json').version")
30-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
3129
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
3230
shell: bash
3331

.github/workflows/cypress-test-tenancy-disabled.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
SPEC: 'cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js,'
1212
PLUGIN_NAME: opensearch-security
1313
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
14+
OPENSEARCH_VERSION: '3.0.0-alpha1'
1415

1516
jobs:
1617
cypress-tests-multitenancy-disabled:
@@ -27,9 +28,7 @@ jobs:
2728

2829
- name: Set env
2930
run: |
30-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
3131
plugin_version=$(node -p "require('./package.json').version")
32-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
3332
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
3433
shell: bash
3534

.github/workflows/cypress-test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
PLUGIN_NAME: opensearch-security
1313
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
1414
CYPRESS_NO_COMMAND_LOG: 1
15+
OPENSEARCH_VERSION: '3.0.0-alpha1'
1516

1617
jobs:
1718
cypress-tests:
@@ -28,9 +29,7 @@ jobs:
2829

2930
- name: Set env
3031
run: |
31-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
3232
plugin_version=$(node -p "require('./package.json').version")
33-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
3433
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
3534
shell: bash
3635

.github/workflows/integration-test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ env:
77
CI: 1
88
PLUGIN_NAME: opensearch-security
99
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
10+
OPENSEARCH_VERSION: '3.0.0-alpha1'
1011

1112
jobs:
1213
tests:
@@ -23,9 +24,7 @@ jobs:
2324

2425
- name: Set env
2526
run: |
26-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
2727
plugin_version=$(node -p "require('./package.json').version")
28-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
2928
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
3029
shell: bash
3130

.github/workflows/verify-binary-installation.yml

-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424

2525
- name: Set env
2626
run: |
27-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
2827
plugin_version=$(node -p "require('./package.json').version")
29-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
3028
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
3129
shell: bash
3230

opensearch_dashboards.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "securityDashboards",
33
"version": "3.0.0.0-alpha1",
4-
"opensearchDashboardsVersion": "3.0.0-alpha1",
4+
"opensearchDashboardsVersion": "3.0.0",
55
"configPath": [
66
"opensearch_security"
77
],

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "3.0.0.0-alpha1",
44
"main": "target/plugins/opensearch_security_dashboards",
55
"opensearchDashboards": {
6-
"version": "3.0.0-alpha1",
7-
"templateVersion": "3.0.0-alpha1"
6+
"version": "3.0.0",
7+
"templateVersion": "3.0.0"
88
},
99
"license": "Apache-2.0",
1010
"homepage": "https://github.com/opensearch-project/security-dashboards-plugin",

0 commit comments

Comments
 (0)