forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility with opensearch 2.17.1 (#383)
Signed-off-by: yenienserrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: JuanGarriuz <[email protected]> Signed-off-by: Antonio <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> Co-authored-by: Maximiliano Ibarra <[email protected]> Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]> Co-authored-by: Antonio <[email protected]> Co-authored-by: Tostti <[email protected]> Co-authored-by: Raul Del Pozo Moreno <[email protected]> Co-authored-by: Luciano Gorza <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: Chantal Belén kelm <[email protected]> Co-authored-by: JuanGarriuz <[email protected]> Co-authored-by: JuanGarriuz <[email protected]>
- Loading branch information
1 parent
62cc032
commit da9a183
Showing
212 changed files
with
6,479 additions
and
3,853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Compatibility request | ||
about: Suggest supporting a new version of OpenSearch | ||
title: 'Compatibility with OpenSearch (version)' | ||
labels: compatibility, level/task, type/research | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description | ||
We need to ensure the UI compatibility with the next version of OpenSearch vX.X. | ||
This update is still being discussed, but we need to be aware of potential issues. | ||
|
||
For that, we need to: | ||
|
||
- [ ] Review opensearch and opensearch-dashboard latest stable changelog. | ||
- [ ] Identify improvements and potential impact on the UI. | ||
- [ ] Create new tracking and development branches. | ||
- [ ] Develop a testing environment to verify our components would work under this new build. | ||
|
||
|
||
## Issues | ||
- _List here the detected issues_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: New release | ||
about: "[wazuh-team] Track the effort of the team to release a new version of Wazuh" | ||
title: Support for Wazuh 4.x.x | ||
labels: level/task, type/enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description | ||
|
||
Example: | ||
> Wazuh 4.3.8 will be released shortly. Our Wazuh Dashboard app need to support this new version. From our side, no changes will be included, so we only need to bump the version. | ||
|
||
## Tasks | ||
|
||
### Pre-release | ||
- [ ] Add support for Wazuh 4.x.x (bump). | ||
- [ ] Generate the required tags. | ||
- [ ] Generate the packages. | ||
- [ ] Test the packages, to verify they install, and the app works as expected. | ||
- [ ] [Optional] Run Regression Testing (#issue) | ||
- [ ] Generate draft releases. | ||
- [ ] Notify the @wazuh/cicd and @wazuh/content teams that the release is good to go, from our side. | ||
|
||
### Post-release | ||
- [ ] Make draft releases final and public. | ||
- [ ] Sync branches. | ||
|
||
### Supported versions | ||
|
||
Same as on [previous releases](https://github.com/wazuh/wazuh-dashboard/wiki/Compatibility) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# This is a basic workflow that is manually triggered | ||
|
||
name: Build base | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
CHECKOUT_TO: # This is the branch to checkout to. Defaults to 'master' | ||
description: 'The branch/tag/commit to checkout to' | ||
required: true | ||
default: '' | ||
type: string | ||
ARCHITECTURE: | ||
description: 'The architecture to build the package for' | ||
required: true | ||
default: 'amd64' | ||
type: string | ||
|
||
workflow_dispatch: | ||
inputs: | ||
CHECKOUT_TO: # This is the branch to checkout to. Defaults to 'master' | ||
description: 'The branch/tag/commit to checkout to' | ||
required: true | ||
default: '' | ||
ARCHITECTURE: | ||
description: 'The architecture to build the package for' | ||
required: true | ||
default: 'amd64' | ||
type: string | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ (inputs.ARCHITECTURE == 'x86_64' || inputs.ARCHITECTURE == 'amd64') && 'ubuntu-latest' || 'wz-linux-arm64' }} | ||
name: Build | ||
defaults: | ||
run: | ||
working-directory: ./artifacts | ||
strategy: | ||
matrix: | ||
DISTRIBUTION: [tar.gz] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: wazuh/wazuh-dashboard | ||
path: ./artifacts | ||
ref: ${{ inputs.CHECKOUT_TO }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: './artifacts/.nvmrc' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Setup Yarn | ||
run: | | ||
npm uninstall -g yarn | ||
npm i -g [email protected] | ||
yarn config set network-timeout 1000000 -g | ||
- name: Configure Yarn Cache | ||
run: echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $GITHUB_ENV | ||
|
||
- name: Initialize Yarn Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ env.YARN_CACHE_LOCATION }} | ||
key: yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
yarn- | ||
- name: Get package version | ||
run: | | ||
echo "VERSION=$(yarn --silent pkg-version)" >> $GITHUB_ENV | ||
echo "WZD_VERSION=$(yarn --silent wzd-version)" >> $GITHUB_ENV | ||
echo "WZD_REVISION=$(yarn --silent wzd-revision)" >> $GITHUB_ENV | ||
- name: Get artifact build name | ||
run: | | ||
echo "ARTIFACT_BUILD_NAME=wazuh-dashboard_${{ env.WZD_VERSION }}-${{ env.WZD_REVISION }}_${{ (inputs.ARCHITECTURE == 'x86_64' || inputs.ARCHITECTURE == 'amd64') && 'x64' || 'arm64' }}.${{ matrix.DISTRIBUTION }}" >> $GITHUB_ENV | ||
- name: Run bootstrap | ||
run: yarn osd bootstrap | ||
|
||
- name: Build | ||
run: yarn build-platform --${{(inputs.ARCHITECTURE == 'x86_64' || inputs.ARCHITECTURE == 'amd64') && 'linux' || 'linux-arm'}} --skip-os-packages --release | ||
|
||
- name: Rename artifact | ||
run: mv /home/runner/work/wazuh-dashboard/wazuh-dashboard/artifacts/target/opensearch-dashboards-${{ env.VERSION }}-linux-${{ (inputs.ARCHITECTURE == 'x86_64' || inputs.ARCHITECTURE == 'amd64') && 'x64' || 'arm64' }}.${{ matrix.DISTRIBUTION }} /home/runner/work/wazuh-dashboard/wazuh-dashboard/artifacts/target/${{ env.ARTIFACT_BUILD_NAME }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: success() | ||
with: | ||
name: ${{ env.ARTIFACT_BUILD_NAME }} | ||
path: ./artifacts/target/${{ env.ARTIFACT_BUILD_NAME }} | ||
retention-days: 30 |
Oops, something went wrong.