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

Commit983c4f7

Browse files
committed
Update ci example topics
1 parenta319630 commit983c4f7

15 files changed

+47
-52
lines changed

‎_docs/example-catalog/ci-examples/build-an-image-from-a-different-git-repository.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ steps:
7171

7272
The pipeline first checks out two different Git repositories, which themselves contain Dockerfiles. Then it creates a Docker image for each one using the respective Dockerfile.
7373

74-
<!--check if this topic exists-->You can see both images in the [Docker image dashboard]({{site.baseurl}}/docs/docker-registries/#viewing-docker-images) .
74+
<!--check if this topic exists-->You can see both images in the [Docker image dashboard]({{site.baseurl}}/docs/ci-cd-guides/working-with-docker-registries/#viewing-docker-images) .
7575

7676
{% include image.html
7777
lightbox="true"
@@ -89,6 +89,7 @@ Notice that there are no explicit push steps in the pipeline, as all successful
8989
##Related articles
9090
[CI/CD pipeline examples]({{site.baseurl}}/docs/example-catalog/examples/#ci-examples)
9191
[Git clone step]({{site.baseurl}}/docs/pipelines/steps/git-clone/)
92+
[Build an Image with the Dockerfile in root directory]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-with-the-dockerfile-in-root-directory/)
9293
[Build step in pipelines in pipelines]({{site.baseurl}}/docs/pipelines/steps/build/)
93-
[Build andPush an image]({{site.baseurl}}/docs/pipelines/examples/build-and-push-an-image/)
94+
[Build andpush an image]({{site.baseurl}}/docs/pipelines/example-catalog/ci-examples/build-and-push-an-image/)
9495
[Parallel pipelines]({{site.baseurl}}/docs/pipelines/advanced-workflows/)

‎_docs/example-catalog/ci-examples/build-an-image-specify-dockerfile-location.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You may have a project where the Dockerfile is **not** in the root folder of the
1212

1313
>The source code of the repository is at[https://github.com/codefreshdemo/cf-example-dockerfile-other-location](https://github.com/codefreshdemo/cf-example-dockerfile-other-location){:target="\_blank"}. Feel free to fork it if you want to follow along.
1414
15-
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/create-a-codefresh-account/).
15+
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/account-user-management/create-a-codefresh-account/).
1616

1717

1818
##Building a Dockerfile from a different folder
@@ -67,8 +67,8 @@ You could also change the Docker build context by editing the `working_directory
6767

6868
##Related articles
6969
[CI/CD pipeline examples]({{site.baseurl}}/docs/example-catalog/examples/#ci-examples)
70-
[Build step in pipelines]({{site.baseurl}}/docs/pipelines/steps/build/)
7170
[Build an Image with the Dockerfile in root directory]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-dockerfile-in-root-directory/)
7271
[Build an Image from a different Git repository]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-from-a-different-git-repository)
73-
[Build and push an Image]({{site.baseurl}}/docs/yaml-examples/example-catalog/ci-examples/build-and-push-an-image)
74-
[Build an Image With build arguments]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-with-build-arguments)
72+
[Build and push an Image]({{site.baseurl}}/docs/example-catalog/ci-examples/build-and-push-an-image)
73+
[Build an Image With build arguments]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-with-build-arguments)
74+
[Steps in pipelines]({{site.baseurl}}/docs/pipelines/steps/)

‎_docs/example-catalog/ci-examples/build-an-image-with-build-arguments.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Building a Docker image that requires build arguments is very easy with Codefres
1212

1313
The source code of the repository is at[https://github.com/codefreshdemo/cf-example-build-arguments](https://github.com/codefreshdemo/cf-example-build-arguments){:target="\_blank"}. Feel free to fork it if you want to follow along.
1414

15-
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/create-a-codefresh-account/).
15+
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/account-user-management/create-a-codefresh-account/).
1616

1717
##Using Docker build arguments
1818

@@ -94,7 +94,7 @@ max-width="100%"
9494

9595
##Using Codefresh variables as build arguments
9696

97-
In the previous pipeline, the Docker build arguments are defined in the pipeline itself, but you can also use[pipeline variables]({{site.baseurl}}/docs/pipelines/pipelines/#creating-new-pipelines),[shared configuration]({{site.baseurl}}/docs/pipelines/shared-configuration/), or any other standard mechanism you already have in place.
97+
In the previous pipeline, the Docker build arguments are defined in the pipeline itself, but you can also use[pipeline variables]({{site.baseurl}}/docs/pipelines/pipelines/#creating-new-pipelines),[shared configuration]({{site.baseurl}}/docs/pipelines/configuration/shared-configuration/), or any other standard mechanism you already have in place.
9898

9999
`codefresh.yml`
100100
{% highlight yaml %}
@@ -127,7 +127,7 @@ In this case, you can also use any of the built-in [Codefresh variables]({{site.
127127
##Related articles
128128
[CI/CD pipeline examples]({{site.baseurl}}/docs/example-catalog/examples/#ci-examples)
129129
[Build step in pipelines]({{site.baseurl}}/docs/pipelines/steps/build/)
130-
[Build an Image with the Dockerfile in root directory]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-dockerfile-in-root-directory/)
130+
[Build an Image with the Dockerfile in root directory]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-with-the-dockerfile-in-root-directory/)
131131
[Build an Image by specifying the Dockerfile location]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-specify-dockerfile-location)
132132
[Build an Image from a different Git repository]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-from-a-different-git-repository)
133-
[Build and push an Image]({{site.baseurl}}/docs/yaml-examples/example-catalog/ci-examples/build-and-push-an-image)
133+
[Build and push an Image]({{site.baseurl}}/docs/example-catalog/ci-examples/build-and-push-an-image)

‎_docs/example-catalog/ci-examples/build-an-image-with-the-dockerfile-in-root-directory.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Building a Docker image is one of the basic operations in Codefresh pipelines.
99

1010
>The source code of the repository is at[https://github.com/codefreshdemo/cf-yml-example-build-dockerfile-inroot](https://github.com/codefreshdemo/cf-yml-example-build-dockerfile-inroot){:target="\_blank"}. Feel free to fork it if you want to follow along.
1111
12-
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/create-a-codefresh-account/).
12+
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/account-user-management/create-a-codefresh-account/).
1313

1414

1515
##Building a Dockerfile from the root folder
@@ -63,5 +63,5 @@ You can also change the Docker build context by editing the `working_directory`
6363
[Build step in pipelines]({{site.baseurl}}/docs/pipelines/steps/build/)
6464
[Build an Image by specifying the Dockerfile location]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-specify-dockerfile-location)
6565
[Build an Image from a different Git repository]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-from-a-different-git-repository)
66-
[Build and push an Image]({{site.baseurl}}/docs/yaml-examples/example-catalog/ci-examples/build-and-push-an-image)
67-
[Build an ImageWith build arguments]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-with-build-arguments)
66+
[Build and push an Image]({{site.baseurl}}/docs/example-catalog/ci-examples/build-and-push-an-image)
67+
[Build an Imagewith build arguments]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-with-build-arguments)

‎_docs/example-catalog/ci-examples/build-and-push-an-image.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ In this example we will use a demo Node.js application that will be packaged in
1414

1515
The source code of the repository is at[https://github.com/codefreshdemo/cf-example-build-and-push](https://github.com/codefreshdemo/cf-example-build-and-push){:target="\_blank"}. Feel free to fork it if you want to follow along.
1616

17-
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/create-a-codefresh-account/).
17+
If you don't have a Codefresh account already, you can easily create a free one from the[sign-up page]({{site.baseurl}}/docs/administration/account-user-management/create-a-codefresh-account/).
1818

1919

2020
##Building and push Docker image to default registry
2121

22-
Building a Docker image with Codefresh is easy, and only requires a simple step. In addition, all successful pipelines in Codefresh automatically push to[your default Docker registry]({{site.baseurl}}/docs/docker-registries/#the-default-registry), without additional configuration, if you have one.
22+
Building a Docker image with Codefresh is easy, and only requires a simple step. In addition, all successful pipelines in Codefresh automatically push to[your default Docker registry]({{site.baseurl}}/docs/integrations/docker-registries/#the-default-registry), without additional configuration, if you have one.
2323

2424
Here is the most basic pipeline that clones a repo and builds an image:
2525

@@ -51,7 +51,7 @@ steps:
5151

5252
##Building and pushing Docker image to_any registry_.
5353

54-
<!---check link-->You can push your image to any [registry]({{site.baseurl}}/docs/docker-registries/).
54+
<!---check link-->You can push your image to any [registry]({{site.baseurl}}/docs/integrations/docker-registries/).
5555

5656
* First you need to connect your external registry in the integrations page. Here are the instructions for:
5757

@@ -125,12 +125,11 @@ Codefresh has several options when it comes to pushing images:
125125
* You can use directly ECR registries
126126
* You can embed credentials in the push steps
127127

128-
Read more in[push steps in pipelines]({{site.baseurl}}/docs/pipelines/steps/push/).
128+
Read more in[push steps]({{site.baseurl}}/docs/pipelines/steps/push/) in pipelines.
129129

130130

131131
##Related articles
132132
[CI/CD pipeline examples]({{site.baseurl}}/docs/example-catalog/examples/#ci-examples)
133-
[Build step in pipelines]({{site.baseurl}}/docs/pipelines/steps/build/)
134133
[Build an Image with the Dockerfile in root directory]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-dockerfile-in-root-directory/)
135134
[Build an Image by specifying the Dockerfile location]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-specify-dockerfile-location)
136135
[Build an Image from a different Git repository]({{site.baseurl}}/docs/example-catalog/ci-examples/build-an-image-from-a-different-git-repository)

‎_docs/example-catalog/ci-examples/git-checkout-custom.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,12 @@ steps:
9494

9595
If you run this pipeline you will see git used as part of the`go get` mechanism.
9696

97-
Moreexamples such as using SSH keys and working withGIT submodules can be found inthe[clone step documentation]({{site.baseurl}}/docs/pipelines/steps/git-clone/).
97+
For moreexamples, such as using SSH keys and working withGit submodules, seethe[Git-clone]({{site.baseurl}}/docs/pipelines/steps/git-clone/) step.
9898

9999

100100
##Related articles
101101
[CI/CD pipeline examples]({{site.baseurl}}/docs/example-catalog/examples/#ci-examples)
102102
[Native Git checkout]({{site.baseurl}}/docs/example-catalog/ci-examples/git-checkout/)
103103
[Native Git integration]({{site.baseurl}}/docs/integrations/git-providers/)
104-
[Freestyle step]({{site.baseurl}}/docs/pipelines/steps/freestyle/)
105-
[Git Clone step]({{site.baseurl}}/docs/pipelines/steps/git-clone/)
104+
[Steps in pipelines]({{site.baseurl}}/docs/pipelines/steps/)
106105

‎_docs/example-catalog/ci-examples/git-checkout.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ caption="GIT integrations"
1717
max-width="70%"
1818
%}
1919

20-
You can add a new integration for any cloud provider or even[on-premises]({{site.baseurl}}/docs/reference/behind-the-firewall/) ones. By default you will also have a provider set up if you used one for Codefresh signup (GitHub, GitLab or Bitbucket).
20+
You can add a new integration for any cloud provider or even[on-premises]({{site.baseurl}}/docs/installation/behind-the-firewall/) ones. By default you will also have a provider set up if you used one for Codefresh signup (GitHub, GitLab or Bitbucket).
2121

2222
For each Git Integration, make sure that you note down its name, as you will use in your pipeline inside a[git-clone]({{site.baseurl}}/docs/pipelines/steps/git-clone/) step.
2323

@@ -53,7 +53,7 @@ the pipeline impossible to re-use among different micro-services (that are built
5353

5454
##Cloning the triggered repository (recommended)
5555

56-
The proper way to use git-clone steps is to make them trigger specific. Instead of hard-coding the git repository that is checked-out, it is best tocheckout the same one that[triggered the pipeline]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/). This is what you want in most scenarios anyway.
56+
The proper way to use git-clone steps is to make them trigger specific. Instead of hard-coding the git repository that is checked-out, it is best tocheck out the same one that[triggered the pipeline]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/). This is what you want in most scenarios anyway.
5757

5858
This can be achieved by using Codefresh[variables]({{site.baseurl}}/docs/pipelines/variables/) to refer to the trigger.
5959
Here is the same pipeline as before, written in a generic way:
@@ -89,7 +89,7 @@ caption="Reusing a pipeline between microservices"
8989
max-width="50%"
9090
%}
9191

92-
Thus you can have a single pipeline and when you want to enable it for a new micro-service you can simply add a new[git trigger]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/) for it.
92+
Thus you can have a single pipeline and when you want to enable it for a new micro-service you can simply add a new[Git trigger]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/) for it.
9393

9494
You still run the pipeline manually if you wish. In this case you will be asked which trigger you want to "simulate" so that the variable pipelines are correctly replaced by Codefresh.
9595

@@ -127,7 +127,7 @@ steps:
127127
{% endraw %}
128128
{% endhighlight %}
129129

130-
More details can be found in the[private Git instructions page]({{site.baseurl}}/docs/reference/behind-the-firewall/#checking-out-code-from-a-private-git-repository).
130+
More details can be found in the[private Git instructions page]({{site.baseurl}}/docs/installation/behind-the-firewall/#checking-out-code-from-a-private-git-repository).
131131

132132

133133
##Working inside the cloned directory
@@ -197,7 +197,6 @@ Notice that in this case the git-clone steps are **not** named `main_clone` and
197197
##Related articles
198198
[CI/CD pipeline examples]({{site.baseurl}}/docs/example-catalog/examples/#ci-examples)
199199
[Git integrations]({{site.baseurl}}/docs/integrations/git-providers/)
200-
[Git triggers in pipelines]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/)
201-
[Clone step in pipelines]({{site.baseurl}}/docs/pipelines/steps/git-clone/)
202-
[Build step in pipelines]({{site.baseurl}}/docs/pipelines/steps/build/)
203200
[Custom git commands]({{site.baseurl}}/docs/example-catalog/ci-examples/git-checkout-custom/)
201+
[Steps in pipelines]({{site.baseurl}}/docs/pipelines/steps/)
202+

‎_docs/example-catalog/ci-examples/integration-tests-with-mongo.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"IntegrationTests with Mongo"
2+
title:"Integrationtests with Mongo"
33
description:"Launching a MongoDB service container"
44
group:example-catalog
55
sub_group:ci-examples

‎_docs/example-catalog/ci-examples/integration-tests-with-mysql.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"IntegrationTests with MySQL"
2+
title:"Integrationtests with MySQL"
33
description:"Launching a MySQL service container"
44
group:example-catalog
55
sub_group:ci-examples

‎_docs/example-catalog/ci-examples/integration-tests-with-postgres.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"IntegrationTests with Postgres"
2+
title:"Integrationtests with Postgres"
33
description:"Launching a PostgreSQL service container"
44
group:example-catalog
55
sub_group:ci-examples

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp