Skip to content

Commit

Permalink
Add files for LTSS in qesap regression (#20624)
Browse files Browse the repository at this point in the history
Add conf.yaml and setting to manage LTSS in qesap regression for Azure.
  • Loading branch information
mpagot authored Nov 14, 2024
1 parent 1b3b1da commit a9fed7a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
49 changes: 49 additions & 0 deletions data/sles4sap/qe_sap_deployment/qesap_azure_ltss.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# SUSE's openQA tests
#
# Copyright SUSE LLC
# SPDX-License-Identifier: FSFAP
# Maintainer: QE-SAP <[email protected]>
# Summary: Generic yaml template for use with qe-sap-deployment project: https://github.com/SUSE/qe-sap-deployment
provider: 'azure'
apiver: 3
terraform:
variables:
az_region: '%REGION%'
deployment_name: '%DEPLOYMENTNAME%'
os_image: '%OS_VER%'
public_key: '%SLES4SAP_PUBSSHKEY%'
hana_remote_python: '%ANSIBLE_REMOTE_PYTHON%'
iscsi_remote_python: '%ANSIBLE_REMOTE_PYTHON%'
vnet_address_range: '%VNET_ADDRESS_RANGE%'
subnet_address_range: '%SUBNET_ADDRESS_RANGE%'
ansible:
roles_path: '%ANSIBLE_ROLES%'
az_storage_account_name: '%HANA_ACCOUNT%'
az_container_name: '%HANA_CONTAINER%'
az_key_name: '%HANA_KEYNAME%'
hana_media:
- '%HANA_SAR%'
- '%HANA_CLIENT_SAR%'
- '%HANA_SAPCAR%'
hana_vars:
sap_hana_install_software_directory: /hana/shared/install
sap_hana_install_master_password: 'DoNotUseThisPassw0rd'
sap_hana_install_sid: 'HQ0'
sap_hana_install_instance_number: '00'
sap_domain: 'qe-test.example.com'
primary_site: 'goofy'
secondary_site: 'miky'
create:
- %REGISTRATION_PLAYBOOK%.yaml -e reg_code='%SCC_REGCODE_SLES4SAP%' -e email_address='[email protected]' -e sles_modules='[{"key":"%SCC_LTSS_MODULE%","value":"%SCC_LTSS_REGCODE%"}]'
- fully-patch-system.yaml
- pre-cluster.yaml
- sap-hana-preconfigure.yaml -e use_reboottimeout=900
- cluster_sbd_prep.yaml
- sap-hana-storage.yaml
- sap-hana-download-media.yaml
- sap-hana-install.yaml
- sap-hana-system-replication.yaml
- sap-hana-system-replication-hooks.yaml
- sap-hana-cluster.yaml
destroy:
- deregister.yaml
2 changes: 2 additions & 0 deletions tests/sles4sap/qesapdeployment/configure.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ sub run {

# Only BYOS images needs it
$variables{SCC_REGCODE_SLES4SAP} = get_var('SCC_REGCODE_SLES4SAP', '');
$variables{SCC_LTSS_REGCODE} = get_var('SCC_REGCODE_LTSS', '');
$variables{SCC_LTSS_MODULE} = get_var('QESAPDEPLOY_SCC_LTSS_MODULE', '');
if (check_var('PUBLIC_CLOUD_PROVIDER', 'EC2')) {
$variables{HANA_INSTANCE_TYPE} = get_var('QESAPDEPLOY_HANA_INSTANCE_TYPE', 'r6i.xlarge');
}
Expand Down

0 comments on commit a9fed7a

Please sign in to comment.