Multiple Configs in Same Folder
It’s common to scaffold more than one SKA template into the same working directory (for example, app code + CI/pipeline template + infra snippets). In this scenario, SKA stores multiple configuration files under the local .ska-config directory—one per template—so each template can be updated independently.
How Multiple Configurations Work
Each time you scaffold a template into the same root, SKA creates or updates an entry under .ska-config/ dedicated to that template.
Every entry tracks:
- The upstream blueprint reference (including subfolder path and pinned ref like
@v1.2.3) - The variables captured during creation
- Behavior settings (e.g., ignore paths) carried over from the upstream
This enables you to:
- Keep multiple templates side-by-side in one project folder
- Update each template independently without affecting the others
List Configurations
Use the config list command to see all template configurations present in the current directory:
ska config listWhat You Get
- The list of configuration names that identify each template’s state within
.ska-config - A reference for which name to target in later commands (e.g., update, rename)
Rename a Configuration
Give a configuration a clearer name (for example, rename a generic “default” to something meaningful like ci-pipeline):
ska config rename OLD_NAME NEW_NAMEWhy Rename?
- Make updates more explicit and safer, especially when multiple templates coexist
- Standardize naming across teams or CI pipelines
Example
ska config rename default ci-pipelineUpdate a Specific Template
When multiple templates are present, specify which one to update via the named configuration:
ska update --path . --name <CONFIG_NAME>Examples
Update a CI/pipeline template only:
ska update --path . --name ci-pipelineUpdate an application runtime template only:
ska update --path . --name app-runtimeNon-Interactive Updates in CI
ska update --path . --name ci-pipeline --non-interactive -v key=value -v another=valuePractical Workflow
Step 1: Scaffold Multiple Templates
Apply multiple templates to the same folder:
# App templateska create \ --blueprint https://github.com/org/templates//app-base@v1.0 \ --output ./my-project
# CI templateska create \ --blueprint https://github.com/org/templates//ci-pipeline@v2.0 \ --output ./my-projectStep 2: List Configurations
ska config listOutput:
Configurations in ./my-project: - default - ci-pipelineStep 3: Rename for Clarity
ska config rename default app-runtimeStep 4: Update Independently
# Update just the CI templateska update --path . --name ci-pipeline
# Update just the app templateska update --path . --name app-runtimeBest Practices
Updating Upstream References
If a configuration’s upstream reference needs to be pinned to a new version (e.g., @v1.2.0 → @v1.3.0):
- Update that configuration’s upstream reference
- Run the targeted update:
ska update --path . --name <CONFIG_NAME>