Skip to content

Commit fd180ed

Browse files
authored
Add branch constants in CI workflow (opensearch-project#345)
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent 48189dc commit fd180ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/remote-integ-tests-workflow.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
env:
1313
OPENSEARCH_DASHBOARDS_VERSION: 'main'
1414
OPENSEARCH_VERSION: '3.0.0-SNAPSHOT'
15+
OPENSEARCH_DASHBOARDS_FTREPO_VERSION: 'main'
16+
ANOMALY_DETECTION_PLUGIN_VERSION: 'main'
1517
jobs:
1618
test-without-security:
1719
name: Run integ tests without security
@@ -26,7 +28,7 @@ jobs:
2628
with:
2729
path: anomaly-detection
2830
repository: opensearch-project/anomaly-detection
29-
ref: 'main'
31+
ref: ${{ env.ANOMALY_DETECTION_PLUGIN_VERSION }}
3032
- name: Run Opensearch with plugin
3133
run: |
3234
cd anomaly-detection
@@ -72,7 +74,7 @@ jobs:
7274
with:
7375
path: opensearch-dashboards-functional-test
7476
repository: opensearch-project/opensearch-dashboards-functional-test
75-
ref: 'main' # TODO: change to a branch when the branching strategy in that repo has been established
77+
ref: ${{ env.OPENSEARCH_DASHBOARDS_FTREPO_VERSION }}
7678
- name: Get Cypress version
7779
id: cypress_version
7880
run: |

0 commit comments

Comments
 (0)