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

Commit30d5ba5

Browse files
committed
Update ci-cd guides
Fixed broken links and missing images for ci cd guides after qa
1 parent57332a6 commit30d5ba5

13 files changed

+101
-107
lines changed

‎_data/nav.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,6 @@
437437
url:"/build-status"
438438
-title:Service containers
439439
url:"/service-containers"
440-
-title:Deployment environments
441-
url:"/deployment-environments"
442440
-title:Docker image metadata
443441
url:"/docker-image-metadata"
444442
-title:Pipeline definitions YAML

‎_docs/ci-cd-guides/access-docker-registry-from-kubernetes.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The Codefresh CLI can also create pull secrets in an automated manner.
123123
See[Image pull Secret](https://codefresh-io.github.io/cli/more/image-pull-secret/){:target="\_blank"}.
124124

125125
##Related articles
126-
[Deploy toKubernetes- quick start]({{site.baseurl}}/docs/getting-started/deployment-to-kubernetes-quick-start-guide/)
127-
[Managingyour cluster]({{site.baseurl}}/docs/deployments/kubernetes/manage-kubernetes/)
126+
[Kubernetesdeployment quick start]({{site.baseurl}}/docs/quick-start/ci-quickstart/deploy-to-kubernetes/)
127+
[ManagingKubernetes clusters]({{site.baseurl}}/docs/deployments/kubernetes/manage-kubernetes/)
128128

129129

‎_docs/ci-cd-guides/add-config-maps-to-your-namespaces.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ toc: true
99
---
1010
Many applications require configuration with files, environment variables, and command line arguments. It makes applications portable and easily manageable. While this makes for easy configuration, it can become very hard to support tons of config files for different environments and hundreds of microservices.
1111

12-
Kubernetes provides an elegant and very convenient way for application configuration, using*configuration maps*. You can find more details about config maps at[https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/){:target="_blank"}.
12+
Kubernetes provides an elegant and very convenient way for application configuration, using*configuration maps*. You can find more details about config maps at[Kubernetes - Configure a Pod to Use a ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/){:target="_blank"}.
1313

1414
You can manage all your cluster configuration using Codefresh.
1515

1616
##View existing config maps
1717

18-
1. In the Codefresh UI, fromtheOps section in the sidebar, select[**Kubernetes Services**](https://g.codefresh.io/kubernetes/services/){:target="\_blank"}.
18+
1. In the Codefresh UI, from Ops in the sidebar, select[**Kubernetes Services**](https://g.codefresh.io/kubernetes/services/){:target="\_blank"}.
1919
1. Switch to list view.
2020

2121
{% include
@@ -31,7 +31,7 @@ max-width="50%"
3131
{:start="3"}
3232
1. Select a namespace and hover over it.
3333
1. Click the**Settings** icon which appears at the end of the row.
34-
A list of all config maps within this namespace are displayed,includingdate of creation and number of configuration variables inside these maps.
34+
A list of all config maps within this namespace are displayed,with theirdate of creation and number of configuration variables.
3535

3636

3737

@@ -144,6 +144,6 @@ max-width="40%"
144144
To remove a config map, click on "remove" icon in the selected row. After your confirmation, the configmap will be removed.
145145

146146
##Related articles
147-
[Connect toyour Kubernetes cluster]({{site.baseurl}}/docs/integrations/add-kubernetes-cluster/)
148-
[Manage yourKubernetescluster]({{site.baseurl}}/docs/deployments/kubernetes/manage-kubernetes/)
149-
[Deploy toKubernetes- quick start]({{site.baseurl}}/docs/getting-started/deployment-to-kubernetes-quick-start-guide/)
147+
[Connect toa Kubernetes cluster]({{site.baseurl}}/docs/integrations/#connect-a-kubernetes-cluster)
148+
[ManagingKubernetesclusters]({{site.baseurl}}/docs/deployments/kubernetes/manage-kubernetes/)
149+
[Kubernetesdeployment quick start]({{site.baseurl}}/docs/quick-start/ci-quickstart/deploy-to-kubernetes/)

‎_docs/ci-cd-guides/building-docker-images.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ For more Docker best practices see our [Docker anti-patterns blog post](https://
370370

371371
##Pushing Docker images
372372

373-
The build step in Codefresh is very smart and automatically also pushes your Docker image to your[default Docker registry]({{site.baseurl}}/docs/docker-registries/external-docker-registries/#the-default-registry).
373+
The build step in Codefresh is very smart and automatically also pushes your Docker image to your[default Docker registry]({{site.baseurl}}/docs/integrations/docker-registries/#default-registry).
374374

375375

376376
{% include image.html

‎_docs/ci-cd-guides/environment-deployments.md‎

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@ max-width="80%"
2222
##Prerequisites
2323

2424
Before starting, you will need to:
25-
<!--- xrefs-->
26-
1.[Create a Codefresh account]({{site.baseurl}}/docs/getting-started/create-a-codefresh-account/)
25+
1.[Create a Codefresh account]({{site.baseurl}}/docs/administration/account-user-management/create-codefresh-account/)
2726
1. Get access to a Kubernetes cluster on any cloud provider
2827
1.[Connect the Kubernetes cluster]({{site.baseurl}}/docs/integrations/kubernetes/#connect-a-kubernetes-cluster/) to your account
29-
1. Install[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/){:target="\_blank"} and[helm](https://helm.sh/docs/intro/install/):target="\_blank"} and point them to your cluster
28+
1. Install[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/){:target="\_blank"} and[helm](https://helm.sh/docs/intro/install/){:target="\_blank"} and point them to your cluster
3029
1. Have[Docker](https://docs.docker.com/get-docker/){:target="\_blank"} installed locally (optional)
3130

3231
##Example application
3332

34-
As a running example, we will use a simple application with a Helm chart.[Helm is the package manager]({{site.baseurl}}/docs/deployments/helm/helm-best-practices/) for Kubernetes and has built-in support for passing different configuration settings for each environment.
33+
As a running example, we will use a simple application with a Helm chart.[Helm]({{site.baseurl}}/docs/ci-cd-guides/helm-best-practices/)is the package managerfor Kubernetes, and has built-in support for passing different configuration settings for each environment.
3534

3635
You can find the example Helm application at[https://github.com/codefresh-contrib/helm-promotion-sample-app](https://github.com/codefresh-contrib/helm-promotion-sample-app){:target="\_blank"}. If you want to follow along feel free to fork it on your own account.
3736

@@ -111,7 +110,7 @@ Note that for this guide, all three environments run on the same cluster. In a r
111110

112111
##Basic deployment pipeline for different environments
113112

114-
Now that we have seen how manual deployment works, let's automate the whole process with Codefresh. We[will create a pipeline]({{site.baseurl}}/docs/pipelines/pipelines/) that:
113+
Now that we have seen how manual deployment works, let's automate the whole process with Codefresh. We will[create a pipeline]({{site.baseurl}}/docs/pipelines/pipelines/) that:
115114

116115
1. Deploys all commits to the`master` branch in the production environment
117116
1. Deploys all other commits to the staging environment
@@ -133,7 +132,7 @@ The pipeline has the following steps
133132

134133
1. A[clone step]({{site.baseurl}}/docs/pipelines/steps/git-clone/) to get the source code plus the Helm chart
135134
1. A[build step]({{site.baseurl}}/docs/pipelines/steps/build/) to create and push the container image to Dockerhub
136-
1. A[Helm step]({{site.baseurl}}/docs/deployments/helm/using-helm-in-codefresh-pipeline/) to perform the deployment. The step has[pipelineconditions]({{site.baseurl}}/docs/pipelines/conditional-execution-of-steps/) to select which environment will be used.
135+
1. A[Helm step]({{site.baseurl}}/docs/deployments/helm/using-helm-in-codefresh-pipeline/) to perform the deployment. The step has[conditions]({{site.baseurl}}/docs/pipelines/conditional-execution-of-steps/) to select which environment will be used.
137136

138137
Here is the full pipeline:
139138

@@ -235,7 +234,7 @@ For more details on Helm deployments see our [dedicated Helm example]({{site.bas
235234
The previous pipeline works great as an automation mechanism. Wouldn't it be great if you could also*visualize* your deployments?
236235
Codefresh includes a[Helm release dashboard]({{site.baseurl}}/docs/deployments/helm/helm-releases-management/) to help you understand your deployments.
237236

238-
1. In the Codefresh UI, fromtheOps section in the sidebar, select[Helm Releases](https://g.codefresh.io/helm/releases/releasesNew/){:target="\_blank"}.
237+
1. In the Codefresh UI, from Ops in the sidebar, select[Helm Releases](https://g.codefresh.io/helm/releases/releasesNew/){:target="\_blank"}.
239238

240239
{% include image.html
241240
lightbox="true"
@@ -258,7 +257,7 @@ caption="Helm service information"
258257
max-width="80%"
259258
%}
260259

261-
In the History tab, you can view the deployment history, and even[rollback]({{site.baseurl}}/docs/deployments/helm/helm-releases-management/#rolling-back-a-helm-release) to a previous release:
260+
In the History tab, you can view the deployment history, and even[rollback]({{site.baseurl}}/docs/deployments/helm/helm-releases-management/#roll-back-a-helm-release) to a previous release:
262261

263262
{% include image.html
264263
lightbox="true"
@@ -390,7 +389,7 @@ steps:
390389
{% endhighlight %}
391390

392391

393-
Notice that we use the`CF_COMMIT_MESSAGE`[variable]({{site.baseurl}}/docs/pipelines/variables/) to annotate each environment with each build message. After you deploy at least once to each environment, you should see the following inyour[Environment dashboard](https://g.codefresh.io/environments).
392+
Notice that we use the`CF_COMMIT_MESSAGE`[variable]({{site.baseurl}}/docs/pipelines/variables/) to annotate each environment with each build message. After you deploy at least once to each environment, you should see the following inthe Codefresh UI's[Environment dashboard](https://g.codefresh.io/environments){:target="\_blank"}.
394393

395394
{% include image.html
396395
lightbox="true"
@@ -659,15 +658,15 @@ Some common workflows are:
659658

660659
1. Automate the staging pipeline when a commit lands in`master`, and only launch the production pipeline manually.
661660
1. Automate the staging pipeline when a commit lands in`master`, and use an[approval step]({{site.baseurl}}/docs/pipelines/steps/approval/) to call the production pipeline as a[child pipeline]({{site.baseurl}}/docs/example-catalog/ci-examples/call-child-pipelines/).
662-
1. Set the[trigger]({{site.baseurl}}/docs/pipeline/triggers/git-triggers/) of the production pipeline to[launch only]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/#restricting-which-branches-to-build) on`master`, and the trigger of the staging pipeline to launch only for`non-master` branches.
661+
1. Set the[trigger]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/) of the production pipeline to[launch only]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/#restricting-which-branches-to-build) on`master`, and the trigger of the staging pipeline to launch only for`non-master` branches.
663662
1. Set the production pipeline to launch only for commits on`master`, and the staging pipeline only for pull requests (PRs).
664663

665-
The exact mechanism depends on the workflow of your team. For more information, see[the guide onbranchesandpull requests]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/),especially[trunk based development]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/#trunk-based-development), as a good starting point.
664+
The exact mechanism depends on the workflow of your team. For more information, see the guide on[Pull Requestsandbranches]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/),and[trunk based development]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/#trunk-based-development), as a good starting point.
666665

667666
##Promoting releases between environments
668667

669668
If you have a large number of environments, we also suggest looking at the Helm promotion board provided by Codefresh.
670-
For more details, see[Helm promotion board]({{site.baseurl}}/docs/new-helm/helm-environment-promotion/).
669+
For more details, see[Helm promotion board]({{site.baseurl}}/docs/deployments/helm/helm-environment-promotion/).
671670

672671

673672
{% include
@@ -683,7 +682,6 @@ max-width="80%"
683682

684683
##Related articles
685684
[Codefresh YAML for pipeline definitions]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/)
686-
[Pull requests and branches]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/)
687685
[Environment dashboard]({{site.baseurl}}/docs/deployments/kubernetes/environment-dashboard/)
688686

689687

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp