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

Commite586009

Browse files
authored
Add YAML views for scenarios (codefresh-io#1097)
* Add YAML views for scenariosAdded YAML view screenshots for each tutorial scenario* Add topics for configuring product settings* Add missing screenshot for yaml* Update configuration.md* Update content
1 parent52b0168 commite586009

16 files changed

+111
-8
lines changed

‎_data/nav.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@
423423
url:"/promotion-policy"
424424
-title:Promotion Workflows
425425
url:"/promotion-workflow"
426+
-title:Product Settings
427+
url:"/product-promotion-props"
426428
-title:YAML specs
427429
url:"/yaml"
428430
sub-pages:

‎_docs/promotions/configuration.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ group: promotions
55
toc:true
66
---
77

8-
Configure the specialized promotion entities:
8+
After creating products and environments, you can initiate promotions and track releases.
99

10-
*[Promotion Flows]({{site.baseurl}}/docs/promotions/configuration/promotion-flow/) (only account admins)
11-
*[Promotion Policies]({{site.baseurl}}/docs/promotions/configuration/promotion-policy/) (only account admins)
12-
*[Promotion Workflows]({{site.baseurl}}/docs/promotions/configuration/promotion-workflow/)
10+
Enhance your promotion strategies with these advanced configuration options:
11+
* Multi-environment promotion with[Promotion Flows]({{site.baseurl}}/docs/promotions/configuration/promotion-flow/) (only account admins)
12+
* Conditional promotions with[Promotion Policies]({{site.baseurl}}/docs/promotions/configuration/promotion-policy/) (only account admins)
13+
* Automatic validations and gates with[Promotion Workflows]({{site.baseurl}}/docs/promotions/configuration/promotion-workflow/)
14+
* Versioning, properties for promotion, flows and triggers, with[Product Settings]({{site.baseurl}}/docs/promotions/configuration/product-promotion-props/)
1315

1416
If you are more comfortable with YAML, see our[YAML specification examples]({{site.baseurl}}/docs/promotions/configuration/yaml/) for the same.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title:"Configure product promotion settings & flows"
3+
description:"Configure key settings for the product to optimize promotion"
4+
group:promotions
5+
toc:true
6+
---
7+
8+
9+
10+
Before or after configuring specialized promotion entities such as Promotion Flows, Policies, and Workflows, note that there are product-specific settings crucial to effective, reliable promotions, regardless of the method you use or intend to use.
11+
12+
If you've created products, make sure you have configured the following settings for a consistent promotion experience.
13+
14+
##Defining source for product versions and properties
15+
16+
#####Product version for promotion
17+
The product version specifies the source of the version you want to promote. By defining the source for retrieving the version, you gain control over what is promoted at each stage.
18+
19+
**Why is it important?**
20+
Setting a source for the version ensures that each promotion action consistently targets the correct version of your product's applications.
21+
This minimizes potential issues due to version discrepancies, maintains application integrity, and provides a traceable version history.
22+
23+
#####Product properties for promotion
24+
Product properties allow you to specify the files and precise attributes—such as tags, version numbers, or other application attributes—that should be promoted across environments.
25+
26+
**Why is it important?**
27+
Configuring these properties combines precision with automation, enabling promotions that consistently meet your defined requirements.
28+
Defining properties to be promoted for products ensures accuracy and enforces deployment standards that simplify cross-environment promotions.
29+
30+
{% include
31+
image.html
32+
lightbox="true"
33+
file="/images/gitops-promotions/product/product-promotion-settings.png"
34+
url="/images/gitops-promotions/product/product-promotion-settings.png"
35+
alt="Product Settings: Version and properties"
36+
caption="Product Settings: Version and properties"
37+
max-width="60%"
38+
%}
39+
40+
For details, see[Configuring app version and promotable properties]({{site.baseurl}}/docs/products/promotion-version-properties).
41+
42+
##Assigning a Promotion Flow and defining its triggers
43+
44+
If you’ve already created Promotion Flows, you can assign them to products and set up the triggers that initiate these flows based on specific conditions.
45+
46+
Assigning Promotion Flows to a product and configuring their triggers optimizes the automation of your promotion process, reducing manual input and increasing response efficiency. Triggered promotions allow you to promote changes in alignment with pre-defined pipeline conditions, such as matching commit messages or specific code changes. This alignment minimizes human error, ensures promotions happen at the correct time, and maintains a structured, policy-driven workflow.
47+
48+
49+
{% include
50+
image.html
51+
lightbox="true"
52+
file="/images/gitops-promotions/product/product-promotion-flow-triggers.png"
53+
url="/images/gitops-promotions/product/product-promotion-flow-triggers.png"
54+
alt="Product Settings: Promotion Flows & triggers"
55+
caption="Product Settings: Promotion Flows & triggers"
56+
max-width="50%"
57+
%}
58+
59+
60+
For details, see[Configuring promotion flows and triggers]({{site.baseurl}}/docs/products/promotion-flow-triggers/).
61+
62+
##Related articles
63+
[Configure Product Settings]({{site.baseurl}}/docs/products/configure-product-settings/)
64+
[Create products]({{site.baseurl}}/docs/products/create-product/)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ caption="Add Pre-/Post-Action Workflows"
291291
max-width="60%"
292292
%}
293293

