Skip to content

Netcracker/qubership-envgene-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

115 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Qubership Envgene Template

License: Apache 2.0

Templates for creating Qubership Envgene instances with support for various environments and configurations.

Description

This repository contains a Maven artifact with templates for deploying and configuring Qubership Envgene instances. The templates support various environments (dev, svt) and include configurations for cloud infrastructure, ArgoCD, BSS, and other components.

Project Structure

qubership-envgene-template/
β”œβ”€β”€ templates/                          # Main templates
β”‚   β”œβ”€β”€ env_templates/                  # Environment templates
β”‚   β”‚   β”œβ”€β”€ dev/                        # Development environment
β”‚   β”‚   β”‚   β”œβ”€β”€ cloud.yml.j2           # Cloud configuration
β”‚   β”‚   β”‚   β”œβ”€β”€ tenant.yml.j2          # Tenant configuration
β”‚   β”‚   β”‚   └── Namespaces/            # Namespaces
β”‚   β”‚   β”‚       β”œβ”€β”€ core.yml.j2        # Core components
β”‚   β”‚   β”‚       β”œβ”€β”€ bss.yml.j2         # BSS components
β”‚   β”‚   β”‚       β”œβ”€β”€ data-management.yml.j2
β”‚   β”‚   β”‚       β”œβ”€β”€ data-migration.yml.j2
β”‚   β”‚   β”‚       └── datahub.yml.j2
β”‚   β”‚   β”œβ”€β”€ dev.yaml                    # Dev environment configuration
β”‚   β”‚   └── svt.yaml                    # SVT environment configuration
β”‚   β”œβ”€β”€ parameters/                      # Configuration parameters
β”‚   β”‚   β”œβ”€β”€ argocd-configuration/       # ArgoCD configuration
β”‚   β”‚   β”œβ”€β”€ bss-configuration/          # BSS configuration
β”‚   β”‚   β”œβ”€β”€ ci-configuration/           # CI/CD configuration
β”‚   β”‚   β”œβ”€β”€ cloud-configuration/        # Cloud configuration
β”‚   β”‚   β”œβ”€β”€ env-specific-configuration/ # Environment-specific settings
β”‚   β”‚   └── wa/                         # Workaround configurations
β”‚   └── resource_profiles/               # Resource profiles
β”‚       β”œβ”€β”€ dev_bss.yml                 # BSS resource profile for dev
β”‚       β”œβ”€β”€ dev_core.yml                # Core resource profile for dev
β”‚       β”œβ”€β”€ svt_bss.yml                 # BSS resource profile for SVT
β”‚       └── svt_core.yml                # Core resource profile for SVT
β”œβ”€β”€ src/assembly/                        # Maven assembly configuration
β”œβ”€β”€ pom.xml                             # Maven configuration
└── README.md                           # Documentation

Features

πŸš€ Supported Environments

  • Development (dev) - development environment
  • SVT (Software Verification Testing) - testing environment

☁️ Cloud Infrastructure

  • Cloud resource configuration
  • PostgreSQL database support
  • Parallel execution settings

πŸ”„ CI/CD Integration

  • ArgoCD configuration for GitOps
  • CI/CD pipeline settings
  • E2E testing

πŸ—οΈ System Components

  • Core - core system components
  • BSS (Business Support System) - business support system
  • Data Management - data management
  • Data Migration - data migration
  • DataHub - data hub

πŸ“Š Resource Profiles

  • CPU and memory settings for various components
  • Base profiles for different environments
  • Flexible resource configuration

Installation

Requirements

  • Java 8+
  • Maven 3.6+
  • Docker (optional)

Building from Source

git clone https://github.com/Netcracker/qubership-envgene-template.git
cd qubership-envgene-template
mvn clean package

Using Maven Artifact

<dependency>
    <groupId>org.qubership</groupId>
    <artifactId>qubership_envgene_templates</artifactId>
    <version>0.0.10</version>
    <type>zip</type>
</dependency>

Usage

1. Environment Selection

Choose the appropriate environment template:

  • dev.yaml - for development
  • svt.yaml - for testing

2. Parameter Configuration

Configure parameters in the corresponding configuration files:

  • cloud-configuration.yml - cloud settings
  • argocd-configuration.yml - ArgoCD settings
  • bss-configuration/ - BSS settings

3. Applying Templates

Use the selected templates for deployment:

# Example of applying dev environment
envgene apply -f templates/env_templates/dev.yaml

# Example of applying SVT environment
envgene apply -f templates/env_templates/svt.yaml

Configuration

Cloud Settings

version: 23.3
name: cloud-configuration
parameters:
    ESCAPE_SEQUENCE: "true"
    DISABLE_PARALLEL_EXECUTION: true
    RUN_PARALLEL_EXECUTION: false
    USE_POSTGRESQL_AS_DB: "true"

ArgoCD Settings

version: 24.1
name: argocd-configuration
parameters: 
  ARGOCD_URL: "https://argocd-server.${CLOUD_PUBLIC_HOST}"
  ARGOCD_MAX_RETRY: '250'
  ARGOCD_WAIT_TIMEOUT: '5'
  ARGOCD_FAST_FAIL: 'true'

Resource Profiles

name: "dev_core"
version: 1
baseline: "dev"
applications:
  - name: "Cloud-Core"
    services:     
      - name: "control-plane"
        parameters:
          - name: "CPU_REQUEST"
            value: "10m"
          - name: "MEMORY_REQUEST"
            value: "120Mi"

Development

Adding New Templates

  1. Create a new template file in the appropriate directory
  2. Update the environment configuration
  3. Add necessary parameters
  4. Test the template

Adding New Environments

  1. Create a new configuration file in templates/env_templates/
  2. Define necessary templates and overrides
  3. Create corresponding resource profiles
  4. Update documentation

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Support

Contributing

We welcome contributions to the project! Please read our contributing guidelines.

Versions

Current version: 0.0.1

Full version history is available in CHANGELOG.md (if available).


Note: This project is part of the Qubership ecosystem and is intended for use in the Netcracker Technology corporate environment.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors