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

Commit5f013c5

Browse files
authored
Fix links (codefresh-io#1095)
1 parent2d62fef commit5f013c5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎_docs/products/promotion-flow-triggers.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See also [Promotion Flow CRD]({{site.basurl}}/docs/promotions/configuration/yaml
4343
%}
4444

4545

46-
For how to instructions on configuring Promotion Flows, see[Configure Promotion Flows]({{site.baseurl}}/docs/products/configure-product-settings.md/#configure-promotion-flows).
46+
For how to instructions on configuring Promotion Flows, see[Configure Promotion Flows]({{site.baseurl}}/docs/products/configure-product-settings/#configure-promotion-flows).
4747

4848

4949
##Examples of trigger conditions for Promotion Flows

‎_docs/promotions/configuration/yaml/promotion-flow-crd.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ spec:
5151
|`spec.steps.policy`| The Pre-Action Workflow, Action, and Post-Action Workflow to implement for the Promotion Policy through the `action`, `preAction`, and `postAction` attributes. <br>The Action attribute is required.<br>An `policy` attribute defined here overrides global Policies that match the product/environment. See [Promotion Policy implementation logic]({{site.baseurl}}/docs/promotions/configuration/promotion-policy/#promotion-policy-implementation-logic) for information on how they are applied. | object | Optional |
5252
| `spec.steps.policy.action` | The action that should trigger the promotion in the target environment for this Promotion Policy.<br>Can be one of the following:{::nomarkdown}<ul><li><code class="highlighter-rouge">commit</code>:Executes a commit operation on the target application.</li><li><code class="highlighter-rouge">pr</code>: Executes a commit and opens a pull request for the target application.<br>Useful when you need manual approval before commit.</li><li><code class="highlighter-rouge">none</code>: Does not execute any action on the target application.<br>In this case, the Post-Action workflow must include a step that is equivalent </li></ul>{:/}| string | Required |
5353
| `spec.steps.policy.preAction` | The name of the Promotion Workflow to execute _before_ `spec.steps.policy.action`. | string | Optional |
54-
| `spec.steps.policy.postAction` | The name of the Promotion Workflow to executeafter `spec.steps.policy.action`. | string | Optional |
54+
| `spec.steps.policy.postAction` | The name of the Promotion Workflow to execute_after_ `spec.steps.policy.action`. | string | Optional |
5555

5656
## Related articles
57-
[Product YAML]({{site.baseurl}}/docs/romotions/configuration/yaml/product-crd/)
57+
[Product YAML]({{site.baseurl}}/docs/promotions/configuration/yaml/product-crd/)
5858
[Promotion Policy YAML]({{site.baseurl}}/docs/promotions/configuration/yaml/promotion-policy-crd/)
5959
[Promotion Template YAML]({{site.baseurl}}/docs/promotions/configuration/yaml/promotion-template-crd/)

‎_docs/promotions/configuration/yaml/promotion-policy-crd.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
| Field | Description | Type | Required/Optional |
4747
|--------------------------------|----------------------------|---------|-------------------|
4848
|`metadata.name` | The name of the Promotion Policy, which must conform to the naming conventions for Kubernetes resources. Useful if the name indicates the purpose of this Promotion Policy - where and how it is intended to be used. For example, `productionDeployments`. | string | Required |
49-
| `spec.priority` | The priority of the Promotion Policy, determining which Pre-Action Workflow, Action, and Post-Action Workflow are applied when [evaluating policies]({{site.baseurl}}/docs/promotions/promotion-policy/#evaluate-promotion-settings-for-products-and-environments) and [implementing policies]({{site.baseurl}}/docs/promotions/promotion-policy/#promotion-policy-implementation-logic) when multiple Promotion Policies match the same product or environment. <br>The priority is ranked in ascending order, ranging from 0 or a negative number to higher values. | integer | Required |
49+
| `spec.priority` | The priority of the Promotion Policy, determining which Pre-Action Workflow, Action, and Post-Action Workflow are applied when [evaluating policies]({{site.baseurl}}/docs/promotions/configuration/promotion-policy/#evaluate-promotion-settings-for-products-and-environments) and [implementing policies]({{site.baseurl}}/docs/promotions/promotion-policy/#promotion-policy-implementation-logic) when multiple Promotion Policies match the same product or environment. <br>The priority is ranked in ascending order, ranging from 0 or a negative number to higher values. | integer | Required |
5050
| `spec.selector` | The products and target environments to which to apply the Promotion Policy.<br>You can define multiple products, or environments.<br>If neither a product nor an environment is defined for a policy, it is considered a global policy that matches all products and environments. | object | Optional |
5151
| `spec.selector.product` | The product or products to which to apply or match this Promotion Policy by `names`. <br>When not defined, matches all products. | object | Optional |
5252
| `spec.selector.product.names` | The name of a single product or a list of multiple products to which to apply the Promotion Policy. <!-- Required if `spec.selector.product.tags` are not used to match the Promotion Policy to the product. For example, `billing` or `- billing - guestbook-helm, - demo-trioapp`. --> | array | Optional |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp