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

Commit933a8c6

Browse files
authored
Classic typed version updates (codefresh-io#910)
* Add version numbers to typed stepsAdded latest version numbers to typed steps in examples* Add versions to typed stepsAdded latest versions to typed steps and removed version from pending-approval step types* Update steps.md* Update steps.md* Update steps.md* Update versioning for typed step contentPromoted explicit version to h4 and added steps that do not require versioning* Add warning imageAdded image of warning for versionless typed steps
1 parent8e408d9 commit933a8c6

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

‎_docs/pipelines/steps.md‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,6 @@ If you do not define an explicit version for the plugin, the latest version (acc
434434

435435
These typed steps do not require a version number:`pending-approval`,`github-action`,`parallel`, and`services`.
436436

437-
{{site.data.callout.callout_tip}}
438-
**TIP**
439-
If your pipeline includes typed steps without corresponding version numbers, Codefresh issues a warning as assigning the latest version can introduce breaking changes and fail the pipeline.
440-
{{site.data.callout.end}}
441-
442437
`codefresh.yml`
443438
{% highlight yaml %}
444439
{% raw %}
@@ -453,6 +448,23 @@ steps:
453448
{% endraw %}
454449
{% endhighlight %}
455450

451+
{{site.data.callout.callout_tip}}
452+
**TIP**
453+
If your pipeline includes typed steps without corresponding version numbers, Codefresh issues a warning as assigning the latest version can introduce breaking changes and fail the pipeline.
454+
{{site.data.callout.end}}
455+
456+
{% include image.html
457+
lightbox="true"
458+
file="/images/pipeline/typed-steps/typed-step-version-warning.png"
459+
url="/images/pipeline/typed-steps/typed-step-version-warning.png"
460+
alt="Warning for typed steps without explicit versions"
461+
caption="Warning for typed steps without explicit versions"
462+
max-width="60%"
463+
%}
464+
465+
466+
467+
456468
###Example with input parameters
457469

458470
Let's create a very simple step called*node-version*. This step will read the application version from a NodeJS project and expose it as an environment variable. This way we can use the application version later in the pipeline, for example to tag a docker image.
148 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp