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 test for Sap Business One Installation #20442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emiura
Copy link
Contributor

@emiura emiura commented Oct 21, 2024

Fixes TEAM-9660

Adds:
Settings for b1 validation app
Shell script to parse business one validation program

Business One configuration file for Installation

Changed to create directory only if was not preset (prevent error during mkdir /sapinst)

Schedule for bone_test and bone_validation

Business One Installation test

Business one installation validation test

Install additional modules and packages if business one installation

VR:
SLE15SP4:
https://openqaworker15.qa.suse.cz/tests/305283
https://openqaworker15.qa.suse.cz/tests/305284

SLE15SP5:
https://openqaworker15.qa.suse.cz/tests/305276
https://openqaworker15.qa.suse.cz/tests/305277

Copy link

Great PR! Please pay attention to the following items before merging:

Files matching lib/**.pm:

  • Consider adding or extending unit tests in t/

This is an automatically generated QA checklist based on modified files.

@emiura emiura force-pushed the bone branch 2 times, most recently from 65aa1b3 to 24322a8 Compare October 21, 2024 13:07
data/sles4sap/b1_log.sh Outdated Show resolved Hide resolved
data/sles4sap/b1_log.sh Outdated Show resolved Hide resolved
lib/sles4sap.pm Outdated Show resolved Hide resolved
tests/sles4sap/bone_install.pm Outdated Show resolved Hide resolved
tests/sles4sap/bone_install.pm Outdated Show resolved Hide resolved
tests/sles4sap/bone_test.pm Outdated Show resolved Hide resolved
Copy link
Contributor

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

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

LGTM. Just a minor suggestion from my part.

lib/sles4sap.pm Outdated Show resolved Hide resolved
The media location must be provided as ASSET_0 in the job settings and be
available as an uncompressed tar in the factory/other directory of the openQA
server

Copy link
Contributor

Choose a reason for hiding this comment

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

Not a request to change just an idea: other library are documenting each argument individually

lib/sles4sap.pm Outdated Show resolved Hide resolved
lib/sles4sap.pm Show resolved Hide resolved
@@ -164,7 +127,7 @@ sub run {
# If the ASSET_0 variable is defined, the test will attempt to download
# the HANA media from the factory/other directory of the openQA server.
record_info "Dowloading using ASSET_0";
download_hana_assets_from_server(target => $target, nettout => $tout);
$self->download_hana_assets_from_server(target => $target, nettout => $tout);
Copy link
Contributor

Choose a reason for hiding this comment

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

was a bug present in the existing code? Is it related to newly added code in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I have moved the sub from hana_install.pm to lib/sles4sap.pm as it is used on bone_install.pm as well.

Copy link
Contributor

@mpagot mpagot left a comment

Choose a reason for hiding this comment

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

LGTM

Fixes TEAM-9660

Adds:
Settings for b1 validation app
Shell script to parse business one validation program

Business One configuration file for Installation

Changed to create directory only if was not preset (prevent error during
mkdir /sapinst)

Schedule for bone_test and bone_validation

Business One Installation test

Business one installation validation test

Install additional modules and packages if business one installation

Moved download_hana_assets_from_server to lib/sles4sap.pm

Merged fixes proposed by Alvaro, Michelle and Lumir.
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.

3 participants