├── .chglog ├── CHANGELOG.tpl.md └── config.yml ├── .github ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.md ├── SUPPORT.md ├── renovate.json └── workflows │ ├── codeql-analysis.yml │ ├── release.yml │ ├── reviewdog.yml │ ├── test.yml │ └── validate.yml ├── .gitignore ├── .golangci.yml ├── LICENSE ├── Makefile ├── NOTICE ├── codecov.yml ├── compiler ├── context.go ├── context_test.go ├── doc.go ├── engine.go └── native │ ├── clone.go │ ├── clone_test.go │ ├── compile.go │ ├── compile_test.go │ ├── doc.go │ ├── environment.go │ ├── environment_test.go │ ├── expand.go │ ├── expand_test.go │ ├── initialize.go │ ├── initialize_test.go │ ├── native.go │ ├── native_test.go │ ├── parse.go │ ├── parse_test.go │ ├── script.go │ ├── script_test.go │ ├── substitute.go │ ├── substitute_test.go │ ├── testdata │ ├── clone_false.yml │ ├── clone_replace.yml │ ├── clone_true.yml │ ├── invalid.yml │ ├── invalid_type.yml │ ├── metadata.yml │ ├── parameters.yml │ ├── pipeline_type.star │ ├── pipeline_type_default.yml │ ├── pipeline_type_go.yml │ ├── secrets.yml │ ├── stages.yml │ ├── stages_pipeline.yml │ ├── stages_pipeline_template.yml │ ├── steps.yml │ ├── steps_and_stages.yml │ ├── steps_pipeline.yml │ ├── steps_pipeline_template.yml │ ├── template-gradle.json │ ├── template-maven.json │ ├── template-starlark.json │ ├── template.json │ ├── template.star │ └── template.yml │ ├── transform.go │ ├── transform_test.go │ ├── validate.go │ └── validate_test.go ├── go.mod ├── go.sum ├── registry ├── doc.go ├── github │ ├── doc.go │ ├── github.go │ ├── github_test.go │ ├── parse.go │ ├── parse_test.go │ ├── template.go │ ├── template_test.go │ └── testdata │ │ ├── template.json │ │ └── template.yml ├── registry.go └── source.go └── template ├── doc.go ├── native ├── convert.go ├── convert_test.go ├── doc.go ├── render.go ├── render_test.go └── testdata │ ├── build │ ├── basic │ │ ├── build.yml │ │ └── want.yml │ ├── basic_stages │ │ ├── build.yml │ │ └── want.yml │ └── conditional │ │ ├── build.yml │ │ └── want.yml │ └── step │ ├── basic │ ├── step.yml │ ├── tmpl.yml │ └── want.yml │ ├── conditional │ ├── step.yml │ ├── tmpl.yml │ └── want.yml │ ├── disallowed │ ├── tmpl_env.yml │ └── tmpl_expandenv.yml │ ├── invalid.yml │ ├── invalid_template.yml │ ├── invalid_variables.yml │ ├── loop_map │ ├── step.yml │ ├── tmpl.yml │ └── want.yml │ ├── loop_slice │ ├── step.yml │ ├── tmpl.yml │ └── want.yml │ ├── multiline │ ├── step.yml │ ├── tmpl.yml │ └── want.yml │ └── with_vars_plat │ ├── step.yml │ ├── tmpl.yml │ └── want.yml ├── starlark ├── convert.go ├── convert_test.go ├── render.go ├── render_test.go ├── starlark.go ├── starlark_test.go └── testdata │ ├── build │ ├── basic │ │ ├── build.star │ │ └── want.yml │ ├── basic_stages │ │ ├── build.star │ │ └── want.yml │ └── conditional │ │ ├── build.star │ │ └── want.yml │ └── step │ ├── basic │ ├── step.yml │ ├── template.py │ └── want.yml │ ├── cancel │ ├── step.yml │ └── template.star │ ├── with_method │ ├── step.yml │ ├── template.star │ └── want.yml │ ├── with_vars │ ├── step.yml │ ├── template.star │ └── want.yml │ └── with_vars_plat │ ├── step.yml │ ├── template.star │ └── want.yml └── template.go /.chglog/CHANGELOG.tpl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.chglog/CHANGELOG.tpl.md -------------------------------------------------------------------------------- /.chglog/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.chglog/config.yml -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/README.md -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/reviewdog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/workflows/reviewdog.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.github/workflows/validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/.golangci.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/Makefile -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/NOTICE -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/codecov.yml -------------------------------------------------------------------------------- /compiler/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/context.go -------------------------------------------------------------------------------- /compiler/context_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/context_test.go -------------------------------------------------------------------------------- /compiler/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/doc.go -------------------------------------------------------------------------------- /compiler/engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/engine.go -------------------------------------------------------------------------------- /compiler/native/clone.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/clone.go -------------------------------------------------------------------------------- /compiler/native/clone_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/clone_test.go -------------------------------------------------------------------------------- /compiler/native/compile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/compile.go -------------------------------------------------------------------------------- /compiler/native/compile_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/compile_test.go -------------------------------------------------------------------------------- /compiler/native/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/doc.go -------------------------------------------------------------------------------- /compiler/native/environment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/environment.go -------------------------------------------------------------------------------- /compiler/native/environment_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/environment_test.go -------------------------------------------------------------------------------- /compiler/native/expand.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/expand.go -------------------------------------------------------------------------------- /compiler/native/expand_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/expand_test.go -------------------------------------------------------------------------------- /compiler/native/initialize.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/initialize.go -------------------------------------------------------------------------------- /compiler/native/initialize_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/initialize_test.go -------------------------------------------------------------------------------- /compiler/native/native.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/native.go -------------------------------------------------------------------------------- /compiler/native/native_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/native_test.go -------------------------------------------------------------------------------- /compiler/native/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/parse.go -------------------------------------------------------------------------------- /compiler/native/parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/parse_test.go -------------------------------------------------------------------------------- /compiler/native/script.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/script.go -------------------------------------------------------------------------------- /compiler/native/script_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/script_test.go -------------------------------------------------------------------------------- /compiler/native/substitute.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/substitute.go -------------------------------------------------------------------------------- /compiler/native/substitute_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/substitute_test.go -------------------------------------------------------------------------------- /compiler/native/testdata/clone_false.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/clone_false.yml -------------------------------------------------------------------------------- /compiler/native/testdata/clone_replace.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/clone_replace.yml -------------------------------------------------------------------------------- /compiler/native/testdata/clone_true.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/clone_true.yml -------------------------------------------------------------------------------- /compiler/native/testdata/invalid.yml: -------------------------------------------------------------------------------- 1 | --- 2 | !@#$%^&*() -------------------------------------------------------------------------------- /compiler/native/testdata/invalid_type.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/invalid_type.yml -------------------------------------------------------------------------------- /compiler/native/testdata/metadata.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: "1" 3 | 4 | metadata: 5 | template: false 6 | -------------------------------------------------------------------------------- /compiler/native/testdata/parameters.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/parameters.yml -------------------------------------------------------------------------------- /compiler/native/testdata/pipeline_type.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/pipeline_type.star -------------------------------------------------------------------------------- /compiler/native/testdata/pipeline_type_default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/pipeline_type_default.yml -------------------------------------------------------------------------------- /compiler/native/testdata/pipeline_type_go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/pipeline_type_go.yml -------------------------------------------------------------------------------- /compiler/native/testdata/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/secrets.yml -------------------------------------------------------------------------------- /compiler/native/testdata/stages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/stages.yml -------------------------------------------------------------------------------- /compiler/native/testdata/stages_pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/stages_pipeline.yml -------------------------------------------------------------------------------- /compiler/native/testdata/stages_pipeline_template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/stages_pipeline_template.yml -------------------------------------------------------------------------------- /compiler/native/testdata/steps.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/steps.yml -------------------------------------------------------------------------------- /compiler/native/testdata/steps_and_stages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/steps_and_stages.yml -------------------------------------------------------------------------------- /compiler/native/testdata/steps_pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/steps_pipeline.yml -------------------------------------------------------------------------------- /compiler/native/testdata/steps_pipeline_template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/steps_pipeline_template.yml -------------------------------------------------------------------------------- /compiler/native/testdata/template-gradle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/template-gradle.json -------------------------------------------------------------------------------- /compiler/native/testdata/template-maven.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/template-maven.json -------------------------------------------------------------------------------- /compiler/native/testdata/template-starlark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/template-starlark.json -------------------------------------------------------------------------------- /compiler/native/testdata/template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/template.json -------------------------------------------------------------------------------- /compiler/native/testdata/template.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/template.star -------------------------------------------------------------------------------- /compiler/native/testdata/template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/testdata/template.yml -------------------------------------------------------------------------------- /compiler/native/transform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/transform.go -------------------------------------------------------------------------------- /compiler/native/transform_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/transform_test.go -------------------------------------------------------------------------------- /compiler/native/validate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/validate.go -------------------------------------------------------------------------------- /compiler/native/validate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/compiler/native/validate_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/go.sum -------------------------------------------------------------------------------- /registry/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/doc.go -------------------------------------------------------------------------------- /registry/github/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/doc.go -------------------------------------------------------------------------------- /registry/github/github.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/github.go -------------------------------------------------------------------------------- /registry/github/github_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/github_test.go -------------------------------------------------------------------------------- /registry/github/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/parse.go -------------------------------------------------------------------------------- /registry/github/parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/parse_test.go -------------------------------------------------------------------------------- /registry/github/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/template.go -------------------------------------------------------------------------------- /registry/github/template_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/template_test.go -------------------------------------------------------------------------------- /registry/github/testdata/template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/testdata/template.json -------------------------------------------------------------------------------- /registry/github/testdata/template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/github/testdata/template.yml -------------------------------------------------------------------------------- /registry/registry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/registry.go -------------------------------------------------------------------------------- /registry/source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/registry/source.go -------------------------------------------------------------------------------- /template/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/doc.go -------------------------------------------------------------------------------- /template/native/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/convert.go -------------------------------------------------------------------------------- /template/native/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/convert_test.go -------------------------------------------------------------------------------- /template/native/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/doc.go -------------------------------------------------------------------------------- /template/native/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/render.go -------------------------------------------------------------------------------- /template/native/render_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/render_test.go -------------------------------------------------------------------------------- /template/native/testdata/build/basic/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/build/basic/build.yml -------------------------------------------------------------------------------- /template/native/testdata/build/basic/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/build/basic/want.yml -------------------------------------------------------------------------------- /template/native/testdata/build/basic_stages/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/build/basic_stages/build.yml -------------------------------------------------------------------------------- /template/native/testdata/build/basic_stages/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/build/basic_stages/want.yml -------------------------------------------------------------------------------- /template/native/testdata/build/conditional/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/build/conditional/build.yml -------------------------------------------------------------------------------- /template/native/testdata/build/conditional/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/build/conditional/want.yml -------------------------------------------------------------------------------- /template/native/testdata/step/basic/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/basic/step.yml -------------------------------------------------------------------------------- /template/native/testdata/step/basic/tmpl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/basic/tmpl.yml -------------------------------------------------------------------------------- /template/native/testdata/step/basic/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/basic/want.yml -------------------------------------------------------------------------------- /template/native/testdata/step/conditional/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/conditional/step.yml -------------------------------------------------------------------------------- /template/native/testdata/step/conditional/tmpl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/conditional/tmpl.yml -------------------------------------------------------------------------------- /template/native/testdata/step/conditional/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/conditional/want.yml -------------------------------------------------------------------------------- /template/native/testdata/step/disallowed/tmpl_env.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/disallowed/tmpl_env.yml -------------------------------------------------------------------------------- /template/native/testdata/step/disallowed/tmpl_expandenv.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/disallowed/tmpl_expandenv.yml -------------------------------------------------------------------------------- /template/native/testdata/step/invalid.yml: -------------------------------------------------------------------------------- 1 | --- 2 | !@#$%^&*() -------------------------------------------------------------------------------- /template/native/testdata/step/invalid_template.yml: -------------------------------------------------------------------------------- 1 | --- 2 | {{ foobar }} 3 | -------------------------------------------------------------------------------- /template/native/testdata/step/invalid_variables.yml: -------------------------------------------------------------------------------- 1 | --- 2 | {{template "foobar"}} 3 | -------------------------------------------------------------------------------- /template/native/testdata/step/loop_map/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/loop_map/step.yml -------------------------------------------------------------------------------- /template/native/testdata/step/loop_map/tmpl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/loop_map/tmpl.yml -------------------------------------------------------------------------------- /template/native/testdata/step/loop_map/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/loop_map/want.yml -------------------------------------------------------------------------------- /template/native/testdata/step/loop_slice/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/loop_slice/step.yml -------------------------------------------------------------------------------- /template/native/testdata/step/loop_slice/tmpl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/loop_slice/tmpl.yml -------------------------------------------------------------------------------- /template/native/testdata/step/loop_slice/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/loop_slice/want.yml -------------------------------------------------------------------------------- /template/native/testdata/step/multiline/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/multiline/step.yml -------------------------------------------------------------------------------- /template/native/testdata/step/multiline/tmpl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/multiline/tmpl.yml -------------------------------------------------------------------------------- /template/native/testdata/step/multiline/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/multiline/want.yml -------------------------------------------------------------------------------- /template/native/testdata/step/with_vars_plat/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/with_vars_plat/step.yml -------------------------------------------------------------------------------- /template/native/testdata/step/with_vars_plat/tmpl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/with_vars_plat/tmpl.yml -------------------------------------------------------------------------------- /template/native/testdata/step/with_vars_plat/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/native/testdata/step/with_vars_plat/want.yml -------------------------------------------------------------------------------- /template/starlark/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/convert.go -------------------------------------------------------------------------------- /template/starlark/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/convert_test.go -------------------------------------------------------------------------------- /template/starlark/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/render.go -------------------------------------------------------------------------------- /template/starlark/render_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/render_test.go -------------------------------------------------------------------------------- /template/starlark/starlark.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/starlark.go -------------------------------------------------------------------------------- /template/starlark/starlark_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/starlark_test.go -------------------------------------------------------------------------------- /template/starlark/testdata/build/basic/build.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/build/basic/build.star -------------------------------------------------------------------------------- /template/starlark/testdata/build/basic/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/build/basic/want.yml -------------------------------------------------------------------------------- /template/starlark/testdata/build/basic_stages/build.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/build/basic_stages/build.star -------------------------------------------------------------------------------- /template/starlark/testdata/build/basic_stages/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/build/basic_stages/want.yml -------------------------------------------------------------------------------- /template/starlark/testdata/build/conditional/build.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/build/conditional/build.star -------------------------------------------------------------------------------- /template/starlark/testdata/build/conditional/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/build/conditional/want.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/basic/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/basic/step.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/basic/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/basic/template.py -------------------------------------------------------------------------------- /template/starlark/testdata/step/basic/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/basic/want.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/cancel/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/cancel/step.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/cancel/template.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/cancel/template.star -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_method/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_method/step.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_method/template.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_method/template.star -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_method/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_method/want.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_vars/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_vars/step.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_vars/template.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_vars/template.star -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_vars/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_vars/want.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_vars_plat/step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_vars_plat/step.yml -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_vars_plat/template.star: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_vars_plat/template.star -------------------------------------------------------------------------------- /template/starlark/testdata/step/with_vars_plat/want.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/starlark/testdata/step/with_vars_plat/want.yml -------------------------------------------------------------------------------- /template/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-vela/compiler/HEAD/template/template.go --------------------------------------------------------------------------------