mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-23 17:53:23 +02:00
added section to yaml for custom hostnames
This commit is contained in:
parent
984099aa04
commit
600bcdea38
@ -57,6 +57,10 @@ type Build struct {
|
|||||||
// Env specifies the environment of the build.
|
// Env specifies the environment of the build.
|
||||||
Env []string
|
Env []string
|
||||||
|
|
||||||
|
// Hosts specifies the custom IP address and
|
||||||
|
// hostname mappings.
|
||||||
|
Hosts []string
|
||||||
|
|
||||||
// Services specifies external services, such as
|
// Services specifies external services, such as
|
||||||
// database or messaging queues, that should be
|
// database or messaging queues, that should be
|
||||||
// linked to the build environment.
|
// linked to the build environment.
|
||||||
@ -65,7 +69,10 @@ type Build struct {
|
|||||||
Deploy *deploy.Deploy `yaml:"deploy,omitempty"`
|
Deploy *deploy.Deploy `yaml:"deploy,omitempty"`
|
||||||
Publish *publish.Publish `yaml:"publish,omitempty"`
|
Publish *publish.Publish `yaml:"publish,omitempty"`
|
||||||
Notifications *notify.Notification `yaml:"notify,omitempty"`
|
Notifications *notify.Notification `yaml:"notify,omitempty"`
|
||||||
Git *git.Git `yaml:"git,omitempty"`
|
|
||||||
|
// Git specified git-specific parameters, such as
|
||||||
|
// the clone depth and path
|
||||||
|
Git *git.Git `yaml:"git,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write adds all the steps to the build script, including
|
// Write adds all the steps to the build script, including
|
||||||
|
Loading…
x
Reference in New Issue
Block a user