This repository has been archived by the owner on Jul 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): document how to hide stages from end-users (#1807)
* feat(docs): document how to hide stages from end-users * fix(docs): address dorbin@ code review comments Co-authored-by: Dave Dorbin <[email protected]>
- Loading branch information
1 parent
15d5826
commit deaf33a
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: single | ||
title: "Hiding Stages" | ||
sidebar: | ||
nav: guides | ||
--- | ||
|
||
If you're using Spinnaker 1.20 or later, stages that are not provider-specific will be | ||
available by default. To hide specific stages from end-users, set the | ||
`hiddenStages` property in Deck's [custom profile](/reference/halyard/custom/#custom-profile-for-deck) | ||
to a list of the keys of stages you wish to hide. For example, to hide the | ||
Gremlin and Travis stages, include the following in `settings-local.js`: | ||
|
||
```js | ||
window.spinnakerSettings.hiddenStages = ['gremlin', 'travis']; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters