File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 9
9
START_CMD : ' node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch --opensearch_security.multitenancy.enable_aggregation_view=true'
10
10
OPENSEARCH_SNAPSHOT_CMD : ' node ../scripts/opensearch snapshot'
11
11
SPEC : ' cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js,'
12
- OPENSEARCH_VERSION : 2.8.0
13
12
PLUGIN_NAME : opensearch-security
14
- PLUGIN_VERSION : 2.8.0.0
15
13
16
14
jobs :
17
15
tests :
31
29
- name : Checkout Branch
32
30
uses : actions/checkout@v3
33
31
32
+ - name : Set env
33
+ run : |
34
+ opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
35
+ plugin_version=$(node -p "require('./package.json').version")
36
+ echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
37
+ echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
38
+ shell : bash
39
+
34
40
- name : Download security plugin and create setup scripts
35
41
uses : ./.github/actions/download-plugin
36
42
with :
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ on: [push, pull_request]
5
5
env :
6
6
TEST_BROWSER_HEADLESS : 1
7
7
CI : 1
8
- OPENSEARCH_VERSION : 2.8.0
9
8
PLUGIN_NAME : opensearch-security
10
- PLUGIN_VERSION : 2.8.0.0
11
9
12
10
jobs :
13
11
tests :
27
25
with :
28
26
java-version : 11
29
27
28
+ - name : Set env
29
+ run : |
30
+ opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
31
+ plugin_version=$(node -p "require('./package.json').version")
32
+ echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
33
+ echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
34
+ shell : bash
35
+
30
36
- uses : browser-actions/setup-geckodriver@v0.0.0
31
37
- run : geckodriver --version
32
38
You can’t perform that action at this time.
0 commit comments