Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 231808c

Browse files
author
Lori Krell
authored
Merge pull request #1313 from magento/lk_1010_cloud-wings-branches
Update branching notes and formatting for wings
2 parents d3f428b + 9d9edb8 commit 231808c

File tree

3 files changed

+31
-7
lines changed

3 files changed

+31
-7
lines changed

_includes/cloud/wings-variables.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div markdown="1">
2+
3+
If you want to add the same variables to your Integration, Staging, and Production environments, we recommend adding all of the variables one at a time to Integration. After you finish adding variables, trigger a deployment to Staging and production. All variables will be inherited from Integration.

guides/v2.0/cloud/project/project-webint-basic.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ For an example of variables, we walk you through creating Magento Admin variable
8585

8686
To view or edit environment variables, you must have at minimum the project reader role with [environment admin]({{ page.baseurl }}cloud/project/user-admin.html#cloud-role-env) privileges.
8787

88+
For new Pro projects **created after 10-23-2017**, you can add variables for all environments through the Project Web Interface.
89+
90+
{% include cloud/wings-variables.md %}
91+
8892
### Environment variable {#env}
8993
To set environment specific variables in the Project Web Interface:
9094

guides/v2.0/cloud/trouble/pro-env-management.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For existing Pro plans, you previously had to access Staging and Production envi
1515
All new projects already include these features.
1616

1717
<div class="bs-callout bs-callout-info" id="info" markdown="1">
18-
**New projects provisioned October 23, 2017 and later** will already have Staging and Production in their Project Web Interface. Any existing projects created before this date will need to enter a ticket to be converted.
18+
**New projects provisioned October 23, 2017 and later** will already have Staging and Production in their Project Web Interface. Any existing projects created before this date will need to enter a ticket to be converted. This information will help you understand the changes and enter a ticket.
1919
</div>
2020

2121
## New features {#features}
@@ -53,16 +53,16 @@ After the conversion, the three repositories are merged into a single repository
5353
<table>
5454
<thead>
5555
<tr>
56-
<th>Branch</th>
57-
<th>Environment</th>
56+
<th style="width: 100px;">Branch</th>
57+
<th style="width: 100px;">Environment</th>
5858
<th>Description</th>
5959
</tr></thead>
6060
<tbody>
6161
<tr>
62-
<td><code>master</code></td>
63-
<td>Integration master</td>
64-
<td><p>The master branch of the single repository. In the Project Web Interface, this is called Integration. You branch from <code>master</code> for your development on your local, generating an environment when you push code.</p>
65-
<p>When you convert, all active and inactive branches continue as children to the <code>master</code> branch.</p></td>
62+
<td>(no branch)</td>
63+
<td>Global Master</td>
64+
<td>This "branch" captures global project changes including adding user accounts and variables.
65+
</td>
6666
</tr>
6767
<tr>
6868
<td><code>production</code></td>
@@ -76,9 +76,26 @@ After the conversion, the three repositories are merged into a single repository
7676
<td><p>This is a branch from <code>master</code> with a deployment target. You cannot branch from this branch. You merge code from <code>master</code> to this branch to go live with updated configurations and code.</p>
7777
<p>When you convert, the Integration <code>master</code> is branched into a <code>staging</code> branch with the users access and environment variables.</p></td>
7878
</tr>
79+
<tr>
80+
<td><code>master</code></td>
81+
<td>Integration master</td>
82+
<td><p>The master branch of the single repository. In the Project Web Interface, this is called Integration. You branch from <code>master</code> for your development on your local, generating an environment when you push code.</p>
83+
<p>When you convert, all active and inactive branches continue as children to the <code>master</code> branch.</p></td>
84+
</tr>
7985
</tbody>
8086
</table>
8187

88+
In the Project Web Interface, you will see the following environments and branches:
89+
90+
![Pro branch hierarchy]({{ site.baseurl }}common/images/cloud_project-pro.png)
91+
92+
Be aware, the following actions will trigger a redeploy of the environment. This redeploy is much shorter, not pushing code or data changes.
93+
94+
* Add a user to a specific environment
95+
* Add an environment variable to a specific environment
96+
97+
{% include cloud/wings-variables.md %}
98+
8299
## Prepare for adding Staging and Production {#prepare}
83100
When we add Staging and Production access to the Project Web Interface, we will leverage the user accounts, branch user permissions, and environment variables from your Integration `master` environment.
84101

0 commit comments

Comments
 (0)