forked from go-vela/docs-old
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add environment tag for global injection (go-vela#235)
* chore: update homepage "learn more" link to tour * feat: add environment tag for global injection * fix: update phrasing from user feedback
- Loading branch information
Neal
authored
Aug 9, 2021
1 parent
7131412
commit da6bc5e
Showing
3 changed files
with
89 additions
and
3 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,18 @@ | ||
--- | ||
title: "Environment" | ||
linkTitle: "Environment" | ||
weight: 1 | ||
description: > | ||
YAML tags for environment block | ||
--- | ||
|
||
The environment tag is intended to be used to inject a global environment configuration into steps, services and secret containers. Control of which container types get the injected environment settings is available via the metadata block. | ||
|
||
```yaml | ||
--- | ||
# This document is displaying using the environment tag with a map syntax. | ||
# Additionally, you can also use array syntax where the items in | ||
# they array are of pattern HELLO="Hello, Vela!" | ||
environment: | ||
HELLO: "Hello, Vela!" | ||
``` |
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