@@ -25,8 +25,8 @@ import (
2525 "github.com/GoogleContainerTools/skaffold/v2/pkg/skaffold/schema/util"
2626)
2727
28- // !!! WARNING !!! This config version is already released, please DO NOT MODIFY the structs in this file.
29- const Version string = "skaffold/v4beta14 "
28+ // This config version is not yet released, it is SAFE TO MODIFY the structs in this file.
29+ const Version string = "skaffold/v4beta15 "
3030
3131// NewSkaffoldConfig creates a SkaffoldConfig
3232func NewSkaffoldConfig () util.VersionedConfig {
@@ -706,8 +706,16 @@ type VerifyTestCase struct {
706706 // Config describes general configuration for the verify test.
707707 Config VerifyConfig `yaml:",inline"`
708708 // Container is the container information for the verify test.
709- Container VerifyContainer `yaml:"container" yamltags:"required"`
709+ // Exactly one of `container` or `action` must be set.
710+ Container VerifyContainer `yaml:"container,omitempty"`
711+ // Action references a custom action (declared under `customActions`) to run
712+ // as this verify test case instead of an inline container. The action runs
713+ // with its own `executionMode`, `timeout`, `failFast`, and `runArgs`.
714+ // Exactly one of `container` or `action` must be set.
715+ Action * ActionHook `yaml:"action,omitempty"`
710716 // ExecutionMode is the execution mode used to execute the verify test case.
717+ // It is ignored when `action` is set (the referenced action carries its own
718+ // execution mode).
711719 ExecutionMode VerifyExecutionModeConfig `yaml:"executionMode,omitempty"`
712720}
713721
0 commit comments