Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88c1bc2

Browse files
author
Lukas Goodfellow
authored
1 parent09b8930 commit88c1bc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎_docs/codefresh-yaml/steps.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,8 @@ You can still use `cf_export` command inside the plugin as well (as shown in the
978978

979979
As an advanced technique, Codefresh allows you to define a custom step using templating instead of fixed YAML. We support templates inside the`spec:` block of a plugin definition by taking advantage of the[Gomplate](https://github.com/hairyhenderson/gomplate) library that offers additional templating functions on top of vanilla[Go templates](https://golang.org/pkg/text/template/).
980980

981+
>Note: Gomplate Data functions will not work since Codefresh does not pass the Data object to gomplate functions.
982+
981983
As a simple example lets say we want to create a single step that checks out any number of git repositories. Of course you could just copy-paste the git clone step multiple times in a single pipeline. To make things easier we will create a single step that takes an array of git repositories and checks them out on its own:
982984

983985
{% highlight yaml %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp