You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/pipelines/advanced-workflows.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ With the parallel execution mode, you can define complex pipelines with fan-in/o
18
18
19
19
>In Codefresh, parallel execution is unrelated to[stages]({{site.baseurl}}/docs/pipelines/stages/). Stages are only a way to visually organize your pipeline steps. The actual execution is independent from the visual layout in the logs view.
20
20
21
-
Before going any further make sure that you are familiar with the[basics of Codefresh pipelines]({{site.baseurl}}/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/).
21
+
Before going any further make sure that you are familiar with the[basics of Codefresh pipelines]({{site.baseurl}}/docs/pipelines/introduction-to-codefresh-pipelines/).
22
22
23
23
Codefresh offers two modes of execution:
24
24
@@ -156,8 +156,8 @@ The pipeline view for this yaml file is the following.
@@ -671,7 +671,7 @@ If you run the pipeline you will see that Codefresh automatically understands th
671
671
Also notice the`fail_fast: false` line in the unit tests. By default, if*any* steps fails in a pipeline the whole pipeline is marked as a failure. With the`fail_fast` directive we can allow the pipeline to continue so that other steps that depend on the failed step can still run even.
672
672
673
673
674
-
###Multipl step dependencies
674
+
###Multiple step dependencies
675
675
676
676
A pipeline step can also depend on multiple other steps.
Copy file name to clipboardExpand all lines: _docs/pipelines/annotations.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title:"Annotations inCIpipelines"
2
+
title:"Annotations in pipelines"
3
3
description:"Mark your builds and projects with extra annotations"
4
4
group:pipelines
5
5
redirect_from:
@@ -16,15 +16,15 @@ Currently Codefresh supports extra annotations for:
16
16
* Builds
17
17
* Docker images
18
18
19
-
You can view/edit annotations using the[Codefresh CLI](https://codefresh-io.github.io/cli/annotations/) or directly in the Codefresh Web UI.
19
+
You can view/edit annotations using the[Codefresh CLI](https://codefresh-io.github.io/cli/annotations/){:target="\_blank"} or directly in the Codefresh Web UI.
20
20
21
-
>Notice that the syntax shown in this page is deprecated but still supported. For the new syntax
>Notice that the syntax shown in this page is deprecated but still supported. For the new syntax,
22
+
see[hooks in pipelines]({{site.baseurl}}/docs/pipelines/hooks/).
23
23
24
24
25
25
##Adding annotations
26
26
27
-
In the most basic scenario you can use the[post operations]({{site.baseurl}}/docs/pipelines/post-step-operations/) of any Codefresh[step]({{site.baseurl}}/docs/pipelines/steps/) to add annotations:
27
+
In the most basic scenario, you can use the[post operations]({{site.baseurl}}/docs/pipelines/post-step-operations/) of any Codefresh[step]({{site.baseurl}}/docs/pipelines/steps/) to add annotations:
28
28
29
29
`codefresh.yml`
30
30
{% highlight yaml %}
@@ -163,7 +163,7 @@ Click *Save* to apply your changes.
163
163
164
164
##Complex annotation values
165
165
166
-
Apart from scalar values, you can also store more complex expressions in annotations. You have access to all[Codefresh variables]({{site.baseurl}}/docs/pipelines/variables/), text files from the build and even evaluations from the[expression syntax]({{site.baseurl}}/docs/pipelines/condition-expression-syntax/).
166
+
Apart from scalar values, you can also store more complex expressions in annotations. You have access to all[Codefresh variables]({{site.baseurl}}/docs/pipelines/variables/), text files from the build and even evaluations from the[expression syntax]({{site.baseurl}}/docs/pipelines/conditional-execution-of-steps/#condition-expression-syntax).
167
167
168
168
`codefresh.yml`
169
169
{% highlight yaml %}
@@ -196,7 +196,7 @@ steps:
196
196
{% endraw %}
197
197
{% endhighlight %}
198
198
199
-
>Notice that this pipeline is using dynamic git repository variables, so it must be linked to a least one[git trigger]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/) in order to work.
199
+
>Notice that this pipeline is using dynamic git repository variables, so it must be linked to a least one[Git trigger]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/) in order to work.
200
200
201
201
The last two annotations add the text of a file as a value. You can define an absolute or relative path. No processing is done on the file before being stored. If a file is not found, the annotation will still be added verbatim.
202
202
We suggest you only store small text files in this manner as annotations values.
@@ -297,7 +297,6 @@ You can also define `entity_type` as `image` and don't enter any `entity_id`. In
297
297
Note that this syntax is optional. You can still define annotations for a build/image or any other entity using the post operations of any step by mentioning explicitly the target id and type.
For each step in a`codefresh.yml` file, you can define a set of conditions which need to be satisfied in order to execute the step.(An introduction to the`codefresh.yml` file can be found[here]({{site.baseurl}}/docs/codefresh-yaml/what-is-the-codefresh-yaml/).)
12
+
For each step in a`codefresh.yml` file, you can define a set of conditions which need to be satisfied in order to execute the step.For details on the`codefresh.yml` file, see[Pipeline definitions YAML]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/).)
12
13
13
14
There are currently two main methods to define conditions:
14
15
* Branch conditions
@@ -67,7 +68,7 @@ build-step:
67
68
{% endhighlight %}
68
69
69
70
70
-
>We use[JavaScript regular expressions](https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions) for the syntax in branch conditions.
71
+
>We use[JavaScript regular expressions](https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions){:target="\_blank"} for the syntax in branch conditions.
71
72
72
73
73
74
##Condition expressions
@@ -142,8 +143,7 @@ A condition expression is a basic expression that is evaluated to true/false (to
142
143
143
144
####Variables
144
145
145
-
You can use the User Provided variables as explained in[Variables]({{site.baseurl}}/docs/pipelines/variables/), including the[variables
146
-
exposed by each individual pipeline step]({{site.baseurl}}/docs/pipelines/variables/#step-variables).
146
+
You can use the user-defined variables, including the variables exposed by each individual pipeline step. See[Variables in pipelines]({{site.baseurl}}/docs/pipelines/variables/).
147
147
148
148
####Unary Operators
149
149
@@ -244,6 +244,6 @@ Try running the pipeline above and see how it behaves when a variable called `MY
244
244
245
245
##Related articles
246
246
[Codefresh YAML for pipeline definitions]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/)
Copy file name to clipboardExpand all lines: _docs/pipelines/debugging-pipelines.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ If you have placed a breakpoint in the `override` phase of a freestyle step then
120
120
121
121
In all cases the[shared Codefresh volume]({{site.baseurl}}/docs/pipelines/introduction-to-codefresh-pipelines/#sharing-the-workspace-between-build-steps) is automounted so you can examine your source code or any other intermediate artifacts placed in your project folder or the pipeline cache.
122
122
123
-
If the breakpoint is on a`before` or`after` phase, the command line terminal is powered by an[alpine](https://alpinelinux.org/) image. The image has already useful tools such as`wget`,`nc` and`vi`. If you have the advanced debugging capabilities in your Codefresh plan you can then install additional tools on your own directly in the terminal with[apk](https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management). Examples:
123
+
If the breakpoint is on a`before` or`after` phase, the command line terminal is powered by an[Alpine](https://alpinelinux.org/){:target="\_blank"} image. The image has already useful tools such as`wget`,`nc` and`vi`. If you have the advanced debugging capabilities in your Codefresh plan you can then install additional tools on your own directly in the terminal with[apk](https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management){:target="\_blank"}. Examples:
124
124
125
125
*`apk add curl`
126
126
*`apk add nano`
@@ -248,5 +248,5 @@ If you get the message *your linux distribution is not supported* please contact
248
248
249
249
##Related articles
250
250
[Codefresh YAML for pipeline definitions]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/)