Skip to content

Commit

Permalink
fix(bake): adding skip region detection checkbox (#8277)
Browse files Browse the repository at this point in the history
* fix(bake): adding skip region detection checkbox.

* fix(bake): adding help-key for give more context of what the checkbox does

* fix(bake): rewrite short message.
  • Loading branch information
edgarulg committed May 14, 2020
1 parent cc7001d commit 200198f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
<stage-config-field label="Regions">
<checklist items="regions" model="stage.regions" inline="true" include-select-all-button="true"></checklist>
</stage-config-field>
<stage-config-field label="Skip Region Detection" help-key="pipeline.config.bake.skipRegionDetection">
<div class="checkbox" style="margin-bottom: 0">
<label>
<input type="checkbox" ng-model="stage.skipRegionDetection" />
Only bake explicitly selected regions
</label>
</div>
</stage-config-field>
<stage-config-field
label="{{stage.storeType === 'docker' ? 'Repo Path' : 'Package'}}"
help-key="pipeline.config.bake.package"
Expand Down
4 changes: 4 additions & 0 deletions app/scripts/modules/core/src/help/help.contents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ const helpContents: { [key: string]: string } = {
'<p>(Optional) Configures the name to the Travis artifact file used to pass in properties to later stages in the Spinnaker pipeline. The contents of this file will now be available as a map under the trigger and accessible via <em>trigger.properties</em>. See <a target="_blank" href="https://www.spinnaker.io/guides/user/pipeline-expressions/">Pipeline Expressions docs</a> for more information.</p>',
'pipeline.config.travis.propertyFile':
'<p>(Optional) Configures the name to the Travis artifact file used to pass in properties to later stages in the Spinnaker pipeline. The contents of this file will now be available as a map under the stage context. See <a target="_blank" href="https://www.spinnaker.io/guides/user/pipeline-expressions/">Pipeline Expressions docs</a> for more information.</p>',
'pipeline.config.bake.skipRegionDetection': `
<p>By default, Spinnaker will detect regions to bake in from downstream deploy stages.</p>
<p>To prevent failed deploys from accidentally missed regions during the bake process.</p>
<p>This setting will disable this detection mechanism.</p>`,
'pipeline.config.bake.package': `
<p>The name of the package you want installed (without any version identifiers).</p>
<p>If your build produces a deb file named "myapp_1.27-h343", you would want to enter "myapp" here.</p>
Expand Down

0 comments on commit 200198f

Please sign in to comment.