File tree 8 files changed +9
-15
lines changed
actions/run-cypress-tests
8 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : Run Cypress Tests
2
2
description : ' Runs Cypress tests for the security-dashboards-plugin with opensearch_dashboards.yml and security configuration provided'
3
3
4
+ env :
5
+ OPENSEARCH_VERSION : ' 3.0.0-alpha1'
6
+
4
7
inputs :
5
8
security_config_file :
6
9
description : ' Name of the security plugin config file'
21
24
steps :
22
25
- name : Set env
23
26
run : |
24
- opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
25
27
plugin_version=$(node -p "require('./package.json').version")
26
- echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
27
28
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
28
29
shell : bash
29
30
Original file line number Diff line number Diff line change 25
25
26
26
- name : Set env
27
27
run : |
28
- opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
29
28
plugin_version=$(node -p "require('./package.json').version")
30
- echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
31
29
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
32
30
shell : bash
33
31
Original file line number Diff line number Diff line change 11
11
SPEC : ' cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js,'
12
12
PLUGIN_NAME : opensearch-security
13
13
OPENSEARCH_INITIAL_ADMIN_PASSWORD : myStrongPassword123!
14
+ OPENSEARCH_VERSION : ' 3.0.0-alpha1'
14
15
15
16
jobs :
16
17
cypress-tests-multitenancy-disabled :
27
28
28
29
- name : Set env
29
30
run : |
30
- opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
31
31
plugin_version=$(node -p "require('./package.json').version")
32
- echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
33
32
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
34
33
shell : bash
35
34
Original file line number Diff line number Diff line change 12
12
PLUGIN_NAME : opensearch-security
13
13
OPENSEARCH_INITIAL_ADMIN_PASSWORD : myStrongPassword123!
14
14
CYPRESS_NO_COMMAND_LOG : 1
15
+ OPENSEARCH_VERSION : ' 3.0.0-alpha1'
15
16
16
17
jobs :
17
18
cypress-tests :
28
29
29
30
- name : Set env
30
31
run : |
31
- opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
32
32
plugin_version=$(node -p "require('./package.json').version")
33
- echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
34
33
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
35
34
shell : bash
36
35
Original file line number Diff line number Diff line change 7
7
CI : 1
8
8
PLUGIN_NAME : opensearch-security
9
9
OPENSEARCH_INITIAL_ADMIN_PASSWORD : myStrongPassword123!
10
+ OPENSEARCH_VERSION : ' 3.0.0-alpha1'
10
11
11
12
jobs :
12
13
tests :
23
24
24
25
- name : Set env
25
26
run : |
26
- opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
27
27
plugin_version=$(node -p "require('./package.json').version")
28
- echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
29
28
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
30
29
shell : bash
31
30
Original file line number Diff line number Diff line change 24
24
25
25
- name : Set env
26
26
run : |
27
- opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
28
27
plugin_version=$(node -p "require('./package.json').version")
29
- echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
30
28
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
31
29
shell : bash
32
30
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " securityDashboards" ,
3
3
"version" : " 3.0.0.0-alpha1" ,
4
- "opensearchDashboardsVersion" : " 3.0.0-alpha1 " ,
4
+ "opensearchDashboardsVersion" : " 3.0.0" ,
5
5
"configPath" : [
6
6
" opensearch_security"
7
7
],
Original file line number Diff line number Diff line change 3
3
"version" : " 3.0.0.0-alpha1" ,
4
4
"main" : " target/plugins/opensearch_security_dashboards" ,
5
5
"opensearchDashboards" : {
6
- "version" : " 3.0.0-alpha1 " ,
7
- "templateVersion" : " 3.0.0-alpha1 "
6
+ "version" : " 3.0.0" ,
7
+ "templateVersion" : " 3.0.0"
8
8
},
9
9
"license" : " Apache-2.0" ,
10
10
"homepage" : " https://github.com/opensearch-project/security-dashboards-plugin" ,
You can’t perform that action at this time.
0 commit comments