suite_scheduler

package
v0.0.0-...-1726a6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BranchFilter_Channel_name = map[int32]string{
		0: "BRANCH_REF_NOT_SET",
		1: "MASTER",
		2: "DEV",
		3: "BETA",
		4: "STABLE",
	}
	BranchFilter_Channel_value = map[string]int32{
		"BRANCH_REF_NOT_SET": 0,
		"MASTER":             1,
		"DEV":                2,
		"BETA":               3,
		"STABLE":             4,
	}
)

Enum value maps for BranchFilter_Channel.

View Source
var (
	BranchFilter_Operator_name = map[int32]string{
		0: "UNDEFINED",
		1: "EQ",
		2: "GE",
		3: "LE",
	}
	BranchFilter_Operator_value = map[string]int32{
		"UNDEFINED": 0,
		"EQ":        1,
		"GE":        2,
		"LE":        3,
	}
)

Enum value maps for BranchFilter_Operator.

View Source
var File_test_platform_suite_scheduler_analytics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BranchFilter

type BranchFilter struct {
	Channel  BranchFilter_Channel  `protobuf:"varint,1,opt,name=channel,proto3,enum=test_platform.suite_scheduler.BranchFilter_Channel" json:"channel,omitempty"`
	Operator BranchFilter_Operator `` /* 127-byte string literal not displayed */
	// Number of minor versions behind tip-of-tree on channel.
	Lag int32 `protobuf:"varint,3,opt,name=lag,proto3" json:"lag,omitempty"`
	// contains filtered or unexported fields
}

BranchFilter is a combination of channel, operator and lag, e.g. a filter of the form ">=tot-2" is stated as { channel = MASTER; operator = GE; lag = 2; }; a filter of "==tot" is translated to { channel = MASTER; operator = EQ; lag = 0; }.

func (*BranchFilter) Descriptor deprecated

func (*BranchFilter) Descriptor() ([]byte, []int)

Deprecated: Use BranchFilter.ProtoReflect.Descriptor instead.

func (*BranchFilter) GetChannel

func (x *BranchFilter) GetChannel() BranchFilter_Channel

func (*BranchFilter) GetLag

func (x *BranchFilter) GetLag() int32

func (*BranchFilter) GetOperator

func (x *BranchFilter) GetOperator() BranchFilter_Operator

func (*BranchFilter) ProtoMessage

func (*BranchFilter) ProtoMessage()

func (*BranchFilter) ProtoReflect

func (x *BranchFilter) ProtoReflect() protoreflect.Message

func (*BranchFilter) Reset

func (x *BranchFilter) Reset()

func (*BranchFilter) String

func (x *BranchFilter) String() string

type BranchFilter_Channel

type BranchFilter_Channel int32
const (
	BranchFilter_BRANCH_REF_NOT_SET BranchFilter_Channel = 0
	BranchFilter_MASTER             BranchFilter_Channel = 1
	BranchFilter_DEV                BranchFilter_Channel = 2
	BranchFilter_BETA               BranchFilter_Channel = 3
	BranchFilter_STABLE             BranchFilter_Channel = 4
)

func (BranchFilter_Channel) Descriptor

func (BranchFilter_Channel) Enum

func (BranchFilter_Channel) EnumDescriptor deprecated

func (BranchFilter_Channel) EnumDescriptor() ([]byte, []int)

Deprecated: Use BranchFilter_Channel.Descriptor instead.

func (BranchFilter_Channel) Number

func (BranchFilter_Channel) String

func (x BranchFilter_Channel) String() string

func (BranchFilter_Channel) Type

type BranchFilter_Operator

type BranchFilter_Operator int32
const (
	BranchFilter_UNDEFINED BranchFilter_Operator = 0
	BranchFilter_EQ        BranchFilter_Operator = 1 // "=="
	BranchFilter_GE        BranchFilter_Operator = 2 // ">="
	BranchFilter_LE        BranchFilter_Operator = 3 // "<="
)

func (BranchFilter_Operator) Descriptor

func (BranchFilter_Operator) Enum

func (BranchFilter_Operator) EnumDescriptor deprecated

func (BranchFilter_Operator) EnumDescriptor() ([]byte, []int)

Deprecated: Use BranchFilter_Operator.Descriptor instead.

func (BranchFilter_Operator) Number

func (BranchFilter_Operator) String

func (x BranchFilter_Operator) String() string

func (BranchFilter_Operator) Type

type BuildFilters

type BuildFilters struct {

	// Use only_successful_build_required instead.
	//
	// Deprecated: Do not use.
	OnlyHwtestSanityRequired bool `` /* 138-byte string literal not displayed */
	// BranchFilter defines the target branch of the new build.
	// Note, the final result is "AND" of each single filter.
	BranchFilters []*BranchFilter `protobuf:"bytes,2,rep,name=branch_filters,json=branchFilters,proto3" json:"branch_filters,omitempty"`
	// The firmware build type, e.g., "RELEASE" or "FIRMWARE". Note,
	// in suite scheduler, "cros" = "RELEASE".
	FirmwareRoBuildSpec   chromiumos.Branch_BranchType `` /* 157-byte string literal not displayed */
	FirmwareRwBuildSpec   chromiumos.Branch_BranchType `` /* 157-byte string literal not displayed */
	FirmwareEcRoBuildSpec chromiumos.Branch_BranchType `` /* 165-byte string literal not displayed */
	FirmwareEcRwBuildSpec chromiumos.Branch_BranchType `` /* 165-byte string literal not displayed */
	// If true, use the relaxed_builds table.
	OnlySuccessfulBuildRequired bool `` /* 147-byte string literal not displayed */
	// The name of the firmware branch to use for firmware_ro_build_spec
	// and firmware_rw_build_spec is normally the derived from the board.
	// Set firmware_board_name to override this.
	FirmwareBoardName string `protobuf:"bytes,6,opt,name=firmware_board_name,json=firmwareBoardName,proto3" json:"firmware_board_name,omitempty"`
	// contains filtered or unexported fields
}

BuildFilters defines on which build to run a suite test.

func (*BuildFilters) Descriptor deprecated

func (*BuildFilters) Descriptor() ([]byte, []int)

Deprecated: Use BuildFilters.ProtoReflect.Descriptor instead.

func (*BuildFilters) GetBranchFilters

func (x *BuildFilters) GetBranchFilters() []*BranchFilter

func (*BuildFilters) GetFirmwareBoardName

func (x *BuildFilters) GetFirmwareBoardName() string

func (*BuildFilters) GetFirmwareEcRoBuildSpec

func (x *BuildFilters) GetFirmwareEcRoBuildSpec() chromiumos.Branch_BranchType

func (*BuildFilters) GetFirmwareEcRwBuildSpec

func (x *BuildFilters) GetFirmwareEcRwBuildSpec() chromiumos.Branch_BranchType

func (*BuildFilters) GetFirmwareRoBuildSpec

func (x *BuildFilters) GetFirmwareRoBuildSpec() chromiumos.Branch_BranchType

func (*BuildFilters) GetFirmwareRwBuildSpec

func (x *BuildFilters) GetFirmwareRwBuildSpec() chromiumos.Branch_BranchType

func (*BuildFilters) GetOnlyHwtestSanityRequired deprecated

func (x *BuildFilters) GetOnlyHwtestSanityRequired() bool

Deprecated: Do not use.

func (*BuildFilters) GetOnlySuccessfulBuildRequired

func (x *BuildFilters) GetOnlySuccessfulBuildRequired() bool

func (*BuildFilters) ProtoMessage

func (*BuildFilters) ProtoMessage()

func (*BuildFilters) ProtoReflect

func (x *BuildFilters) ProtoReflect() protoreflect.Message

func (*BuildFilters) Reset

func (x *BuildFilters) Reset()

func (*BuildFilters) String

func (x *BuildFilters) String() string

type BuildInfo

type BuildInfo struct {

	// The name of the build target (a.k.a. board name), e.g., "gale", "eve".
	BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// The milestone number (e.g. 73).
	Milestone uint32 `protobuf:"varint,2,opt,name=milestone,proto3" json:"milestone,omitempty"`
	// The ChromeOS version (e.g. "12240.0.0" or "").
	ChromeOsVersion string `protobuf:"bytes,3,opt,name=chrome_os_version,json=chromeOsVersion,proto3" json:"chrome_os_version,omitempty"`
	// Build type with the board name as the prefix, e.g.
	// "RELEASE" or "FIRMWARE".
	Type chromiumos.Branch_BranchType `protobuf:"varint,4,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

The build information queried from BuildBucket DB.

func (*BuildInfo) Descriptor deprecated

func (*BuildInfo) Descriptor() ([]byte, []int)

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetBuildTarget

func (x *BuildInfo) GetBuildTarget() *chromiumos.BuildTarget

func (*BuildInfo) GetChromeOsVersion

func (x *BuildInfo) GetChromeOsVersion() string

func (*BuildInfo) GetMilestone

func (x *BuildInfo) GetMilestone() uint32

func (*BuildInfo) GetType

func (x *BuildInfo) GetType() chromiumos.Branch_BranchType

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

func (x *BuildInfo) ProtoReflect() protoreflect.Message

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

type ExecutionError

type ExecutionError struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

The error message received from cros_test_platform.

func (*ExecutionError) Descriptor deprecated

func (*ExecutionError) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionError.ProtoReflect.Descriptor instead.

func (*ExecutionError) GetErrorMessage

func (x *ExecutionError) GetErrorMessage() string

func (*ExecutionError) ProtoMessage

func (*ExecutionError) ProtoMessage()

func (*ExecutionError) ProtoReflect

func (x *ExecutionError) ProtoReflect() protoreflect.Message

func (*ExecutionError) Reset

func (x *ExecutionError) Reset()

func (*ExecutionError) String

func (x *ExecutionError) String() string

type ExecutionResponse

type ExecutionResponse struct {

	// build id used in cros_test_platform.
	CtpBuildId string `protobuf:"bytes,1,opt,name=ctp_build_id,json=ctpBuildId,proto3" json:"ctp_build_id,omitempty"`
	// contains filtered or unexported fields
}

The response received from cros_test_platform.

func (*ExecutionResponse) Descriptor deprecated

func (*ExecutionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionResponse.ProtoReflect.Descriptor instead.

func (*ExecutionResponse) GetCtpBuildId

func (x *ExecutionResponse) GetCtpBuildId() string

func (*ExecutionResponse) ProtoMessage

func (*ExecutionResponse) ProtoMessage()

func (*ExecutionResponse) ProtoReflect

func (x *ExecutionResponse) ProtoReflect() protoreflect.Message

func (*ExecutionResponse) Reset

func (x *ExecutionResponse) Reset()

func (*ExecutionResponse) String

func (x *ExecutionResponse) String() string

type ExecutionTask

type ExecutionTask struct {

	// The ID used in JobResult, to track suite's execution.
	QueuedTaskId string `protobuf:"bytes,1,opt,name=queued_task_id,json=queuedTaskId,proto3" json:"queued_task_id,omitempty"`
	// The scheduling result from cros_test_platform, either a build id
	// error message.
	//
	// Types that are assignable to Result:
	//	*ExecutionTask_Response
	//	*ExecutionTask_Error
	Result isExecutionTask_Result `protobuf_oneof:"result"`
	// Request sent time in UTC.
	RequestSent *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=request_sent,json=requestSent,proto3" json:"request_sent,omitempty"`
	// The CTP request tag for grouping several ScheduleJobs into
	// a multiple CTP request.
	RequestTag string `protobuf:"bytes,5,opt,name=request_tag,json=requestTag,proto3" json:"request_tag,omitempty"`
	// contains filtered or unexported fields
}

ExecutionTask bridges suite scheduler and cros_test_platform. With it, we could track the execution reuslt for a scheduled test.

func (*ExecutionTask) Descriptor deprecated

func (*ExecutionTask) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionTask.ProtoReflect.Descriptor instead.

func (*ExecutionTask) GetError

func (x *ExecutionTask) GetError() *ExecutionError

func (*ExecutionTask) GetQueuedTaskId

func (x *ExecutionTask) GetQueuedTaskId() string

func (*ExecutionTask) GetRequestSent

func (x *ExecutionTask) GetRequestSent() *timestamppb.Timestamp

func (*ExecutionTask) GetRequestTag

func (x *ExecutionTask) GetRequestTag() string

func (*ExecutionTask) GetResponse

func (x *ExecutionTask) GetResponse() *ExecutionResponse

func (*ExecutionTask) GetResult

func (m *ExecutionTask) GetResult() isExecutionTask_Result

func (*ExecutionTask) ProtoMessage

func (*ExecutionTask) ProtoMessage()

func (*ExecutionTask) ProtoReflect

func (x *ExecutionTask) ProtoReflect() protoreflect.Message

func (*ExecutionTask) Reset

func (x *ExecutionTask) Reset()

func (*ExecutionTask) String

func (x *ExecutionTask) String() string

type ExecutionTask_Error

type ExecutionTask_Error struct {
	Error *ExecutionError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ExecutionTask_Response

type ExecutionTask_Response struct {
	Response *ExecutionResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}

type FirmwareBuildInfo

type FirmwareBuildInfo struct {

	// Board name.
	BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// Build type, "RELEASE" or "FIRMWARE". Each has different form of
	// artifacts.
	Type chromiumos.Branch_BranchType `protobuf:"varint,2,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"`
	// Relative path to the artifact file, e.g.
	// "firmware-board-12345.67.B-firmwarebranch/RFoo-1.0.0-b1e234567/board"
	// for firmware type or "board-release/R81-12766.0.0" for release type.
	Artifact *api.Artifact `protobuf:"bytes,3,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// contains filtered or unexported fields
}

The firmware build information queried from BuildBucket DB.

func (*FirmwareBuildInfo) Descriptor deprecated

func (*FirmwareBuildInfo) Descriptor() ([]byte, []int)

Deprecated: Use FirmwareBuildInfo.ProtoReflect.Descriptor instead.

func (*FirmwareBuildInfo) GetArtifact

func (x *FirmwareBuildInfo) GetArtifact() *api.Artifact

func (*FirmwareBuildInfo) GetBuildTarget

func (x *FirmwareBuildInfo) GetBuildTarget() *chromiumos.BuildTarget

func (*FirmwareBuildInfo) GetType

func (*FirmwareBuildInfo) ProtoMessage

func (*FirmwareBuildInfo) ProtoMessage()

func (*FirmwareBuildInfo) ProtoReflect

func (x *FirmwareBuildInfo) ProtoReflect() protoreflect.Message

func (*FirmwareBuildInfo) Reset

func (x *FirmwareBuildInfo) Reset()

func (*FirmwareBuildInfo) String

func (x *FirmwareBuildInfo) String() string

type ScheduleJob

type ScheduleJob struct {

	// Model.
	Model *device.ModelId `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// Board.
	BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// Types that are assignable to Result:
	//	*ScheduleJob_QueuedTaskId
	//	*ScheduleJob_Justification
	Result isScheduleJob_Result `protobuf_oneof:"result"`
	// Result generated time in UTC.
	GeneratedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"`
	// contains filtered or unexported fields
}

ScheduleJob represents the schedule result for a specific board and model.

func (*ScheduleJob) Descriptor deprecated

func (*ScheduleJob) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJob.ProtoReflect.Descriptor instead.

func (*ScheduleJob) GetBuildTarget

func (x *ScheduleJob) GetBuildTarget() *chromiumos.BuildTarget

func (*ScheduleJob) GetGeneratedTime

func (x *ScheduleJob) GetGeneratedTime() *timestamppb.Timestamp

func (*ScheduleJob) GetJustification

func (x *ScheduleJob) GetJustification() string

func (*ScheduleJob) GetModel

func (x *ScheduleJob) GetModel() *device.ModelId

func (*ScheduleJob) GetQueuedTaskId

func (x *ScheduleJob) GetQueuedTaskId() string

func (*ScheduleJob) GetResult

func (m *ScheduleJob) GetResult() isScheduleJob_Result

func (*ScheduleJob) ProtoMessage

func (*ScheduleJob) ProtoMessage()

func (*ScheduleJob) ProtoReflect

func (x *ScheduleJob) ProtoReflect() protoreflect.Message

func (*ScheduleJob) Reset

func (x *ScheduleJob) Reset()

func (*ScheduleJob) String

func (x *ScheduleJob) String() string

type ScheduleJobSection

type ScheduleJobSection struct {

	// job_name is the name of a schedule request defined in config,
	// e.g. “CrosAVAnalysis”.
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// Trigger to run jobs under this section.
	ScheduleJobTrigger *ScheduleJobTrigger `protobuf:"bytes,2,opt,name=schedule_job_trigger,json=scheduleJobTrigger,proto3" json:"schedule_job_trigger,omitempty"`
	// Specific models to run this suite.
	Models []*device.ModelId `protobuf:"bytes,3,rep,name=models,proto3" json:"models,omitempty"`
	// Specific boards to run this suite.
	BuildTargets  []*chromiumos.BuildTarget          `protobuf:"bytes,4,rep,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"`
	MatchedBuilds []*ScheduleJobSection_MatchedBuild `protobuf:"bytes,5,rep,name=matched_builds,json=matchedBuilds,proto3" json:"matched_builds,omitempty"`
	// Jobs in this section.
	ScheduleJobs []*ScheduleJob `protobuf:"bytes,6,rep,name=schedule_jobs,json=scheduleJobs,proto3" json:"schedule_jobs,omitempty"`
	// The pool to run jobs in this section.
	Pool string `protobuf:"bytes,7,opt,name=pool,proto3" json:"pool,omitempty"`
	// The suite name this section to execute.
	Suite string `protobuf:"bytes,8,opt,name=suite,proto3" json:"suite,omitempty"`
	// contains filtered or unexported fields
}

ScheduleJobSection represents a schedule request configured in suite_scheduler.ini. Varying boards and models, a job section can have multiple suite tests scheduled.

func (*ScheduleJobSection) Descriptor deprecated

func (*ScheduleJobSection) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJobSection.ProtoReflect.Descriptor instead.

func (*ScheduleJobSection) GetBuildTargets

func (x *ScheduleJobSection) GetBuildTargets() []*chromiumos.BuildTarget

func (*ScheduleJobSection) GetJobName

func (x *ScheduleJobSection) GetJobName() string

func (*ScheduleJobSection) GetMatchedBuilds

func (x *ScheduleJobSection) GetMatchedBuilds() []*ScheduleJobSection_MatchedBuild

func (*ScheduleJobSection) GetModels

func (x *ScheduleJobSection) GetModels() []*device.ModelId

func (*ScheduleJobSection) GetPool

func (x *ScheduleJobSection) GetPool() string

func (*ScheduleJobSection) GetScheduleJobTrigger

func (x *ScheduleJobSection) GetScheduleJobTrigger() *ScheduleJobTrigger

func (*ScheduleJobSection) GetScheduleJobs

func (x *ScheduleJobSection) GetScheduleJobs() []*ScheduleJob

func (*ScheduleJobSection) GetSuite

func (x *ScheduleJobSection) GetSuite() string

func (*ScheduleJobSection) ProtoMessage

func (*ScheduleJobSection) ProtoMessage()

func (*ScheduleJobSection) ProtoReflect

func (x *ScheduleJobSection) ProtoReflect() protoreflect.Message

func (*ScheduleJobSection) Reset

func (x *ScheduleJobSection) Reset()

func (*ScheduleJobSection) String

func (x *ScheduleJobSection) String() string

type ScheduleJobSection_MatchedBuild

type ScheduleJobSection_MatchedBuild struct {

	// Types that are assignable to CrosBuild:
	//	*ScheduleJobSection_MatchedBuild_ReleaseBuild
	//	*ScheduleJobSection_MatchedBuild_RelaxBuild
	//	*ScheduleJobSection_MatchedBuild_FirmwareRoBuild
	//	*ScheduleJobSection_MatchedBuild_FirmwareRwBuild
	//	*ScheduleJobSection_MatchedBuild_FirmwareEcRoBuild
	//	*ScheduleJobSection_MatchedBuild_FirmwareEcRwBuild
	CrosBuild isScheduleJobSection_MatchedBuild_CrosBuild `protobuf_oneof:"cros_build"`
	// contains filtered or unexported fields
}

The build matched with this job section on BuildTarget and BuildFilters.

func (*ScheduleJobSection_MatchedBuild) Descriptor deprecated

func (*ScheduleJobSection_MatchedBuild) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJobSection_MatchedBuild.ProtoReflect.Descriptor instead.

func (*ScheduleJobSection_MatchedBuild) GetCrosBuild

func (m *ScheduleJobSection_MatchedBuild) GetCrosBuild() isScheduleJobSection_MatchedBuild_CrosBuild

func (*ScheduleJobSection_MatchedBuild) GetFirmwareEcRoBuild

func (x *ScheduleJobSection_MatchedBuild) GetFirmwareEcRoBuild() *FirmwareBuildInfo

func (*ScheduleJobSection_MatchedBuild) GetFirmwareEcRwBuild

func (x *ScheduleJobSection_MatchedBuild) GetFirmwareEcRwBuild() *FirmwareBuildInfo

func (*ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild

func (x *ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild() *FirmwareBuildInfo

func (*ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild

func (x *ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild() *FirmwareBuildInfo

func (*ScheduleJobSection_MatchedBuild) GetRelaxBuild

func (x *ScheduleJobSection_MatchedBuild) GetRelaxBuild() *BuildInfo

func (*ScheduleJobSection_MatchedBuild) GetReleaseBuild

func (x *ScheduleJobSection_MatchedBuild) GetReleaseBuild() *BuildInfo

func (*ScheduleJobSection_MatchedBuild) ProtoMessage

func (*ScheduleJobSection_MatchedBuild) ProtoMessage()

func (*ScheduleJobSection_MatchedBuild) ProtoReflect

func (*ScheduleJobSection_MatchedBuild) Reset

func (*ScheduleJobSection_MatchedBuild) String

type ScheduleJobSection_MatchedBuild_FirmwareEcRoBuild

type ScheduleJobSection_MatchedBuild_FirmwareEcRoBuild struct {
	FirmwareEcRoBuild *FirmwareBuildInfo `protobuf:"bytes,5,opt,name=firmware_ec_ro_build,json=firmwareEcRoBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_FirmwareEcRwBuild

type ScheduleJobSection_MatchedBuild_FirmwareEcRwBuild struct {
	FirmwareEcRwBuild *FirmwareBuildInfo `protobuf:"bytes,6,opt,name=firmware_ec_rw_build,json=firmwareEcRwBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_FirmwareRoBuild

type ScheduleJobSection_MatchedBuild_FirmwareRoBuild struct {
	// The firmware build information.
	FirmwareRoBuild *FirmwareBuildInfo `protobuf:"bytes,3,opt,name=firmware_ro_build,json=firmwareRoBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_FirmwareRwBuild

type ScheduleJobSection_MatchedBuild_FirmwareRwBuild struct {
	FirmwareRwBuild *FirmwareBuildInfo `protobuf:"bytes,4,opt,name=firmware_rw_build,json=firmwareRwBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_RelaxBuild

type ScheduleJobSection_MatchedBuild_RelaxBuild struct {
	// relax_builds are the builds failed but met the relaxed success
	// requirement. Relax builds are for the suite job configured
	// "only_successful_build_required: True".
	RelaxBuild *BuildInfo `protobuf:"bytes,2,opt,name=relax_build,json=relaxBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_ReleaseBuild

type ScheduleJobSection_MatchedBuild_ReleaseBuild struct {
	// The release build information.
	ReleaseBuild *BuildInfo `protobuf:"bytes,1,opt,name=release_build,json=releaseBuild,proto3,oneof"`
}

type ScheduleJobTrigger

type ScheduleJobTrigger struct {

	// Types that are assignable to Trigger:
	//	*ScheduleJobTrigger_Weekly
	//	*ScheduleJobTrigger_Nightly
	//	*ScheduleJobTrigger_Interval
	Trigger      isScheduleJobTrigger_Trigger `protobuf_oneof:"trigger"`
	BuildFilters *BuildFilters                `protobuf:"bytes,4,opt,name=build_filters,json=buildFilters,proto3" json:"build_filters,omitempty"`
	// contains filtered or unexported fields
}

ScheduleJobTrigger defines the trigger to kick off a suite test.

func (*ScheduleJobTrigger) Descriptor deprecated

func (*ScheduleJobTrigger) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJobTrigger.ProtoReflect.Descriptor instead.

func (*ScheduleJobTrigger) GetBuildFilters

func (x *ScheduleJobTrigger) GetBuildFilters() *BuildFilters

func (*ScheduleJobTrigger) GetInterval

func (*ScheduleJobTrigger) GetNightly

func (*ScheduleJobTrigger) GetTrigger

func (m *ScheduleJobTrigger) GetTrigger() isScheduleJobTrigger_Trigger

func (*ScheduleJobTrigger) GetWeekly

func (*ScheduleJobTrigger) ProtoMessage

func (*ScheduleJobTrigger) ProtoMessage()

func (*ScheduleJobTrigger) ProtoReflect

func (x *ScheduleJobTrigger) ProtoReflect() protoreflect.Message

func (*ScheduleJobTrigger) Reset

func (x *ScheduleJobTrigger) Reset()

func (*ScheduleJobTrigger) String

func (x *ScheduleJobTrigger) String() string

type ScheduleJobTrigger_Interval

type ScheduleJobTrigger_Interval struct {
	// TODO: This feature is not implemented to suite scheduler yet. So
	// if IntervalTrigger is configured, pause should be zero all the time.
	Interval *ScheduleJobTrigger_IntervalTrigger `protobuf:"bytes,3,opt,name=interval,proto3,oneof"`
}

type ScheduleJobTrigger_IntervalTrigger

type ScheduleJobTrigger_IntervalTrigger struct {

	// pause represents the number of times scheduler skips this job
	// once the job completed. If pause is zero, we pick this job
	// whenever scheduler is kicked off.
	Pause uint32 `protobuf:"varint,1,opt,name=pause,proto3" json:"pause,omitempty"`
	// contains filtered or unexported fields
}

IntervalTrigger is for the suite test running every N times the scheduler operates.

func (*ScheduleJobTrigger_IntervalTrigger) Descriptor deprecated

func (*ScheduleJobTrigger_IntervalTrigger) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJobTrigger_IntervalTrigger.ProtoReflect.Descriptor instead.

func (*ScheduleJobTrigger_IntervalTrigger) GetPause

func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage

func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage()

func (*ScheduleJobTrigger_IntervalTrigger) ProtoReflect

func (*ScheduleJobTrigger_IntervalTrigger) Reset

func (*ScheduleJobTrigger_IntervalTrigger) String

type ScheduleJobTrigger_Nightly

type ScheduleJobTrigger_Nightly struct {
	Nightly *ScheduleJobTrigger_NightlyTrigger `protobuf:"bytes,2,opt,name=nightly,proto3,oneof"`
}

type ScheduleJobTrigger_NightlyTrigger

type ScheduleJobTrigger_NightlyTrigger struct {
	Hour uint32 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
	// contains filtered or unexported fields
}

NightlyTrigger is for the suite test running every day. "hour" is from 0 to 23.

func (*ScheduleJobTrigger_NightlyTrigger) Descriptor deprecated

func (*ScheduleJobTrigger_NightlyTrigger) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJobTrigger_NightlyTrigger.ProtoReflect.Descriptor instead.

func (*ScheduleJobTrigger_NightlyTrigger) GetHour

func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage

func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage()

func (*ScheduleJobTrigger_NightlyTrigger) ProtoReflect

func (*ScheduleJobTrigger_NightlyTrigger) Reset

func (*ScheduleJobTrigger_NightlyTrigger) String

type ScheduleJobTrigger_Weekly

type ScheduleJobTrigger_Weekly struct {
	Weekly *ScheduleJobTrigger_WeeklyTrigger `protobuf:"bytes,1,opt,name=weekly,proto3,oneof"`
}

type ScheduleJobTrigger_WeeklyTrigger

type ScheduleJobTrigger_WeeklyTrigger struct {
	Day uint32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
	// contains filtered or unexported fields
}

WeeklyTrigger is for the suite test running every week. "day" is from 0 to 6.

func (*ScheduleJobTrigger_WeeklyTrigger) Descriptor deprecated

func (*ScheduleJobTrigger_WeeklyTrigger) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleJobTrigger_WeeklyTrigger.ProtoReflect.Descriptor instead.

func (*ScheduleJobTrigger_WeeklyTrigger) GetDay

func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage

func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage()

func (*ScheduleJobTrigger_WeeklyTrigger) ProtoReflect

func (*ScheduleJobTrigger_WeeklyTrigger) Reset

func (*ScheduleJobTrigger_WeeklyTrigger) String

type ScheduleJob_Justification

type ScheduleJob_Justification struct {
	// If the job failed to schedule a suite test, clarify the reason.
	Justification string `protobuf:"bytes,4,opt,name=justification,proto3,oneof"`
}

type ScheduleJob_QueuedTaskId

type ScheduleJob_QueuedTaskId struct {
	// If this job qualifies to kick off a suite test, suite scheduler
	// creates a task to the task-queue and assigns an ID for tracking
	// the execution.
	QueuedTaskId string `protobuf:"bytes,3,opt,name=queued_task_id,json=queuedTaskId,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL