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 future version on wazuh-control script #2410

Merged

Conversation

lchico
Copy link
Member

@lchico lchico commented Sep 1, 2023

Related issue
#2409

Description

In this pull request, the '--future' flag also updates the package version in wazuh-control.

How to test it

After generating a package with the --future flag and installing it, run:

/var/ossec/bin/wazuh-control info -v

Logs example

[root@9ff26f398fb8 /]# /var/ossec/bin/wazuh-control info -v v4.30.0

Tests

  • Build the package in any supported platform
    • Linux
    • Windows
    • macOS
    • Solaris
    • AIX
    • HP-UX
  • Package installation
  • Package upgrade
  • Package downgrade
  • Package remove
  • Package install/remove/install
  • Change added to CHANGELOG.md
  • Tests for Linux RPM
    • Build the package for x86_64
    • Build the package for i386
    • Build the package for armhf
    • Build the package for aarch64
    • %files section is correctly updated if necessary
  • Tests for Linux deb
    • Build the package for x86_64
    • Build the package for i386
    • Build the package for armhf
    • Build the package for aarch64
    • Package install/remove/install
    • Package install/purge/install
    • Check file permissions after installing the package
  • Tests for macOS
    • Test the package from macOS Sierra to Mojave
  • Tests for Solaris
    • Test the package on Solaris 10
    • Test the package on Solaris 11
    • Check file permissions on Solaris 11 template
  • Tests for IBM AIX
    • %files section is correctly updated if necessary
    • Check the changes from IBM AIX 5 to 7

@lchico lchico linked an issue Sep 1, 2023 that may be closed by this pull request
2 tasks
@lchico lchico requested a review from DFolchA September 1, 2023 21:39
@lchico lchico self-assigned this Oct 10, 2023
@lchico lchico requested a review from ncvicchi October 10, 2023 18:30
@lchico lchico force-pushed the 2409-change-wazuh-control-version-in-future-packages branch from ca5a6be to 39ade90 Compare October 10, 2023 18:33
@lchico
Copy link
Member Author

lchico commented Oct 10, 2023

@DFolchA , @ncvicchi. The test looks OK. I left here some tests that I did:

RPM:

Check agent
Screenshot from 2023-10-10 15-39-04
Check manager
Screenshot from 2023-10-10 15-44-31
For more details: https://ci.wazuh.info/job/Test_upgrade/129604/console

Debian

Check agent
Screenshot from 2023-10-10 20-18-53
Check manager
Screenshot from 2023-10-10 20-19-24
https://ci.wazuh.info/job/Test_upgrade/130017/console

Alpine

Tested locally
Screenshot from 2023-10-10 13-02-09

Archlinux

Screenshot from 2023-10-10 15-24-40

ncvicchi
ncvicchi previously approved these changes Oct 12, 2023
Copy link
Member

@ncvicchi ncvicchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

DFolchA
DFolchA previously approved these changes Oct 13, 2023
@lchico lchico force-pushed the 2409-change-wazuh-control-version-in-future-packages branch from 39ade90 to eb3b42a Compare October 23, 2023 19:20
@lchico lchico changed the base branch from master to 4.7.1 October 23, 2023 20:54
@lchico lchico dismissed stale reviews from DFolchA and ncvicchi October 23, 2023 20:54

The base branch was changed.

… archlinux future package versions to x.30.0
@lchico lchico force-pushed the 2409-change-wazuh-control-version-in-future-packages branch from e51eaf5 to b74f5de Compare October 24, 2023 15:01
@vikman90 vikman90 merged commit 9ffe644 into 4.7.1 Oct 31, 2023
56 checks passed
@vikman90 vikman90 deleted the 2409-change-wazuh-control-version-in-future-packages branch October 31, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change wazuh-control version in future packages
4 participants