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

Commit3d5ce4b

Browse files
author
Vladimir Mechkauskas
committed
Merge branch 'master' into apply-design
2 parentsd435d6d +1acee0b commit3d5ce4b

File tree

20 files changed

+174
-165
lines changed

20 files changed

+174
-165
lines changed

‎_config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ link_main: "https://codefresh.io"
120120
link_cli:"https://cli.codefresh.io"
121121
link_git_examples:"https://github.com/codefresh-examples/examples/"
122122
link_api:"https://g.codefresh.io/api/"
123-
link_plugins:"https://github.com/codefresh-io/plugins"
123+
link_plugins:"https://github.com/codefresh-io/plugins/blob/master/CATALOG.md"
124124

125125
ga_tracking_code:"UA-112283329-1"
126126

‎_data/home-content.yml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,6 @@
104104
localurl:/docs/new-helm/integration-tests-with-helm/
105105
-title:Best Practices
106106
localurl:/docs/new-helm/best-practices/
107-
-title:Codefresh plugins
108-
icon:https://codefresh.io/wp-content/uploads/2018/01/plugins.png
109-
url:''
110-
links:
111-
-title:Plugins
112-
localurl:/docs/codefresh-plugins/plugins/
113-
-title:Contribute Codefresh Plugin
114-
localurl:/docs/codefresh-plugins/contribute-codefresh-plugin/
115107
-title:"Codefresh CLI"
116108
new:true
117109
icon:https://codefresh.io/wp-content/uploads/2018/01/cli.png

‎_data/nav.yml‎

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
-title:Deployment to Kubernetes
66
url:"/deployment-to-kubernetes-quick-start-guide"
77

8-
-title:Codefresh Plugins
9-
pages:
10-
-title:Plugins
11-
-title:Contribute Codefresh Plugin
12-
138
-title:Whats new?
149
url:"/whats-new"
1510
pages:
@@ -90,8 +85,6 @@
9085
-title:"YAML Examples"
9186
url:"/yaml-examples"
9287
pages:
93-
-title:"Custom YAML steps"
94-
url:"/ready-to-use-yaml-steps"
9588
-title:Examples
9689
url:"/examples"
9790
sub-pages:
@@ -206,8 +199,8 @@
206199
-title:Python
207200
url:"/python"
208201
sub-pages:
209-
-title:Djanga
210-
url:"/djanga"
202+
-title:Django
203+
url:"/django"
211204
-title:Voting app
212205
url:"/voting-app"
213206
-title:Java
@@ -280,6 +273,8 @@
280273
-title:Git providers
281274
url:"/git-providers"
282275
sub-pages:
276+
-title:Integration with self-hosted (on-prem) git providers
277+
url:"/integrating-codefresh-with-on-premises-git-providers"
283278
-title:Activate integration with your self hosted Git server
284279
url:"/activate-integration-with-your-self-hosted-git-server"
285280
-title:Configure a Bitbucket Server Webhook
@@ -320,8 +315,8 @@
320315
url:"/disabling-codefresh-caching-mechanisms"
321316
-title:Handling commit messages with a quote character
322317
url:"/handling-commit-messages-with-quotes"
323-
-title:The terminating the workflow by system
324-
url:"/the-terminating-the-workflow-by-system"
318+
-title:Workflow terminated by the system
319+
url:"/workflow-terminated-by-system"
325320
-title:The docker image does not exist or no pull access
326321
url:"/the-docker-image-does-not-exist-or-no-pull-access"
327322
-title:'Build step: No such file or directory'

‎_docs/codefresh-plugins/contribute-codefresh-plugin.md‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎_docs/codefresh-plugins/plugins.md‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

‎_docs/codefresh-yaml/steps/git-clone.md‎

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ redirect_from:
88
toc:true
99
---
1010
Clones a Git repository to the filesystem.
11-
<divclass="bd-callout bd-callout-warning"markdown="1">
12-
This step is not required and is added automatically for the main repository.
13-
</div>
1411

1512
`YAML`
1613
{% highlight yaml %}
@@ -55,3 +52,26 @@ step_name:
5552
{{site.data.callout.callout_info}}
5653
If you want to extend the git-clone step you can use the freestyle step. Example how to do it you can find[here]({{ site.baseurl }}/docs/yaml-examples/examples/git-clone-private-repository-using-freestyle-step/)
5754
{{site.data.callout.end}}
55+
56+
##Skip or customize default clone
57+
58+
A git clone step is transparently added to git attached pipelines without you having to explicitly add a step into the pipeline. This is a convenience to enable easy CI pipelines.
59+
If you do not require git cloning, or you would like to customize the implicit git cloning behaviour, you can choose to skip the automatically added git clone step.
60+
61+
There are 2 ways to do that:
62+
63+
1. Add a pipeline environment variable called`CF_SKIP_MAIN_CLONE` with value of`true`.
64+
65+
-or-
66+
67+
2. Add a step with key`main_clone` to your pipeline. This step can be of any type and can do any action. This step will override the default clone implementation. for example:
68+
69+
```yaml
70+
steps:
71+
main_clone:
72+
image:alpine/git:latest
73+
commands:
74+
-git clone ...
75+
another_step:
76+
...
77+
```

‎_docs/codefresh-yaml/variables.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ All system provided variables will also be automatically injected to any freesty
2121
| -------------------------------------------------| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
2222
| {% raw %}`${{CF_REPO_OWNER}}`{% endraw %}| Repository owner.|
2323
| {% raw %}`${{CF_REPO_NAME}}`{% endraw %}| Repository name.|
24-
| {% raw %}`${{CF_BRANCH}}`{% endraw %}| Branch name of the Git repository of the main pipeline, at the time of execution. <br/>You can also use {% raw %}`${{CF_BRANCH_TAG_NORMALIZED}}`{% endraw %} to get the branch name normalized. It will be without any chars that are illegal in case the branch name were to be used as the Docker image tag name.|
24+
| {% raw %}`${{CF_BRANCH}}`{% endraw %}| Branch name (or Tag depending on the payload json) of the Git repository of the main pipeline, at the time of execution. <br/>You can also use {% raw %}`${{CF_BRANCH_TAG_NORMALIZED}}`{% endraw %} to get the branch name normalized. It will be without any chars that are illegal in case the branch name were to be used as the Docker image tag name.|
25+
| {% raw %}`${{CF_BASE_BRANCH}}`{% endraw %} | The base branch used during creation of Tag
2526
| {% raw %}`${{CF_COMMIT_AUTHOR}}`{% endraw %}| Commit author.|
2627
| {% raw %}`${{CF_COMMIT_URL}}`{% endraw %}| Commit url.|
2728
| {% raw %}`${{CF_COMMIT_MESSAGE}}`{% endraw %}| Commit message of the git repository revision, at the time of execution.<br/> The messages quotes are escaped (i.e. ' is not\', " is now\").|

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: ""
44
group:codefresh-yaml
55
redirect_from:
66
-/docs/codefresh-yaml/
7+
-/docs/what-is-the-codefresh-yaml
8+
-/docs/what-is-the-codefresh-yaml/
79
toc:true
810
---
911
Quick example:

‎_docs/configure-ci-cd-pipeline/build-status.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title: "Build badges"
33
description:""
44
group:configure-ci-cd-pipeline
55
toc:true
6+
redirect_from:
7+
-/docs/build-status
8+
-/docs/build-status/
69
---
710
##Overview
811

‎_docs/deploy-to-kubernetes/add-kubernetes-cluster.md‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title: "Add Kubernetes Cluster"
33
description:""
44
group:deploy-to-kubernetes
55
permalink:/:collection/deploy-to-kubernetes/adding-non-gke-kubernetes-cluster/
6+
redirect_from:
7+
-/docs/adding-non-gke-kubernetes-cluster
8+
-/docs/adding-non-gke-kubernetes-cluster/
69
toc:true
710
---
811

@@ -41,13 +44,20 @@ alt="codefresh_add_custom_cluster.png"
4144
max-width="40%"
4245
%}
4346

44-
The integration between Codefresh and your Kubernetes cluster is API based and relies on a Kubernetes service account of your choosing that will be used to manage the integration.
45-
The configurations you'll be required to add are:
47+
The integration between Codefresh and your Kubernetes cluster is API based and relies on a Kubernetes service account of your choosing that will be used to manage the integration.
48+
49+
The configurations you'll be required to add are:
4650

4751
{:start="1"}
48-
1. Name - Any name of your choosing, that will represent your cluster context in Codefresh.
52+
1. Name - Any name of your choosing, that will represent your cluster context in Codefresh.
53+
54+
{:start="2"}
4955
2. Host - The endpoint for your Kubernetes API
56+
57+
{:start="3"}
5058
3. Certificate - The Kubernetes service account certificate used for the integration with Codefresh
59+
60+
{:start="4"}
5161
4. Token - The Kubernetes service account token used for the integration with Codefresh
5262

5363
{% include image.html
@@ -113,6 +123,7 @@ So, what's next?
113123
-[Deployment to Kubernetes - Quick start guide]({{ site.baseurl }}/docs/deploy-to-kubernetes/deployment-to-kubernetes-quick-start-guide/)
114124
-[Example - Deploy demochat to Kubernetes cluster]({{ site.baseurl }}/docs/deploy-to-kubernetes/codefresh-kubernetes-integration-demochat-example/)
115125

126+
116127
##Debugging issues with adding cluster
117128

118129
After adding your cluster configurations and in case the test fails, click "Save" to get the error message back.
@@ -126,7 +137,7 @@ After adding your cluster configurations and in case the test fails, click "Save
126137
%}
127138

128139
{:.text-secondary}
129-
####Namespaces is forbidden
140+
###Namespaces is forbidden
130141

131142
`Add Cluster Error`
132143
{% highlight shell %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp