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

Commit5a6a818

Browse files
Minor fixes
1 parent44f3903 commit5a6a818

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

‎_docs/codefresh-yaml/what-is-the-codefresh-yaml.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ steps:
6363
[step-contents]
6464
{% endhighlight %}
6565

66-
You must define a step type for each step. Each step uses Docker images and containers as facilitators for execution. For example, the[**Freestyle**]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) step spins up a container and executes the specified shell commands from the YAML file.
66+
You must define a step type for each step, unless you are using a[freestyle step]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/). Each step uses Docker images and containers as facilitators for execution. For example, the[**Freestyle**]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) step spins up a container and executes the specified shell commands from the YAML file.
6767

6868
The step names should be unique within the same pipeline. This mainly affects the visualization of the pipeline when it runs.
6969

70-
Each step produces a resource, which you can reference in other steps, and are executed in real-time. For example, a[**Freestyle**]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) step can reference an image that was produced by a[**Build**]({{site.baseurl}}/docs/codefresh-yaml/steps/build/) step. This allows you to chain steps together and create highly-customized builds.
70+
Each step produces a resource, which you can[reference](https://github.com/codefresh-contrib/python-flask-sample-app/blob/master/codefresh.yml#L23) in other steps, and are executed in real-time. For example, a[**Freestyle**]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) step can reference an image that was produced by a[**Build**]({{site.baseurl}}/docs/codefresh-yaml/steps/build/) step. This allows you to chain steps together and create highly-customized builds.
7171

7272
<divclass="bd-callout bd-callout-info"markdown="1">
7373
#####Variables
@@ -80,7 +80,7 @@ Steps chaining and referencing is possible due to implementation of variables in
8080
| -----------------------------------------------------------------------------------------------------------------| ----------------------------------------------|
8181
|[Freestyle]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/)| Executes one or more shell commands in a container similar to`docker run`.|
8282
|[Build]({{site.baseurl}}/docs/codefresh-yaml/steps/build/)| Builds a Docker image like`docker build`.|
83-
|[Push]({{site.baseurl}}/docs/codefresh-yaml/steps/push/)| Pushes a Docker image toa Docker registry similar to`docker tag` and`docker push`.|
83+
|[Push]({{site.baseurl}}/docs/codefresh-yaml/steps/push/)| Pushes a Docker image toan external registry similar to`docker tag` and`docker push`.|
8484
|[Git Clone]({{site.baseurl}}/docs/codefresh-yaml/steps/git-clone/)| Overrides the default git clone behavior.|
8585
|[Composition]({{site.baseurl}}/docs/codefresh-yaml/steps/composition/)| Starts a Docker Composition like`docker-compose`. Discarded once pipelines finishes.|
8686
|[Launch Composition]({{site.baseurl}}/docs/codefresh-yaml/steps/launch-composition/)| Starts a long term Docker composition that stays up after the end of the pipeline.|
@@ -110,7 +110,7 @@ You can also validate the pipeline yaml outside of the UI by using the [Codefres
110110

111111
{% highlight shell %}
112112
{% raw %}
113-
$codefresh validate codefresh.yml
113+
$codefresh validate codefresh.yml
114114
Yaml not valid:
115115
- "invalid-property" is not allowed
116116
{% endraw %}

‎_docs/learn-by-example/nodejs/lets-chat.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ toc: true
1111
Let’s Chat is self-hosted chat app for small to big teams.
1212
This tutorial will walk you through the process of adding the following:
1313
-`Build step` - that will build docker image for your let’s chat app.
14-
-`Push to registry step` - that will push your image to docker hub.
1514
-`Unit Test step` - A freestyle step that runs the unit test of the demo chat after the build.
1615
-`Composition step` - This step will run a composition which use your chat image from the build step, docker image of curl and check if your application is responsive. It will do so by printing "works" if a curl command to our app at port 5000 succeed.
1716

18-
##Looking around
17+
##Example Pipeline
1918
In the root of this repository you'll find a file named codefresh.yml, this is our build descriptor and it describes the different steps that comprise our process. Let's quickly review the contents of this file:
2019

2120
`codefresh.yml`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp