exoscale marketplace listing tweaks
This commit is contained in:
parent
60de2e547a
commit
470887c34e
1 changed files with 18 additions and 5 deletions
|
@ -173,15 +173,28 @@ def generate_exoscale_marketplace_yaml(offering):
|
|||
).strip()
|
||||
|
||||
# Build YAML structure
|
||||
service_name = offering.service.name
|
||||
|
||||
# List of service names that should have "Enterprise" appended
|
||||
# This concerns all services which are already available on Exoscale Marketplace or DBaaS for differentiation
|
||||
# A workaround because we don't particularly have "Enterprise" services yet
|
||||
enterprise_services = ["GitLab", "PostgreSQL"]
|
||||
|
||||
if any(
|
||||
enterprise_service in service_name for enterprise_service in enterprise_services
|
||||
):
|
||||
service_name += " Enterprise"
|
||||
|
||||
title = f"{service_name} by Servala"
|
||||
yaml_structure = {
|
||||
yaml_key: {
|
||||
"page_class": "tmpl-marketplace-product",
|
||||
"html_title": f"Managed {offering.service.name} by VSHN via Servala",
|
||||
"meta_desc": "Servala is the Open Cloud Native Service Hub. It connects businesses, developers, and cloud service providers on one unique hub with secure, scalable, and easy-to-use cloud-native services.",
|
||||
"page_header_title": f"Managed {offering.service.name} by VSHN via Servala",
|
||||
"html_title": title,
|
||||
"meta_desc": f"Managed {offering.service.name} by Servala - a product by VSHN. Servala is the Open Cloud Native Service Hub. It connects businesses, developers, and cloud service providers on one unique hub with secure, scalable, and easy-to-use cloud-native services.",
|
||||
"page_header_title": title,
|
||||
"provider_key": "vshn",
|
||||
"slug": f"servala-managed-{offering.service.slug}",
|
||||
"title": f"Managed {offering.service.name} by VSHN via Servala",
|
||||
"slug": f"{offering.service.slug}-by-servala",
|
||||
"title": title,
|
||||
"logo": f"img/servala-{offering.service.slug}.svg",
|
||||
"list_display": [],
|
||||
"meta": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue