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

pull 4.9.0 #429

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
3d89a42
[MDS] Support Vega Visualizations (#5975) (#6212) (#6221)
opensearch-trigger-bot[bot] Mar 20, 2024
4086a8d
[MDS] Add Vega support for importing saved objects (#6123) (#6214) (#…
opensearch-trigger-bot[bot] Mar 20, 2024
e53aa5b
Add release notes for 2.13 (#6228)
manasvinibs Mar 20, 2024
31f2b49
[osd/std] Add additional recovery from false-positives in handling of…
opensearch-trigger-bot[bot] Mar 23, 2024
df04147
Move kristenTian to emeritus maintainer (#6208) (#6227)
opensearch-trigger-bot[bot] Mar 25, 2024
2a9d6dd
[osd/std] Add fallback mechanism when recovery from false-positives i…
opensearch-trigger-bot[bot] Mar 25, 2024
ee03353
Compatibility with OpenSearch 2.11.1 (#131)
yenienserrano Dec 22, 2023
82200ef
Add script test packages (#133)
yenienserrano Jan 2, 2024
c96eeab
Fix inconsistent help menu (#139)
Tostti Jan 31, 2024
ac225fc
140 update the repo with the latest changes of wazuh dashboard (#141)
yenienserrano Feb 20, 2024
f86dec9
Modify action to allow uploading artifact to S3 (#151)
Tostti Mar 20, 2024
78fe583
Modify package generation actions (#157)
Tostti Apr 4, 2024
ac48aa7
Remove unrequired bundle
Tostti Apr 5, 2024
e32d695
Fix service
Tostti Apr 5, 2024
18efe34
Fix repository tests (#163)
Tostti Apr 12, 2024
6427b24
Fix reference in building workflow
Tostti Apr 16, 2024
eb8ca89
Fix tar error in build workflow (#168)
Tostti Apr 17, 2024
6bca359
Fix errors in package build workflow (#169)
Tostti Apr 19, 2024
d3c021d
Add secret for aws region (#171)
Tostti Apr 24, 2024
c36dd6e
Change default theme (#174)
Tostti May 10, 2024
5a302c9
Add ID input to workflows (#179)
rauldpm May 17, 2024
fb728f9
Fix css selector to login button (#181)
lucianogorza May 22, 2024
71b3eda
Fix error generating packages in branches that contain `/` (#183)
Tostti May 23, 2024
0921fed
Add information to build workflow title (#188)
Tostti May 28, 2024
c252025
Build packages with docker (#185)
yenienserrano May 31, 2024
dfb22c6
Added S3 URI output to package generation upload (#190)
rauldpm Jun 5, 2024
bd9dad2
Added missing name statement in package generation workflows (#191)
rauldpm Jun 6, 2024
f58162b
Bump 4.9.0 to revision 01 (#205)
asteriscos Jun 20, 2024
84efb1f
Change GitHub action version 4.9.0 reference to alpha1 tag (#207)
asteriscos Jun 20, 2024
e14ac7e
Revert 4.9.0 Github action alpha1 stage (#208)
asteriscos Jun 21, 2024
bd30be4
Add setcap for node fallback (#226)
lucianogorza Jul 1, 2024
ff2b044
Bump 4.9.0 revision 02 (#236)
Desvelao Jul 12, 2024
5f1dfa9
Fix 4.9.0 alpha2 build package GHA (#237)
Desvelao Jul 12, 2024
ee073f2
Revert 4.9.0 Github action alpha2 stage (#238)
Desvelao Jul 12, 2024
8393e16
Bump 4.9.0 revision 03 (#252)
Tostti Jul 19, 2024
ed54902
Fix 4.9.0 alpha3 build package GHA (#253)
Tostti Jul 19, 2024
7340316
Revert 4.9.0 Github action alpha3 stage (#254)
Tostti Jul 19, 2024
3574090
Restore the original home icon size (#243)
yenienserrano Jul 22, 2024
2f99bde
Corrections to indexer management and dashboard management in the lef…
chantal-kelm Jul 22, 2024
d6da85a
Change default value of useExpandedHeader to false (#247)
yenienserrano Jul 25, 2024
0456361
Bump 4.9.0 rev 04 (#260)
Desvelao Aug 2, 2024
24be535
Revert reference on GHA workflow and add missing entries on changelog…
Desvelao Aug 2, 2024
9eaed36
Bump 4.9.0 rev 05 (#263)
Desvelao Aug 9, 2024
be3a378
Bump 4.9.0 rev 06 (#275)
Tostti Aug 21, 2024
9371c4b
Change the loading logo with a svg file (#281)
JuanGarriuz Aug 29, 2024
9d83c89
Change build number generation (#284)
Tostti Aug 29, 2024
5c6dedb
Bump 4.9.0 rev 07 RC2 (#286)
Desvelao Aug 30, 2024
d7e1e5e
Change github actions to v4.9.0 tag (#291)
asteriscos Sep 5, 2024
0472839
Fix 4.9 package generation (#296)
Tostti Sep 6, 2024
b901340
modify workflow tag (#298)
Tostti Sep 6, 2024
2d46edd
Revert configuration change (#300)
rauldpm Sep 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @ananzh @kavilla @AMoo-Miki @ashwin-pc @joshuarrrr @abbyhu2000 @zengyan-amazon @kristenTian @zhongnansu @manasvinibs @ZilongX @Flyingliuhub @BSFishy @curq @bandinib-amzn @SuZhou-Joe @ruanyl @BionIT
* @ananzh @kavilla @AMoo-Miki @ashwin-pc @joshuarrrr @abbyhu2000 @zengyan-amazon @zhongnansu @manasvinibs @ZilongX @Flyingliuhub @BSFishy @curq @bandinib-amzn @SuZhou-Joe @ruanyl @BionIT
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/compatibility_request.md
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_
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/new_release.md
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)
78 changes: 45 additions & 33 deletions .github/workflows/build_and_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ name: Build and test
# trigger on every commit push and PR for all branches except feature branches and pushes for backport branches
on:
push:
branches: [ '**', '!feature/**', '!backport/**' ]
branches: ['**', '!feature/**', '!backport/**']
paths-ignore:
- '**/*.md'
- 'docs/**'
pull_request:
branches: [ '**', '!feature/**' ]
branches: ['**', '!feature/**']
paths-ignore:
- '**/*.md'
- 'docs/**'
Expand All @@ -25,21 +25,21 @@ env:
TEST_OPENSEARCH_TRANSPORT_PORT: 9403
TEST_OPENSEARCH_PORT: 9400
OSD_SNAPSHOT_SKIP_VERIFY_CHECKSUM: true
NODE_OPTIONS: "--max-old-space-size=6144 --dns-result-order=ipv4first"
NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first'

jobs:
build-lint-test:
name: Build and Verify on ${{ matrix.name }} (ciGroup${{ matrix.group }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest] #Removed 'windows-latest'
group: [1, 2, 3, 4]
include:
- os: ubuntu-latest
name: Linux
- os: windows-latest
name: Windows
# - os: windows-latest
# name: Windows
runs-on: ${{ matrix.os }}
steps:
- name: Configure git's autocrlf (Windows only)
Expand All @@ -53,7 +53,7 @@ jobs:
with:
minimum-size: 16GB
maximum-size: 64GB
disk-root: "C:"
disk-root: 'C:'

- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -138,13 +138,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
os: [ubuntu-latest] #Removed 'windows-latest'
group: [1, 2, 4, 6, 7, 8, 9, 10, 11, 13]
include:
- os: ubuntu-latest
name: Linux
- os: windows-latest
name: Windows
# - os: windows-latest
# name: Windows
runs-on: ${{ matrix.os }}
steps:
- run: echo Running functional tests for ciGroup${{ matrix.group }}
Expand All @@ -160,7 +160,7 @@ jobs:
with:
minimum-size: 16GB
maximum-size: 64GB
disk-root: "C:"
disk-root: 'C:'

- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -233,12 +233,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest] #Removed 'windows-latest'
include:
- os: ubuntu-latest
name: Linux
- os: windows-latest
name: Windows
# - os: windows-latest
# name: Windows
runs-on: ${{ matrix.os }}
steps:
- run: echo Running plugin functional tests
Expand All @@ -254,7 +254,7 @@ jobs:
with:
minimum-size: 16GB
maximum-size: 64GB
disk-root: "C:"
disk-root: 'C:'

- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -332,21 +332,21 @@ jobs:
ext: tar.gz
suffix: linux-arm64
script: build-platform --linux-arm --skip-os-packages
- os: macos-latest
name: macOS x64
ext: tar.gz
suffix: darwin-x64
script: build-platform --darwin --skip-os-packages
- os: macos-latest
name: macOS ARM64
ext: tar.gz
suffix: darwin-arm64
script: build-platform --darwin-arm --skip-os-packages
- os: windows-latest
name: Windows x64
ext: zip
suffix: windows-x64
script: build-platform --windows --skip-os-packages
# - os: macos-latest
# name: macOS x64
# ext: tar.gz
# suffix: darwin-x64
# script: build-platform --darwin --skip-os-packages
# - os: macos-latest
# name: macOS ARM64
# ext: tar.gz
# suffix: darwin-arm64
# script: build-platform --darwin-arm --skip-os-packages
# - os: windows-latest
# name: Windows x64
# ext: zip
# suffix: windows-x64
# script: build-platform --windows --skip-os-packages
runs-on: ${{ matrix.os }}
defaults:
run:
Expand All @@ -364,7 +364,7 @@ jobs:
with:
minimum-size: 16GB
maximum-size: 64GB
disk-root: "C:"
disk-root: 'C:'

- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -441,7 +441,19 @@ jobs:
working-directory: ./artifacts
strategy:
matrix:
version: [osd-2.0.0, osd-2.1.0, osd-2.2.0, osd-2.3.0, osd-2.4.0, osd-2.5.0, osd-2.6.0, osd-2.7.0, osd-2.8.0, osd-2.9.0]
version:
[
osd-2.0.0,
osd-2.1.0,
osd-2.2.0,
osd-2.3.0,
osd-2.4.0,
osd-2.5.0,
osd-2.6.0,
osd-2.7.0,
osd-2.8.0,
osd-2.9.0,
]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
93 changes: 93 additions & 0 deletions .github/workflows/build_base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# 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

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: ''

jobs:
build:
runs-on: ubuntu-latest
name: Build
defaults:
run:
working-directory: ./artifacts
strategy:
matrix:
DISTRIBUTION: [tar.gz]
ARCHITECTURE: [x64]

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 }}_${{ matrix.ARCHITECTURE }}.${{ matrix.DISTRIBUTION }}" >> $GITHUB_ENV

- name: Run bootstrap
run: yarn osd bootstrap

- name: Build linux-x64
if: matrix.ARCHITECTURE == 'x64'
run: yarn build-platform --linux --skip-os-packages --release

- name: Build linux-arm64
if: matrix.ARCHITECTURE == 'arm64'
run: yarn build-platform --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-${{ matrix.ARCHITECTURE }}.${{ 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
Loading
Loading