Skip to main content

🔧 Stacktic Adoption and Customization

📋 Table of Contents

  1. Overview
  2. Adoption Overview
  3. Working With Your Source Code
  4. Merge Strategy
  5. Simplified Customization Flow

Overview

This section explains how Stacktic integrates with your existing tools and processes, and how you can customize results and manage your code with minimal overhead.

Key Principles

PrincipleDescriptionBenefit
Non-InvasiveWorks alongside existing toolsNo disruption to current workflows
Flexible IntegrationMultiple integration optionsChoose what fits your needs
Full ControlYour code remains yoursComplete customization freedom
Smart MergingIntelligent branch managementPreserves your customizations

🧩 Adoption Overview

Integration Philosophy

Stacktic is designed to coexist peacefully with your existing environment.

What Stacktic DOES Enable

  • ✅ Continue using your existing CI/CD pipeline OR handle CI directly in Stacktic
  • ✅ Use your own Backstage OR automate from Stacktic
  • ✅ Rely on external services OR let Stacktic automate them
  • ✅ Manage metadata for external or managed services as needed

Integration Options

ComponentYour ChoiceStacktic's Role
CI/CD PipelineKeep existing (Jenkins, GitLab CI, etc.) OR use StackticGenerates compatible configs for either
Service CatalogKeep Backstage/similar OR use StackticIntegrates with existing or provides built-in
External ServicesKeep managed services OR automateSupports both approaches
RepositoryUse existing OR create newWorks with any Git provider

💡 Bottom Line: Stacktic integrates smoothly with your existing environment and can connect to external components without disruption.


📂 Working With Your Source Code

Code Management Options

Stacktic keeps your code open and under your control with multiple approaches:

Option 1: Import from External Repository

  • Import code from any Git repository
  • Maintain existing development workflows
  • Stacktic adds configuration without touching source

Option 2: Import Container Images

  • Use pre-built images
  • Perfect for third-party services
  • Stacktic manages deployment configuration

Option 3: Use Stacktic Sourc Code

  • Write code directly on main branch
  • Stacktic merges configuration changes separately
  • Never touches your source code or libraries

Code Ownership Model

AspectControlManagement
Application Code100% yoursYou manage directly
Business Logic100% yoursNever touched by Stacktic
Libraries/Dependencies100% yoursYou control versions
Infrastructure ConfigCustomizableStacktic generates, you can modify
RelationshipsCustomizableStacktic automates, you can override

🔀 Merge Strategy

Automated Configuration Management

Stacktic automates relationships and configuration, while you focus on customizing the final results.

How The Merge Process Works

1. Build Phase:
- Stacktic generates configurations
- Pushes changes to 'stacktic' branch

2. Merge Phase:
- Changes merged into 'main' branch
- Your customizations preserved

3. Customization Phase:
- You modify anything in 'main'
- Changes persist across builds

Merge Strategy Options

Default Strategy: Safe Merge

  • Merges everything from stacktic to main
  • Never overwrites your customizations
  • Additive approach - new configs added, existing preserved
  • Perfect for most use cases

Custom Strategy: Selective Control

  • Track differences between main and stacktic branches
  • Choose to ignore or overwrite specific changes
  • File-level control during build process
alt text

File-Level Control

You can choose specific actions for individual files:

ActionUse CaseResult
Restore from StackticFile corrupted or misconfiguredReturns to Stacktic's version
Keep CustomYour version is preferredIgnores Stacktic updates
Merge ChangesWant both updatesIntelligent merge
RollbackPrevious state neededRestore earlier version
alt text

Merge Conflict Resolution

ScenarioResolutionControl
New files from StackticAlways addedAutomatic
Modified configsYour changes preservedDefault behavior
Conflicting changesManual review optionYou decide
Deleted filesRestoration optionPer-file control

✅ Simplified Customization Flow

The Complete Workflow

This build-and-merge strategy simplifies your workflow while giving you 100% customization with minimal effort.

Workflow Benefits

BenefitDescriptionImpact
Full ControlEvery aspect customizableNo vendor lock-in
Minimal EffortAutomation handles complexity90% time savings
Safe UpdatesYour changes never lostRisk-free upgrades
Version TrackingComplete Git historyFull auditability

Practical Workflow Example

# 1. Stacktic generates and pushes to stacktic branch
git checkout stacktic
# All infrastructure and configuration updates here

# 2. Merge to main (your customizations preserved)
git checkout main
git merge stacktic --strategy=ours # Or custom strategy

# 3. Your customizations remain intact
# - Your source code: untouched
# - Your custom configs: preserved
# - Your overrides: maintained

# 4. Continue development
# Make any changes you need in main
# Next Stacktic build respects your changes

Customization Levels

LevelWhat You Can CustomizeExample
ComponentService configurationsResource limits, replicas
RelationshipsConnection settingsProtocols, authentication
SecurityPolicies and accessRBAC, network policies
OperationsMonitoring, backupsThresholds, schedules
EverythingAny generated fileComplete flexibility

Best Practices for Customization

Do's

  • ✅ Customize in main branch after merge
  • ✅ Use file-level controls for specific needs
  • ✅ Document your customizations
  • ✅ Test changes in staging first
  • ✅ Use version control for tracking

Don'ts

  • ❌ Don't modify stacktic branch directly
  • ❌ Don't skip merge reviews for critical systems
  • ❌ Don't ignore Stacktic updates completely
  • ❌ Don't customize without documenting why

🎯 Summary

Key Takeaways

Stacktic's adoption and customization approach provides:

FeatureBenefit
Seamless IntegrationWorks with existing tools and workflows
Flexible Code ManagementMultiple options for source code handling
Intelligent MergingPreserves customizations while updating
Full Control100% customization capability
Minimal OverheadAutomation with override options

The Stacktic Promise

You maintain full control over your code, while Stacktic handles the heavy lifting for relationships, configurations, and automation.

This approach ensures:

  • No vendor lock-in
  • Preserved investments in existing tools
  • Gradual adoption possible
  • Complete transparency in all operations
  • Future flexibility for changes

Stacktic: Powerful automation that respects your autonomy.