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

Commitfd96cb0

Browse files
committed
Update more pipeline topics
Fixes during QA of pipeline topics
1 parentd648ff1 commitfd96cb0

27 files changed

+231
-349
lines changed

‎_data/nav.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,6 @@
383383
url:"/deploy"
384384
-title:Approval
385385
url:"/approval"
386-
-title:Conditional execution of steps
387-
url:"/conditional-execution-of-steps"
388-
-title:Post-step operations
389-
url:"/post-step-operations"
390386
-title:Triggers in pipelines
391387
url:"/triggers"
392388
sub-pages:
@@ -409,10 +405,14 @@
409405
-title:Hooks in pipelines
410406
url:"/hooks"
411407
-title:Annotations in pipelines
412-
url:"/annotations"
408+
url:"/annotations"
409+
-title:Conditional execution of steps
410+
url:"/conditional-execution-of-steps"
411+
-title:Post-step operations
412+
url:"/post-step-operations"
413413
-title:Grouping steps into stages
414414
url:"/stages"
415-
-title:Cachingfor pipelines
415+
-title:Cachingin pipelines
416416
url:"/pipeline-caching"
417417
-title:Debugging pipelines
418418
url:"/debugging-pipelines"

‎_docs/pipelines/advanced-workflows.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ With the parallel execution mode, you can define complex pipelines with fan-in/o
1818

1919
>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.
2020
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/).
2222

2323
Codefresh offers two modes of execution:
2424

@@ -156,8 +156,8 @@ The pipeline view for this yaml file is the following.
156156
{% include
157157
image.html
158158
lightbox="true"
159-
file="/images/codefresh-yaml/parallel-push.png"
160-
url="/images/codefresh-yaml/parallel-push.png"
159+
file="/images/pipeline/codefresh-yaml/parallel-push.png"
160+
url="/images/pipeline/codefresh-yaml/parallel-push.png"
161161
alt="Parallel Docker push"
162162
caption="Parallel Docker push"
163163
max-width="80%"
@@ -671,7 +671,7 @@ If you run the pipeline you will see that Codefresh automatically understands th
671671
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.
672672

673673

674-
###Multipl step dependencies
674+
###Multiple step dependencies
675675

676676
A pipeline step can also depend on multiple other steps.
677677

‎_docs/pipelines/annotations.md‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"Annotations inCIpipelines"
2+
title:"Annotations in pipelines"
33
description:"Mark your builds and projects with extra annotations"
44
group:pipelines
55
redirect_from:
@@ -16,15 +16,15 @@ Currently Codefresh supports extra annotations for:
1616
* Builds
1717
* Docker images
1818

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.
2020

21-
>Notice that the syntax shown in this page is deprecated but still supported. For the new syntax
22-
see[hooks]({{site.baseurl}}/docs/pipelines/hooks/).
21+
>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/).
2323

2424

2525
##Adding annotations
2626

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:
2828

2929
`codefresh.yml`
3030
{% highlight yaml %}
@@ -163,7 +163,7 @@ Click *Save* to apply your changes.
163163

164164
##Complex annotation values
165165

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).
167167

168168
`codefresh.yml`
169169
{% highlight yaml %}
@@ -196,7 +196,7 @@ steps:
196196
{% endraw %}
197197
{% endhighlight %}
198198

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.
200200
201201
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.
202202
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
297297
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.
298298

299299
##Related articles
300-
[Image annotations]({{site.baseurl}}/docs/docker-registries/metadata-annotations/)
301-
[Post-step operations]({{site.baseurl}}/docs/pipelines/post-step-operations/)
302-
[Creating CI pipelines]({{site.baseurl}}/docs/pipelines/pipelines/)
303-
[Hooks in CI pipelines]({{site.baseurl}}/docs/pipelines/hooks/)
300+
[Image annotations]({{site.baseurl}}/docs/pipelines/docker-image-metadata/)
301+
[Creating pipelines]({{site.baseurl}}/docs/pipelines/pipelines/)
302+
[Hooks in pipelines]({{site.baseurl}}/docs/pipelines/hooks/)

‎_docs/pipelines/condition-expression-syntax.md‎

Lines changed: 0 additions & 108 deletions
This file was deleted.

‎_docs/pipelines/conditional-execution-of-steps.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
title:"Conditional execution of steps"
33
description:"Skip specific pipeline steps according to one or more conditions"
44
group:pipelines
5-
sub_group:steps
65
redirect_from:
76
-/docs/codefresh-yaml/conditional-execution-of-steps/
7+
-/docs/codefresh-yaml/condition-expression-syntax/
88
-/docs/conditional-execution-of-steps/
9+
910
toc:true
1011
---
11-
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/).)
1213

1314
There are currently two main methods to define conditions:
1415
* Branch conditions
@@ -67,7 +68,7 @@ build-step:
6768
{% endhighlight %}
6869

6970

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.
7172
7273

7374
##Condition expressions
@@ -142,8 +143,7 @@ A condition expression is a basic expression that is evaluated to true/false (to
142143

143144
####Variables
144145

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/).
147147

148148
####Unary Operators
149149

@@ -244,6 +244,6 @@ Try running the pipeline above and see how it behaves when a variable called `MY
244244
245245
##Related articles
246246
[Codefresh YAML for pipeline definitions]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/)
247-
[Variables]({{site.baseurl}}/docs/pipelines/variables/)
247+
[Variables in pipelines]({{site.baseurl}}/docs/pipelines/variables/)
248248
[Pull Requests and Branches]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/)
249-
[Pipeline/Step hooks]({{site.baseurl}}/docs/pipelines/hooks/)
249+
[Hooks in pipelines]({{site.baseurl}}/docs/pipelines/hooks/)

‎_docs/pipelines/debugging-pipelines.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If you have placed a breakpoint in the `override` phase of a freestyle step then
120120

121121
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.
122122

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:
124124

125125
*`apk add curl`
126126
*`apk add nano`
@@ -248,5 +248,5 @@ If you get the message *your linux distribution is not supported* please contact
248248

249249
##Related articles
250250
[Codefresh YAML for pipeline definitions]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/)
251-
[Steps inCIpipelines]({{site.baseurl}}/docs/pipelines/steps/)
251+
[Steps in pipelines]({{site.baseurl}}/docs/pipelines/steps/)
252252
[Running pipelines locally]({{site.baseurl}}/docs/pipelines/running-pipelines-locally/)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp