mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-30 07:28: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
276 B
Cheetah
7 lines
276 B
Cheetah
{{ define "multiProjectHeader" -}}
|
|
Ran {{.Command}} for {{ len .Results }} projects:
|
|
|
|
{{ range $result := .Results }}1. {{ if $result.ProjectName }}project: `{{$result.ProjectName}}` {{ end }}dir: `{{$result.RepoRelDir}}` workspace: `{{$result.Workspace}}`
|
|
{{end}}
|
|
{{- end }}
|