package
0.0.0-20250308170929-48bd8ed27534
Repository: https://github.com/evergreen-ci/evergreen.git
Documentation: pkg.go.dev
# Functions
CreateAndEnqueueGenerateTasks enqueues a generate.tasks job for each task.
DisableAndNotifyPoisonedHost disables an unhealthy host so that it cannot run any more tasks, clears any tasks that have been stranded on it, and enqueues a job to notify that a host was disabled.
No description provided by the author
EnqueueHostReprovisioningJob enqueues a job to reprovision a host.
EnqueueSpawnHostModificationJob enqueues a job to modify a spawn host.
EnqueueTerminateHostJob enqueues a job to terminate a host.
GetGithubTokensForTask returns a read-only token for owner/repo associated with the task and a read-only token for each module associated with the task.
No description provided by the author
No description provided by the author
NewAgentMonitorDeployJob creates a job that deploys the agent monitor to the host.
No description provided by the author
No description provided by the author
NewCheckBlockedTasksJob creates a job to audit the dependency state for tasks in the task queues.
NewCloudCleanupJob returns a job to call the cloud manager's Cleanup method for the given Provider and Region.
NewCloudHostReadyJob checks the cloud instance status for all hosts created by cloud providers when the instance is not yet ready to be used (e.g.
NewCloudUpdateSSHKeysJob updates the SSH keys available for a single region in the given cloud provider.
NewContainerSecretCleanupJob creates a job that cleans up stranded container secrets that are not tracked by Evergreen.
NewConvertHostToLegacyProvisioningJob converts a host from a legacy provisioned host to a non-legacy provisioned host.
NewConvertHostToNewProvisioningJob converts a host from a legacy provisioned host to a non-legacy provisioned host.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDecoHostNotifyJob notifies the relevant team that a host has been decommissioned/quarantined and needs investigation.
No description provided by the author
No description provided by the author
NewDuplicateTaskCheckJob checks for any tasks that appear in multiple primary task queues.
No description provided by the author
No description provided by the author
NewGenerateTasksJob returns a job that dynamically updates the project configuration based on the given task's generate.tasks configuration.
NewGithubStatusRefreshJob is a job that re-sends github statuses to the PR associated with the given patch.
NewGithubStatusUpdateJobForExternalPatch prompts on Github for a user to manually authorize this patch.
NewGithubStatusUpdateJobForNewPatch creates a job to update github's API for a newly created patch, reporting it as pending, with description "preparing to run tasks".
NewGithubStatusUpdateJobForProcessingError marks a ref as failed because the evergreen encountered an error creating a patch.
NewGithubStatusUpdateJobWithSuccessMessage creates a job to send a passing status to Github with a message.
No description provided by the author
No description provided by the author
No description provided by the author
NewHostExecuteJob creates a job that executes a script on the host.
No description provided by the author
NewHostMonitoringCheckJob checks if an unresponsive host is healthy or not.
NewHostSetupScriptJob creates a job that executes the spawn host's setup script after task data is loaded onto the host.
NewHostStatsCollector logs statistics about host utilization per distro to the default grip logger.
No description provided by the author
No description provided by the author
No description provided by the author
NewJasperManagerCleanup reports basic system information and a report of the go runtime information, as provided by grip.
No description provided by the author
NewLocalAmboyStatsCollector reports the status of only the local queue registered in the evergreen service Environment.
NewLocalUpdateSSHKeysJob updates the SSH key files locally.
No description provided by the author
No description provided by the author
No description provided by the author
NewPatchIntentProcessor creates an amboy job to create a patch from the given patch intent.
No description provided by the author
NewPodAllocatorJob returns a job to allocate a pod for the given task ID.
NewPodCreationJob creates a job that starts the pod in the container service.
NewPodDefinitionCleanupJob creates a job that cleans up pod definitions that have not been used recently.
NewPodDefinitionCreationJob creates a job that creates a pod definition in preparation for running a pod.
NewPodHealthCheckJob creates a job to check the health of the pod according to the cloud provider.
NewPodStatsCollector logs statistics about current pod usage.
NewPodTerminationJob creates a job to terminate the given pod with the given termination reason.
No description provided by the author
NewReauthorizeUserJob returns a job that attempts to reauthorize the given user.
NewRemoteAmboyStatsCollector reports the status of only the remote queue registered in the evergreen service Environment.
NewRepotrackerJob creates a job to run repotracker against a repository.
NewRestartJasperJob creates a job that restarts an existing Jasper service with new credentials.
NewSetupHostJob creates a job that performs any additional provisioning for a host to prepare it to run.
NewSleepSchedulerJob creates a job to manage unexpirable host sleep schedules.
No description provided by the author
No description provided by the author
No description provided by the author
NewSpawnhostStartJob returns a job to start a stopped spawn host.
NewSpawnhostStopJob returns a job to stop a running spawn host.
NewSpawnHostTerminationJob returns a job to terminate a spawn host.
NewStaticUpdateSSHKeysJob updates the SSH keys for a static host.
NewStrandedTaskCleanupJob returns a job to detect and clean up tasks that: - Have been stranded on hosts that are already terminated.
NewSysInfoStatsCollector reports basic system information and a report of the go runtime information, as provided by grip.
NewTaskExecutionMonitorJob returns a job to check if a running task has failed to send a heartbeat recently.
NewTaskExecutionMonitorPopulateJob returns a job to populate the queue with jobs to check for stale tasks.
NewTasksRestartJob creates a job to restart failed tasks in a time range.
NewTaskStatsCollector captures a single report of the status of tasks that have completed in the last minute.
NewUnexpirableSpawnHostStatsJob returns a job to collect estimated statistics on unexpirable spawn host usage.
NewUserDataDoneJob creates a job that checks if the host is done provisioning with user data (if bootstrapped with user data).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PopulateCloudCleanupJob returns a QueueOperation to enqueue a CloudCleanup job for Fleet in the default EC2 region.
No description provided by the author
PopulateHostProvisioningConversionJobs enqueues the jobs to convert the host provisioning type.
PopulateHostRestartJasperJobs enqueues the jobs to restart the Jasper service on the host.
PopulateHostStatJobs adds host stats jobs.
No description provided by the author
No description provided by the author
PopulatePodHealthCheckJobs enqueues the jobs to check pods that have not checked in recently to determine if they are still healthy.
PopulatePodResourceCleanupJobs populates the jobs to clean up pod resources.
No description provided by the author
No description provided by the author
PopulateSSHKeyUpdates updates the remote SSH keys in the cloud providers and static hosts.
No description provided by the author
PopulateUnexpirableSpawnHostStatsJob populates jobs to collect statistics on unexpirable spawn host usage.
PopulateUnstickVolumesJob looks for volumes that are marked as attached to terminated hosts in our DB, and enqueues jobs to mark them unattached.
No description provided by the author
No description provided by the author
No description provided by the author
SchedulePatch schedules a patch.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GitHub intent processing errors.
No description provided by the author
No description provided by the author
# Structs
CloudHostModification is a helper to perform cloud manager operations on a single host.
No description provided by the author
HostTerminationOptions represent options to control how a host is terminated.
SpawnHostModifyJobOptions represents common options for creating spawn host modification jobs.