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

Add wodles/gcloud/exceptions.py file to Solaris11 SPECS #1384

Merged
merged 2 commits into from
Mar 24, 2022

Conversation

noise-kngdm
Copy link
Contributor

Related issue
Closes #1316

Description

In this PR we add the wodles/gcloud/exceptions.py file, which was added for wazuh/wazuh#12140 to the Solaris11 SPECS file.

Tests

We tested the changes by creating a Solaris11 package using the instructions of the Wazuh documentation and installing it in a Solaris11 machine. Everything worked as expected, as can be seen in the following output:

Package installation and file permissions in Solaris11
root@solaris11:/tmp# pkg install -g ./wazuh-agent_v4.4.0-sol11-i386.p5p wazuh-agent
		   Packages to install:  1
			Services to change:  1
	   Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                1/1         94/94      5.8/5.8 98.9M/s

PHASE                                          ITEMS
Installing new actions                       147/147
Updating package state database                 Done 
Updating package cache                           0/0 
Updating image state                            Done 
Creating fast lookup database                   Done 
Updating package cache                           2/2 

root@solaris11:/tmp# ls -l /var/ossec/wodles/gcloud/
total 47
drwxr-x---   2 root     wazuh          4 Mar 23 18:22 buckets
-rwxr-x---   1 root     wazuh       4453 Mar 23 18:22 exceptions.py
-rwxr-x---   1 root     wazuh       4673 Mar 23 18:22 gcloud
-rwxr-x---   1 root     wazuh       2887 Mar 23 18:22 integration.py
drwxr-x---   2 root     wazuh          3 Mar 23 18:22 pubsub
-rwxr-x---   1 root     wazuh       5638 Mar 23 18:22 tools.py
Package uninstalling in Solaris11
root@solaris11:/tmp# pkg uninstall wazuh-agent
			Packages to remove:  1
			Services to change:  1
	   Create boot environment: No
Create backup boot environment: No

PHASE                                          ITEMS
Removing old actions                         191/191
Updating package state database                 Done 
Updating package cache                           1/1 
Updating image state                            Done 
Creating fast lookup database                   Done 
Updating package cache                           2/2 
  • 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

@noise-kngdm noise-kngdm self-assigned this Mar 23, 2022
@davidjiglesias davidjiglesias merged commit 986bfba into master Mar 24, 2022
@davidjiglesias davidjiglesias deleted the feature/1316-add-gcp-exceptions-solaris11 branch March 24, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add wodles/gcloud/exceptions.py to packages SPECS
4 participants