Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upload artifact to v4 #1251

Closed
wants to merge 172 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
564f5a6
Bumping 2.x branch from version 2.1 to 2.2. (#218)
AWSHurneyt Aug 5, 2022
f444f74
Updated rollup help text. (#220) (#221)
opensearch-trigger-bot[bot] Aug 5, 2022
3fa60c8
Amended 2.2 release notes. (#222)
AWSHurneyt Aug 6, 2022
f29c71c
Refactored dependency used by test mock. Adjusted OSD version used by…
AWSHurneyt Aug 19, 2022
2a2eafd
Bumped moment version to resolve dependabot alert. (#230) (#233)
opensearch-trigger-bot[bot] Aug 22, 2022
2f96369
Version increment 2.2.1 (#235) (#239)
AWSHurneyt Aug 25, 2022
65dea7b
Removed the extra forward slash leading to a non-existing documentati…
opensearch-trigger-bot[bot] Sep 8, 2022
cf67545
Change alignment of Snapshot Management panels in pages/Main/Main.tsx…
opensearch-trigger-bot[bot] Sep 8, 2022
2824645
Version increment 2.3.0 (#247)
phestecAMZN Sep 8, 2022
1a0acaa
Added release notes for 2.3 (#250) (#254)
Sep 14, 2022
b550761
2.x _2.3 release notes, added 's' to 'Enhancement' header (#259)
phestecAMZN Sep 20, 2022
b50582a
Backport #276 to 2.x, Snapshot restore - basic restore functionality…
phestecAMZN Oct 6, 2022
b4cc013
Backport - 2.x => 2.4 (#286)
phestecAMZN Oct 17, 2022
4732903
Backport 2.4 -> 2.x (#293)
phestecAMZN Oct 19, 2022
67e4dbf
Restore activities panel, monitoring restore progress, styling (#294)…
opensearch-trigger-bot[bot] Oct 24, 2022
3614a6f
Progress auto refreshing restore status, adding indexList (#297) (#318)
opensearch-trigger-bot[bot] Oct 28, 2022
e07194d
Complete snapshot restore, mvp for 2.4 (#315) (#326)
opensearch-trigger-bot[bot] Nov 1, 2022
37ba696
Add windows mac OS in CI (#325) (#327)
opensearch-trigger-bot[bot] Nov 2, 2022
4e01292
Incorporate requested UX changes to Snapshot Restore (#333) (#337)
opensearch-trigger-bot[bot] Nov 3, 2022
949398f
Snapshot restore - various UI updates, input validation debugging (#3…
opensearch-trigger-bot[bot] Nov 4, 2022
092fafd
Minor bugfix to Restore Activities panel (#343) (#344)
opensearch-trigger-bot[bot] Nov 4, 2022
8755714
Add 2.4 release notes (#346) (#347)
opensearch-trigger-bot[bot] Nov 4, 2022
20bc787
Change help text in "RestoreSnapshotAdvancedSettings" , documentation…
opensearch-trigger-bot[bot] Nov 9, 2022
f6de138
bump loader-utils to 1.4.1 to address vulnerability alert, specify OS…
opensearch-trigger-bot[bot] Nov 29, 2022
0bfc02a
Data stream selection popover auto adjust width (#412) (#413)
opensearch-trigger-bot[bot] Nov 30, 2022
238e0e0
Version bump 2.4.1 (#430) (#432)
opensearch-trigger-bot[bot] Dec 3, 2022
423db21
[Bugfix] filter data streams from rollover alias requirement (#429) (…
opensearch-trigger-bot[bot] Dec 3, 2022
1a1fad5
feat: fix mac platform error (#518) (#522)
opensearch-trigger-bot[bot] Jan 3, 2023
c2f9c28
Bump to 2.5.0 (#540) (#542)
opensearch-trigger-bot[bot] Jan 6, 2023
f860818
Merge 2.5 changes to 2.x (#537)
SuZhou-Joe Jan 10, 2023
5ccb092
2.5 release note (#561) (#562)
opensearch-trigger-bot[bot] Jan 11, 2023
06959cf
Minor changes for v2.5 (#559)
SuZhou-Joe Jan 11, 2023
57ce6cd
Fix plugin version format (#567) (#568)
opensearch-trigger-bot[bot] Jan 11, 2023
89e71df
Remove inaccurate pre-check in shrink index page (#558) (#570) (#571)
opensearch-trigger-bot[bot] Jan 12, 2023
8061fca
Fix CVE-2022-46175 (#586) (#587)
opensearch-trigger-bot[bot] Jan 24, 2023
307c986
Reduce code conflicts (#589) (#590)
opensearch-trigger-bot[bot] Jan 25, 2023
a7a2ad9
Feature: force merge (#608)
SuZhou-Joe Feb 22, 2023
193852f
Bumped version to 2.6. (#630)
AWSHurneyt Feb 22, 2023
497d5f1
Feature: rollover (#607)
SuZhou-Joe Feb 22, 2023
9c019d0
Drafted 2.6 release notes. (#631) (#633)
opensearch-trigger-bot[bot] Feb 22, 2023
4f1394f
Feature: data streams (#605)
SuZhou-Joe Feb 22, 2023
e3fe789
Fix Node.js and Yarn installation in CI (#641) (#643)
opensearch-trigger-bot[bot] Feb 22, 2023
2beb50e
Optimize for v2.6 (#640)
SuZhou-Joe Feb 22, 2023
37d5b9d
2.6 release note (#632) (#647)
opensearch-trigger-bot[bot] Feb 22, 2023
87ab1f4
Refractor/e2e test to FTRepo (#663)
SuZhou-Joe Mar 13, 2023
9e68dc1
[BUG]Add downgrade logic when fetching indexes (#684)
SuZhou-Joe Mar 27, 2023
7f8cf38
Update AdvancedAggregation.tsx. Fix link destination and make it open…
opensearch-trigger-bot[bot] Mar 28, 2023
b1d0dc4
Json validation new (#606)
SuZhou-Joe Apr 7, 2023
9c9b5f0
Add release note of 2.7 (#694)
SuZhou-Joe Apr 10, 2023
7f877ac
Bump version to 2.7.0 (#702)
zelinh Apr 12, 2023
4e744b3
[Feature] Add composable template (#662)
SuZhou-Joe Apr 13, 2023
1503264
Fix: bugs during internal bugathon and fix the alias deletion issue i…
SuZhou-Joe Apr 17, 2023
216b9a8
Updated 2.7 release notes. (#708) (#709)
opensearch-trigger-bot[bot] Apr 18, 2023
7a83923
[Backport 2.x] Common funcs for filter block indices (#717)
opensearch-trigger-bot[bot] May 5, 2023
abe3828
[Backport 2.x] Pass data stream to actions (#719)
opensearch-trigger-bot[bot] May 5, 2023
d7a4c73
Update path parameter to follow RFC/generic HTTP convention (#737) (#…
SuZhou-Joe May 18, 2023
ed2293a
Increment version to 2.8.0.0 (#721)
opensearch-trigger-bot[bot] May 19, 2023
935026e
Update on common funcs (#751) (#752)
opensearch-trigger-bot[bot] May 23, 2023
e720858
fix common funcs: status filter, empty response (#753) (#755)
zhichao-aws May 24, 2023
cece52f
add flush index UI to index operation (#713) (#757)
opensearch-trigger-bot[bot] May 25, 2023
2dc0f84
Composable templates' backlog items in 2.8 (#730) (#759)
opensearch-trigger-bot[bot] May 25, 2023
e6e03e8
Add clear cache operation to indices, aliases and data streams pages …
gaobinlong May 25, 2023
d7842c3
Add refresh index as one of the index operations user can trigger fro…
opensearch-trigger-bot[bot] May 26, 2023
222cc3d
Side effects after taskable long running operation (#732) (#763)
opensearch-trigger-bot[bot] May 26, 2023
8a14236
Add notification settings page & runtime notifications (#731) (#764)
SuZhou-Joe May 26, 2023
7418c21
Add 2.8 release notes (#765) (#766)
opensearch-trigger-bot[bot] May 26, 2023
bb3612d
Update release note and minor change to toast message. (#770) (#771)
opensearch-trigger-bot[bot] May 30, 2023
5c882d7
Minor change for clear cache operation (#773)
gaobinlong May 30, 2023
0aef2de
Fix flush flaky test (#779) (#782)
opensearch-trigger-bot[bot] May 31, 2023
d524ad3
Implemented alias action UX. (#754) (#780)
opensearch-trigger-bot[bot] May 31, 2023
c1299d1
Fix CI on Node.js v18 (#785) (#787)
SuZhou-Joe May 31, 2023
619f859
Wording changes (#784) (#788)
opensearch-trigger-bot[bot] May 31, 2023
4339d75
Increment version to 2.9.0.0 (#795)
opensearch-trigger-bot[bot] Jul 10, 2023
0d4cf81
fix: add validation on data.method when using transport.request (#801…
opensearch-trigger-bot[bot] Jul 10, 2023
f54155d
Move index management from plugin section to management section (#741…
Hailong-am Jul 11, 2023
252bd9b
Added 2.9 release notes. (#808) (#809)
opensearch-trigger-bot[bot] Jul 12, 2023
4979092
Bumped tough-cookie, and semver versions. (#813)
AWSHurneyt Jul 15, 2023
eeffd64
fixed repo name in snapshot flyout; schedule entry during ploicy edit…
opensearch-trigger-bot[bot] Jul 24, 2023
73efb50
Increment version to 2.10.0.0 (#833)
opensearch-trigger-bot[bot] Aug 10, 2023
639df0d
Fix `exports is undefined` (#826) (#841)
opensearch-trigger-bot[bot] Aug 11, 2023
8ad2340
bump @cypress/request to 3.0.0 due to CVE-2023-28155 (#858) (#860)
opensearch-trigger-bot[bot] Sep 6, 2023
dbddce1
Upgrade the backport workflow (#821) (#825)
opensearch-trigger-bot[bot] Sep 6, 2023
3d7ed90
Added 2.10 release notes (#864) (#865)
opensearch-trigger-bot[bot] Sep 8, 2023
58d9170
Increment version to 2.11.0.0 (#871)
opensearch-trigger-bot[bot] Sep 22, 2023
1d1b043
Onboard jenkins prod docker images to github actions (#907) (#908)
opensearch-trigger-bot[bot] Oct 31, 2023
0f1c03f
Update the unit tests (#909) (#912)
opensearch-trigger-bot[bot] Nov 1, 2023
ed7b4c2
Increment version to 2.12.0.0 (#896)
opensearch-trigger-bot[bot] Nov 7, 2023
84120da
removed alias3 from testInputs (#918) (#923)
opensearch-trigger-bot[bot] Nov 8, 2023
1ca623c
adding cancel button to change policy (#919) (#929)
opensearch-trigger-bot[bot] Nov 11, 2023
f1aff5b
Update the babel require (#935) (#936)
opensearch-trigger-bot[bot] Nov 17, 2023
bfd11cc
Increment version to 2.12.0.0 (#928)
opensearch-trigger-bot[bot] Nov 17, 2023
9d754af
Rename indices to indexes (#926) (#939)
opensearch-trigger-bot[bot] Nov 17, 2023
fa2a164
update background color in "state" block (#903) (#942)
opensearch-trigger-bot[bot] Nov 20, 2023
4e2e586
sort by managed policy feature (#950) (#952)
opensearch-trigger-bot[bot] Dec 13, 2023
5da75d1
Remove unused integtest.sh file (#954) (#955)
opensearch-trigger-bot[bot] Dec 14, 2023
dc8896e
[Backport 2.x] snapshots_spec.js tests updated (#965)
opensearch-trigger-bot[bot] Jan 18, 2024
461de48
Backport 2.x Fix the notification_setting test by giving a obedient s…
bowenlan-amzn Jan 18, 2024
03928c0
Add v2.12.0 Release Notes (#971) (#972)
opensearch-trigger-bot[bot] Feb 8, 2024
642ebe7
Corrected typo on 'Minimum' textbox label on snapshot policy page --s…
opensearch-trigger-bot[bot] Feb 13, 2024
980f734
Update browserify-sign to fix cve-2023-46234 (#978) (#979)
opensearch-trigger-bot[bot] Feb 14, 2024
d4ff554
[Backport 2.x] Update v2.12.0 Release Notes (#984)
opensearch-trigger-bot[bot] Feb 14, 2024
dae5331
.github: update backport to not run on backport PRs (#989)
r1walz Feb 15, 2024
343913c
Increment version to 2.12.0.0 (#986)
opensearch-trigger-bot[bot] Feb 15, 2024
d32e169
Increment version to 2.13.0.0 (#1000)
opensearch-trigger-bot[bot] Mar 14, 2024
c7f75ae
Backporting changes for CVE fixes on 2.x (#1008)
mohitamg Mar 19, 2024
ae71283
Add v2.13.0 Release Notes (#1012) (#1013)
opensearch-trigger-bot[bot] Mar 20, 2024
a268539
adding MDS support for ISM Pages: Indices, Aliases, DataStreams, Temp…
RamakrishnaChilaka Mar 26, 2024
a71371a
Increment version to 2.14.0.0 (#1024)
opensearch-trigger-bot[bot] Apr 9, 2024
927c05d
MDS Support for Policies, Policy Managed Indices, Rollup Jobs and Tra…
opensearch-trigger-bot[bot] Apr 12, 2024
be61e6a
Interface change for MDS and deprecating dataSourceLabel from the URL…
RamakrishnaChilaka Apr 15, 2024
206210b
Mounting MDS on the empty route (#1039) (#1040)
opensearch-trigger-bot[bot] Apr 16, 2024
d7ccd1a
setting ActiveOption to undefined on first load (#1042) (#1043)
opensearch-trigger-bot[bot] Apr 18, 2024
8153c73
Fixed bug: Readonly DataSourceMEnu in create rollup and create transf…
opensearch-trigger-bot[bot] Apr 29, 2024
522da3e
Fixed Transform job create flow where indices won't reset after chang…
opensearch-trigger-bot[bot] May 1, 2024
63fced7
[Backport 2.x] Add release notes for 2.14 (#1057)
opensearch-trigger-bot[bot] May 3, 2024
0e51c4d
specify _all as target in ClearCacheModal (#1020) (#1027)
opensearch-trigger-bot[bot] May 21, 2024
57a66c3
cypress: modify test to check for inequality (#1017) (#1061)
opensearch-trigger-bot[bot] May 22, 2024
ddc6c7f
[AUTO] Increment version to 2.15.0.0 (#1066)
opensearch-trigger-bot[bot] Jun 5, 2024
33038ed
[Backport 2.x] Add release notes for 2.15 (#1073)
opensearch-trigger-bot[bot] Jun 14, 2024
893d6fe
Added Navigation change (#1085) (#1086)
opensearch-trigger-bot[bot] Jul 15, 2024
8346a69
Increment version to 2.16.0.0 (#1071)
opensearch-trigger-bot[bot] Jul 16, 2024
cf37e32
Adding dataVersionFilter support to MDS to enable version decoupling …
RamakrishnaChilaka Jul 16, 2024
38c1336
Add MDS support to snapshot pages (#1084) (#1087)
opensearch-trigger-bot[bot] Jul 16, 2024
790eee5
Bumped up braces package version to address CVE-2024-4068 (#1091) (#1…
opensearch-trigger-bot[bot] Jul 19, 2024
24cffd4
Increment version to 2.16.0.0 (#1089)
opensearch-trigger-bot[bot] Jul 19, 2024
fbcd555
feat: reuse applications (#1094) (#1096)
SuZhou-Joe Jul 23, 2024
cab3758
Persist dataSourceId across applications under new Nav change (#1088)…
opensearch-trigger-bot[bot] Jul 23, 2024
cb80036
Added release noted for v2.16 (#1099) (#1100)
opensearch-trigger-bot[bot] Jul 29, 2024
0025e59
feat: reorder features and rename title and description (#1106) (#1107)
opensearch-trigger-bot[bot] Aug 15, 2024
ff07d27
Update pages snapshots (#1111) (#1112)
opensearch-trigger-bot[bot] Aug 16, 2024
a1ce9bb
Fix for snapshot test race condition (#1113) (#1114)
opensearch-trigger-bot[bot] Aug 19, 2024
1610144
update newHeader for Index state management policies (#1108) (#1120)
opensearch-trigger-bot[bot] Aug 19, 2024
cbe959b
Adding MDS support in Notifications page in ISM (#1121) (#1128)
opensearch-trigger-bot[bot] Aug 19, 2024
3f29581
Update newHeader for Snapshot pages (#1105) (#1125)
skumawat2025 Aug 19, 2024
f5d19f6
update newHeader for component template pages (#1122) (#1129)
opensearch-trigger-bot[bot] Aug 19, 2024
ec05690
Update new header for datastreams and rollups jobs. (#1115) (#1119)
opensearch-trigger-bot[bot] Aug 19, 2024
a2d84b8
Update new header for notification settings page in ISM (#1126) (#1130)
opensearch-trigger-bot[bot] Aug 19, 2024
a88bc23
Making Look and Feel Changes in ISM pages (#1123) (#1131)
opensearch-trigger-bot[bot] Aug 20, 2024
1bf09d3
Incorporate feel and look good guide changes for snapshots pages, dat…
opensearch-trigger-bot[bot] Aug 20, 2024
a3d20e9
Fixes import issues in DataStreams and Snapshot policies (#1135) (#1136)
opensearch-trigger-bot[bot] Aug 20, 2024
7cf4b84
Update new header for Alias, Index Templates, Policy Managed Indices,…
tandonks Aug 20, 2024
3fd013c
Increment version to 2.17.0.0 (#1127)
opensearch-trigger-bot[bot] Aug 21, 2024
14e4662
Use smaller and compressed varients of buttons and form components (…
opensearch-trigger-bot[bot] Aug 21, 2024
4d7b3db
Replace EuiButton to EuiSmallButton in repositories page (#1142) (#1144)
opensearch-trigger-bot[bot] Aug 22, 2024
487b960
Bug fixes and retracting some formatting changes (#1141) (#1145)
tandonks Aug 23, 2024
706acd0
Added Notification Modal (#1143) (#1146)
opensearch-trigger-bot[bot] Aug 23, 2024
daed7ef
[Look & Feel] Consistency and Density Changes for Snapshot Management…
opensearch-trigger-bot[bot] Sep 2, 2024
6d7ddaa
Fit and finish changes for Aliases, Templates and Policy managed Indi…
opensearch-trigger-bot[bot] Sep 2, 2024
dfd0cc2
Fit and Finish changes for Indexes and Transform pages (#1154) (#1160)
opensearch-trigger-bot[bot] Sep 2, 2024
44531cf
Fit and Finish Changes for DataStreams and Rollups (#1153) (#1161)
opensearch-trigger-bot[bot] Sep 3, 2024
f51d7ce
Making fit and finish changes for ISM policy & Composable template pa…
opensearch-trigger-bot[bot] Sep 3, 2024
577ee65
Fit and Finish Changes for Snapshot Management Pages (#1157) (#1165)
opensearch-trigger-bot[bot] Sep 3, 2024
de074eb
Update rollup jobs and transform jobs title with total numbers of job…
opensearch-trigger-bot[bot] Sep 3, 2024
ee0b20f
Fixed bugs in history navigation in rollups and transform jobs pages …
opensearch-trigger-bot[bot] Sep 4, 2024
1fc1d0b
Added release notes for v2.17 (#1170) (#1171)
opensearch-trigger-bot[bot] Sep 5, 2024
e6f1a16
Use admin cert and key when deleting system indices for cypress test …
opensearch-trigger-bot[bot] Sep 11, 2024
2379d16
Increment version to 2.18.0.0 (#1180)
opensearch-trigger-bot[bot] Sep 19, 2024
c1095f4
Fit and Finish UX changes (#1179) (#1181)
opensearch-trigger-bot[bot] Sep 19, 2024
cabb037
Replaced EuiText with EuiTitle for section headers in content areas (…
opensearch-trigger-bot[bot] Sep 20, 2024
a9c12e8
bug-fix: Create snapshot policy button reloads the dashboard (#1187) …
opensearch-trigger-bot[bot] Oct 18, 2024
421ba42
Setting validation for transform APIs (#1191) (#1194)
opensearch-trigger-bot[bot] Oct 28, 2024
d37f0b1
Fixing a bug with initial data source being set to local cluster (#11…
opensearch-trigger-bot[bot] Oct 28, 2024
bbf8c25
Added release notes for v2.18 (#1197) (#1198)
opensearch-trigger-bot[bot] Oct 28, 2024
031596c
Increment version to 2.19.0.0 (#1218)
opensearch-trigger-bot[bot] Dec 6, 2024
2cc3404
Updating the maintainers and codeowners list (#1223)
tandonks Dec 9, 2024
d808d4e
Revert "Updating the maintainers and codeowners list (#1223)" (#1234)
tandonks Dec 11, 2024
03230b5
bug-fix: Restore snapshot shouldn't restore index alias always (#1193…
opensearch-trigger-bot[bot] Dec 16, 2024
d8c01a4
bug fix: Snapshot restore always restores index alias (#1213) (#1214)
opensearch-trigger-bot[bot] Dec 16, 2024
94236a1
Bug Fixes in Snapshot Policy: Schedule Editing and Index Expression D…
opensearch-trigger-bot[bot] Dec 16, 2024
2e390b1
Sync Maintainers to 2.x from main branch (#1238)
shiv0408 Jan 14, 2025
3db302c
[Backport 2.x] Fixing bug in transform API validation to support inde…
tandonks Jan 20, 2025
049975f
Updating workflow artifact to v4
tandonks Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

const LICENSE_HEADER = `
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
`;

module.exports = {
root: true,
extends: ["@elastic/eslint-config-kibana", "plugin:@elastic/eui/recommended"],
rules: {
// "@osd/eslint/require-license-header": "off"
},
overrides: [
{
files: ["**/*.{js,ts,tsx}"],
rules: {
"@osd/eslint/require-license-header": [
"error",
{
licenses: [LICENSE_HEADER],
},
],
"no-console": 0,
},
},
],
};
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams
* @opensearch-project/index-management
* @bowenlan-amzn @Hailong-am @RamakrishnaChilaka @vikasvb90 @SuZhou-Joe @tandonks @shiv0408 @soosinha
20 changes: 16 additions & 4 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,34 @@ on:

jobs:
backport:
name: Backport
runs-on: ubuntu-latest
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
permissions:
contents: write
pull-requests: write
name: Backport
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/github-app-token@v1.5.0
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780

- name: Backport
uses: VachaShah/backport@v1.1.4
uses: VachaShah/backport@v2.2.0
with:
github_token: ${{ steps.github_app_token.outputs.token }}
branch_name: backport/backport-${{ github.event.number }}
head_template: backport/backport-<%= number %>-to-<%= base %>
failure_labels: backport-failed
41 changes: 19 additions & 22 deletions .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ name: E2E tests workflow
on:
pull_request:
branches:
- main
- "*"
push:
branches:
- main
- development-*
- "*"
env:
OPENSEARCH_DASHBOARDS_VERSION: '2.x'
OPENSEARCH_VERSION: '2.1.0-SNAPSHOT'
jobs:
tests:
name: Run Cypress E2E tests
Expand All @@ -24,17 +22,17 @@ jobs:
uses: actions/setup-java@v1
with:
# TODO: Parse this from index management plugin
java-version: 11
java-version: 21
- name: Checkout index management
uses: actions/checkout@v2
with:
path: index-management
repository: opensearch-project/index-management
ref: 'main'
ref: '2.x'
- name: Run opensearch with plugin
run: |
cd index-management
./gradlew run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} &
./gradlew run &
sleep 300
# timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do sleep 5; done'
- name: Checkout Index Management Dashboards plugin
Expand All @@ -47,21 +45,20 @@ jobs:
repository: opensearch-project/OpenSearch-Dashboards
path: OpenSearch-Dashboards
ref: ${{ env.OPENSEARCH_DASHBOARDS_VERSION }}
- name: Get node and yarn versions
id: versions
run: |
echo "::set-output name=node_version::$(node -p "(require('./OpenSearch-Dashboards/package.json').engines.node).match(/[.0-9]+/)[0]")"
echo "::set-output name=yarn_version::$(node -p "(require('./OpenSearch-Dashboards/package.json').engines.yarn).match(/[.0-9]+/)[0]")"
- name: Setup node
uses: actions/setup-node@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.node_version }}
node-version-file: './OpenSearch-Dashboards/.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Install correct yarn version for OpenSearch-Dashboards
- name: Install Yarn
# Need to use bash to avoid having a windows/linux specific step
shell: bash
run: |
npm uninstall -g yarn
echo "Installing yarn ${{ steps.versions_step.outputs.yarn_version }}"
npm i -g yarn@${{ steps.versions.outputs.yarn_version }}
YARN_VERSION=$(node -p "require('./OpenSearch-Dashboards/package.json').engines.yarn")
echo "Installing yarn@$YARN_VERSION"
npm i -g yarn@$YARN_VERSION
- run: node -v
- run: yarn -v
- name: Bootstrap plugin/OpenSearch-Dashboards
run: |
mkdir -p OpenSearch-Dashboards/plugins
Expand All @@ -71,7 +68,7 @@ jobs:
- name: Run OpenSearch-Dashboards server
run: |
cd OpenSearch-Dashboards
yarn start --no-base-path --no-watch &
yarn start --no-base-path --no-watch --server.host="0.0.0.0" &
sleep 300
# timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
# for now just chrome, use matrix to do all browsers later
Expand All @@ -83,13 +80,13 @@ jobs:
wait-on: 'http://localhost:5601'
browser: chrome
# Screenshots are only captured on failure, will change this once we do visual regression tests
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: OpenSearch-Dashboards/plugins/index-management-dashboards-plugin/cypress/screenshots
# Test run video was always captured, so this action uses "always()" condition
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-videos
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/dco.yml

This file was deleted.

96 changes: 0 additions & 96 deletions .github/workflows/release-workflow.yml

This file was deleted.

Loading