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

Classic typed version updates#910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
NimRegev merged 8 commits intomasterfromclassic-typed-version-updates
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions_docs/pipelines/steps.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -434,11 +434,6 @@ If you do not define an explicit version for the plugin, the latest version (acc

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

{{site.data.callout.callout_tip}}
**TIP**
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.
{{site.data.callout.end}}

`codefresh.yml`
{% highlight yaml %}
{% raw %}
Expand All@@ -453,6 +448,23 @@ steps:
{% endraw %}
{% endhighlight %}

{{site.data.callout.callout_tip}}
**TIP**
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.
{{site.data.callout.end}}

{% include image.html
lightbox="true"
file="/images/pipeline/typed-steps/typed-step-version-warning.png"
url="/images/pipeline/typed-steps/typed-step-version-warning.png"
alt="Warning for typed steps without explicit versions"
caption="Warning for typed steps without explicit versions"
max-width="60%"
%}




### Example with input parameters

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.
Expand Down
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

[8]ページ先頭

©2009-2025 Movatter.jp