Skip to main content

Module tracker_templates

Module tracker_templates 

Source
Expand description

Tracker template rendering step

This module provides the RenderTrackerTemplatesStep which handles rendering of Tracker configuration templates to the build directory. This step prepares tracker.toml configuration file for deployment to the remote host.

§Key Features

  • Template rendering for Tracker configuration
  • Integration with the TrackerProjectGenerator for file generation
  • Build directory preparation for deployment operations
  • Comprehensive error handling for template processing

§Usage Context

This step is typically executed during the release workflow, after infrastructure provisioning and software installation, to prepare the Tracker configuration files for deployment.

§Architecture

This step follows the three-level architecture:

  • Command (Level 1): ReleaseCommandHandler orchestrates the release workflow
  • Step (Level 2): This RenderTrackerTemplatesStep handles template rendering
  • The templates are rendered locally, no remote action is needed

§Phase 4 Implementation

For Phase 4, all tracker configuration values are hardcoded in the tracker.toml.tera template. No environment configuration is used yet.

In Phase 6, this will be extended to extract configuration from EnvironmentConfig.

Structs§

RenderTrackerTemplatesStep
Step that renders Tracker configuration templates to the build directory