mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-07 01:38:48 +00:00
* added custom templates support * made default templates DRY * Change init to anonymous function. * Initialize anonymous function inside var * - Add flag/cfg param for custom template dir - Add test for custom template * Add documentation. * Address PR comments. Co-authored-by: Ricard Bejarano <ribejara@thousandeyes.com>
7 lines
279 B
Cheetah
7 lines
279 B
Cheetah
{{ define "singleProjectApply" -}}
|
|
{{$result := index .Results 0}}Ran {{.Command}} for {{ if $result.ProjectName }}project: `{{$result.ProjectName}}` {{ end }}dir: `{{$result.RepoRelDir}}` workspace: `{{$result.Workspace}}`
|
|
|
|
{{$result.Rendered}}
|
|
{{ template "log" . }}
|
|
{{ end }}
|