Skip to content

Commit

Permalink
Fix alpha bump (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-ho authored Feb 26, 2025
1 parent 6720221 commit 7de969c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/actions/run-cypress-tests/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Run Cypress Tests
description: 'Runs Cypress tests for the security-dashboards-plugin with opensearch_dashboards.yml and security configuration provided'

env:
OPENSEARCH_VERSION: '3.0.0-alpha1'

inputs:
security_config_file:
description: 'Name of the security plugin config file'
Expand All @@ -21,9 +24,7 @@ runs:
steps:
- 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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,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

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cypress-test-tenancy-disabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
SPEC: 'cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js,'
PLUGIN_NAME: opensearch-security
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
OPENSEARCH_VERSION: '3.0.0-alpha1'

jobs:
cypress-tests-multitenancy-disabled:
Expand All @@ -27,9 +28,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

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
PLUGIN_NAME: opensearch-security
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
CYPRESS_NO_COMMAND_LOG: 1
OPENSEARCH_VERSION: '3.0.0-alpha1'

jobs:
cypress-tests:
Expand All @@ -28,9 +29,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

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
CI: 1
PLUGIN_NAME: opensearch-security
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
OPENSEARCH_VERSION: '3.0.0-alpha1'

jobs:
tests:
Expand All @@ -23,9 +24,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

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/verify-binary-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,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

Expand Down
2 changes: 1 addition & 1 deletion opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "securityDashboards",
"version": "3.0.0.0-alpha1",
"opensearchDashboardsVersion": "3.0.0-alpha1",
"opensearchDashboardsVersion": "3.0.0",
"configPath": [
"opensearch_security"
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "3.0.0.0-alpha1",
"main": "target/plugins/opensearch_security_dashboards",
"opensearchDashboards": {
"version": "3.0.0-alpha1",
"templateVersion": "3.0.0-alpha1"
"version": "3.0.0",
"templateVersion": "3.0.0"
},
"license": "Apache-2.0",
"homepage": "https://github.com/opensearch-project/security-dashboards-plugin",
Expand Down

0 comments on commit 7de969c

Please sign in to comment.