294-
{:start="8"}
294+
{:start="9"}
295295
1. To commit changes, click**Save Promotion Flow**.
296296
The Promotion Flow is added to the list of Promotion Flows.
297297

‎_docs/promotions/promotion-scenarios/dependency-multi-env-promotion.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ In this example, we’ll return to the `three-env-promotion` flow, add a paralle
1414

1515
In the example, we have already added the`staging` environment.
1616

17+
1718
Now we'll update the dependency on the`production` environment, by selecting`staging`, in addition to`qa`:
1819

1920
{% include
@@ -26,6 +27,8 @@ caption="Update dependencies for environment"
2627
max-width="60%"
2728
%}
2829

30+
31+
2932
Here's the`three-env-promotion` Promotion Flow with the updated dependency.
3033

3134
{% include
@@ -38,7 +41,17 @@ caption="Promotion Flow with updated dependencies"
3841
max-width="60%"
3942
%}
4043

44+
Here's the YAML view of the same flow with the updated dependency.
4145

46+
{% include
47+
image.html
48+
lightbox="true"
49+
file="/images/gitops-promotions/tutorials/promo-flow-dependency-yaml-view.png"
50+
url="/images/gitops-promotions/tutorials/promo-flow-dependency-yaml-view.png"
51+
alt="YAML view of Promotion Flow with updated dependencies"
52+
caption="YAML view of Promotion Flow with updated dependencies"
53+
max-width="60%"
54+
%}
4255

4356
##Related articles
4457
[Promotion tutorials]({{site.baseurl}}/docs/promotions/promotion-scenarios/)

‎_docs/promotions/promotion-scenarios/parallel-multi-env-promotion.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ caption="Adding parallel environments in Promotion Flow"
3838
max-width="60%"
3939
%}
4040

41-
Here's thepromotion flow with the parallel environments:
41+
Here's thePromotion Flow with the parallel environments:
4242

4343
{% include
4444
image.html
@@ -50,6 +50,18 @@ caption="Promotion Flow with parallel environments"
5050
max-width="60%"
5151
%}
5252

53+
Here's the YAML view of the Promotion Flow with the parallel environments.
54+
55+
{% include
56+
image.html
57+
lightbox="true"
58+
file="/images/gitops-promotions/tutorials/promo-flow-parallel-yaml-view.png"
59+
url="/images/gitops-promotions/tutorials/promo-flow-parallel-yaml-view.png"
60+
alt="YAML view of Promotion Flow with parallel environments"
61+
caption="YAML view of Promotion Flow with parallel environments"
62+
max-width="60%"
63+
%}
64+
5365

5466
We'll save this as`parallel-env-promotion`.
5567

‎_docs/promotions/promotion-scenarios/policy-multi-env-promotion.md‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,22 @@ image.html
4747
lightbox="true"
4848
file="/images/gitops-promotions/tutorials/seq-flow-populated-policy.png"
4949
url="/images/gitops-promotions/tutorials/seq-flow-populated-policy.png"
50-
alt="Targetenvironment with policy settings"
51-
caption="Targetenvironment with policy settings"
50+
alt="Targetenvironments with policy settings"
51+
caption="Targetenvironments with policy settings"
5252
max-width="60%"
5353
%}
5454

55+
Here's the YAML view of the promotion flow with the workflows and promotion actions.
5556

57+
{% include
58+
image.html
59+
lightbox="true"
60+
file="/images/gitops-promotions/tutorials/seq--policy-flow-yaml-view.png"
61+
url="/images/gitops-promotions/tutorials/seq--policy-flow-yaml-view.png"
62+
alt="YAML view of policy settings"
63+
caption="YAML view of policy settings"
64+
max-width="60%"
65+
%}
5666

5767

5868
#####Triggering policy-driven Promotion Flow
106 KB
Loading
142 KB
Loading
103 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp