Skip to content

Commit 10ba1af

Browse files
authored
Revert the correct code.. (#89)
* Revert the correct code.. Signed-off-by: Drew Baugher <[email protected]> * Updates workflows to trigger on 1.* branches Signed-off-by: Drew Baugher <[email protected]>
1 parent 7ed071b commit 10ba1af

File tree

4 files changed

+51
-5
lines changed

4 files changed

+51
-5
lines changed

.github/workflows/cypress-workflow.yml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ on:
33
pull_request:
44
branches:
55
- main
6+
- 1.*
67
push:
78
branches:
89
- main
9-
- development-*
10+
- 1.*
1011
env:
1112
OPENSEARCH_DASHBOARDS_VERSION: '1.x'
1213
OPENSEARCH_VERSION: '1.1.0-SNAPSHOT'
@@ -25,6 +26,46 @@ jobs:
2526
with:
2627
# TODO: Parse this from index management plugin
2728
java-version: 14
29+
# dependencies: OpenSearch
30+
- name: Checkout OpenSearch
31+
uses: actions/checkout@v2
32+
with:
33+
repository: 'opensearch-project/OpenSearch'
34+
path: OpenSearch
35+
ref: '1.x'
36+
- name: Build OpenSearch
37+
working-directory: ./OpenSearch
38+
run: ./gradlew publishToMavenLocal
39+
# dependencies: common-utils
40+
- name: Checkout common-utils
41+
uses: actions/checkout@v2
42+
with:
43+
repository: 'opensearch-project/common-utils'
44+
path: common-utils
45+
ref: 'main'
46+
- name: Build common-utils
47+
working-directory: ./common-utils
48+
run: ./gradlew publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}
49+
# dependencies: job-scheduler
50+
- name: Checkout job-scheduler
51+
uses: actions/checkout@v2
52+
with:
53+
repository: 'opensearch-project/job-scheduler'
54+
path: job-scheduler
55+
ref: 'main'
56+
- name: Build job-scheduler
57+
working-directory: ./job-scheduler
58+
run: ./gradlew publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}
59+
# dependencies: alerting-notification
60+
- name: Checkout alerting
61+
uses: actions/checkout@v2
62+
with:
63+
repository: 'opensearch-project/alerting'
64+
path: alerting
65+
ref: 'main'
66+
- name: Build alerting
67+
working-directory: ./alerting
68+
run: ./gradlew :alerting-notification:publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}
2869
- name: Checkout index management
2970
uses: actions/checkout@v2
3071
with:

.github/workflows/links.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Link Checker
22
on:
33
push:
4-
branches: [ main ]
4+
branches:
5+
- main
6+
- 1.*
57
pull_request:
6-
branches: [ main ]
8+
branches:
9+
- main
10+
- 1.*
711

812
jobs:
913
linkchecker:

.github/workflows/unit-tests-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ on:
33
pull_request:
44
branches:
55
- main
6+
- 1.*
67
push:
78
branches:
89
- main
9-
- development-*
10+
- 1.*
1011

1112
jobs:
1213
tests:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If you discover a potential security issue in this project we ask that you notif
3737

3838
## License
3939

40-
This project is licensed under the [Apache v2.0 License](LICENSE.txt).
40+
This project is licensed under the [Apache v2.0 License](LICENSE).
4141

4242
## Copyright
4343

0 commit comments

Comments
 (0)