You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Update Azure SSO with auto-sync & added region parameter to build and push (#345)
* Update Azure SSO with auto-syncAdded description for auto-sync option* Fixed extra column in tableFixed incorrect formatting in table that created extra column* Update Build and PushReplaced absolute URL links with correct base URL* Update service-containers.mdAdded clarification on support of shared_host_network parameter in all environments
Copy file name to clipboardExpand all lines: _docs/administration/single-sign-on/sso-azure.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,8 @@ You need to enter the following:
161
161
**client secret* - the key value as created in the previous section
162
162
**tenant* -`<Your Microsoft Azure AD Domain>.onmicrosoft.com`
163
163
**Object ID* - your Azure Service Principal Object ID (from Enterprise Application configuration, see below)
164
+
**Auto Sync users and teams to Codefresh* - Select to automatically sync user accounts in Azure AD to your Codefresh account. Optionally, define the time interval, in hours, at which to sync, from 1 to 24. If you don't specify an interval, the sync is every 12 hours.
165
+
164
166
165
167
Those fields can be seen in the overview page of your application registration:
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/service-containers.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -488,7 +488,10 @@ Notice that in that case the sequence of events is the following
488
488
Ideally, your application should be able to access other services by other DNS names that are fully configurable (this is a very good practice for[integration tests]({{site.baseurl}}/docs/testing/integration-tests/) as well).
489
489
490
490
Sometimes, however, and especially in legacy applications, your application might be hardcoded to look at other services at`localhost`.
491
-
In that case, you can use the attribute`shared_host_network: true` on the services definition. Now all linked containers can access each other's services via localhost. Here is an example:
491
+
In that case, you can use the attribute`shared_host_network: true` on the services definition. Now all linked containers can access each other's services via localhost.
492
+
When`composition: ./docker-compose.yml` is used, this parameter is supported only in on-premises and hybrid environments. In cloud environments, for security reasons, this parameter is ignored.
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/steps/build.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ step_name:
78
78
| `working_directory` | The directory in which the build command is executed. It can be an explicit path in the container's file system, or a variable that references another step. <br>The default is {% raw %} `${{main_clone}}` {% endraw %}. This only changes the Docker build context and is unrelated to the `WORKDIR` inside the Dockerile | Default |
79
79
| `dockerfile` | The path to the `Dockerfile` from which the image is built. The default is `Dockerfile`. | Default |
80
80
| `image_name` | The name for the image you build. | Required |
81
+
| `region` | Relevant only for [Amazon ECR]({{site.baseurl}}/docs/integrations/docker-registries/amazon-ec2-container-registry/) integrations using either service accounts or explicit credentials. The names of the regions for which to perform cross-region replication. The names of the source region and the destination region name must be defined in separate steps. | Optional |
81
82
| `tag` | The tag that is assigned to the image you build. <br>The default is the name of the branch or revision that is built. | Default |
82
83
| `tags` | Multiple tags under which to push the image. Use either this or `tag`. This is an array, so should be of the following style: <br> {::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span><br><span class="pi">-</span> <span class="s">tag1</span><br><span class="pi">-</span> <span class="s">tag2</span><br><span class="pi">-</span> <span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED}}{% endraw %}</span><br><span class="pi">-</span> <span class="s">tag4</span></code></pre></figure>{:/}or<br>{::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span> <span class="pi">[</span> <span class="s1">'</span><span class="s">tag1'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag2'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED}}{% endraw %}'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag4'</span> <span class="pi">]</span></code></pre></figure>{:/} | Optional |
83
84
| `registry` | The registry logical name of one of the inserted registries from the integration view. <br>The default value will be your default registry [if you have more than one]({{site.baseurl}}/docs/docker-registries/external-docker-registries/). | Optional |
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/steps/push.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ step_name:
55
55
|`stage`| Parent group of this step. See[using stages]({{site.baseurl}}/docs/codefresh-yaml/stages/) for more information.| Optional|
56
56
|`candidate`| The identifier of the image to push to the remote Docker registry. It can be an explicit identifier of an image to push, or a variable that references a`Build` step.| Required|
57
57
|`tag`| The tag under which to push the image. Use either this or`tags`.<br> The default is`latest`.| Default|
58
+
|`region`| Relevant only for[Amazon ECR]({{site.baseurl}}/docs/integrations/docker-registries/amazon-ec2-container-registry/) integrations using either service accounts or explicit credentials. The names of the regions for which to perform cross-region replication. The names of the source region and the destination region name must be defined in separate steps.| Optional|
58
59
| `tags` | Multiple tags under which to push the image. Use either this or `tag`. This is an array, so should be of the following style: <br> {::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span><br><span class="pi">-</span> <span class="s">tag1</span><br><span class="pi">-</span> <span class="s">tag2</span><br><span class="pi">-</span> <span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED_LOWER_CASE}}{% endraw %}</span><br><span class="pi">-</span> <span class="s">tag4</span></code></pre></figure>{:/}or<br>{::nomarkdown}<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">tags</span><span class="pi">:</span> <span class="pi">[</span> <span class="s1">'</span><span class="s">tag1'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag2'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">{% raw %}${{CF_BRANCH_TAG_NORMALIZED_LOWER_CASE}}{% endraw %}'</span><span class="pi">,</span> <span class="s1">'</span><span class="s">tag4'</span> <span class="pi">]</span></code></pre></figure>{:/} | Default |
59
60
|`image_name`| The tagged image name that will be used The default value will be the same image name as of the candidate.| Default|
60
61
|`registry`| The registry logical name of one of the inserted registries from the integration view. <br>The default value will be your default registry[if you have more than one]({{site.baseurl}}/docs/docker-registries/external-docker-registries/).| Default|