Reference
Quick Command Reference
Initial Setup
# Using pip
pip install copier
copier copy https://coderepo.mobilehealth.va.gov/scm/ckm/ngss-devops-template.git . --trust
# Using Maven
mvn filegen:copier-init -Dcopier.template=devops
Updates
# Standard update
copier update -a .copier-answers/devops.yaml
# Re-prompt specific questions
copier update --ask version --ask service_dependencies -a .copier-answers/devops.yaml
# Update with data file
copier update -a .copier-answers/devops.yaml --data-file deps.yaml
# Update to specific version
copier update --vcs-ref v1.2.0 -a .copier-answers/devops.yaml
All Configuration Variables
Common Variables
| Variable | Type | Description |
|---|---|---|
|
str |
Maven artifact ID |
|
str |
Service version |
|
str |
Docker registry org |
|
str |
Bitbucket project key |
|
str |
Issue tracker URL |
|
choice |
service, web, library |
|
str |
Major version prefix (v1) |
DevOps Variables
| Variable | Type | Description |
|---|---|---|
|
str |
Skaffold context directory |
|
bool |
Include SQL configmap |
|
yaml |
List of service dependencies |
|
str |
Git base URL |
|
str |
Default kustomize path |
VAEC Variables
| Variable | Type | Description |
|---|---|---|
|
str |
Cost Key ID |
|
str |
Tenant ID |
|
str |
Product name |
|
str |
Product line |
|
str |
Service type |
|
str |
Application name |
|
str |
Short name for Dynatrace |
Profile Variables
| Variable | Type | Default |
|---|---|---|
|
bool |
true |
|
bool |
false |
|
bool |
true |
|
bool |
true |
|
bool |
true |
|
bool |
true |
|
bool |
false |
|
bool |
varies |
Skaffold Profiles
| Profile | Purpose |
|---|---|
|
Local development with service dependencies |
|
Build and test for sandbox environment |
|
Build and test for staging environment |
|
Deploy to MAP sandbox cluster |
|
Deploy to MAP staging cluster |
|
Deploy to MAP production cluster |
|
Debug mode with all services |
|
Vault integration testing |
Useful Scripts
| Script | Purpose |
|---|---|
|
Generate localized kustomize overlays |
|
Validate Skaffold configuration |
|
Manage template versions |
File Locations
| Path | Purpose |
|---|---|
|
Saved template answers |
|
Main Skaffold configuration |
|
Base deployment with VAEC labels |
|
Dev environment configuration |
|
Environment-specific configuration |
Support
-
Slack:
#ci-support -
Repository: https://coderepo.mobilehealth.va.gov/projects/CKM/repos/ngss-devops-template