-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable orb to use environment variables from context (#293)
* Try orb env variables * That didn't work * progress * Fixes * Fix examples
- Loading branch information
Andrew Suderman
authored
Mar 17, 2022
1 parent
d22b387
commit 330438e
Showing
9 changed files
with
57 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
description: Configures pluto environment variables. | ||
parameters: | ||
executor: | ||
description: The name of custom executor to use. Only recommended for development. | ||
type: executor | ||
default: default | ||
ignore-deprecations: | ||
type: boolean | ||
default: false | ||
description: Exit Code 3 is ignored, useful if you do not want the job to fail if deprecated APIs are detected. | ||
ignore-removals: | ||
type: boolean | ||
default: false | ||
description: Exit Code 3 is ignored, useful if you do not want the job to fail if removed APIs are detected. | ||
target-versions: | ||
description: You can target the Kubernetes version you are concerned with. If blank defaults to latest. | ||
type: string | ||
default: "" | ||
steps: | ||
- run: | ||
name: configure Pluto env vars | ||
command: | | ||
#!/bin/bash | ||
set -e | ||
echo PLUTO_IGNORE_DEPRECATIONS=<<parameters.ignore-deprecations>> >> $BASH_ENV | ||
echo PLUTO_IGNORE_REMOVALS=<<parameters.ignore-removals>> >> $BASH_ENV | ||
echo PLUTO_TARGET_VERSIONS=<<parameters.target-versions>> >> $BASH_ENV |
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
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
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
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