Package-level declarations

Types

Link copied to clipboard
private object BasicScenarios
Link copied to clipboard

Runner to execute a pipeline on docker and generates a ReportT

Properties

Link copied to clipboard
private val LOGGER: Logger

Functions

Link copied to clipboard
suspend fun main()
Link copied to clipboard
private suspend fun runGenericPipeline(runner: Runner)

Executes a runner with the context, complete with automatic resource management.

private suspend fun runGenericPipeline(runner: Runner, context: Runner.Context): Runner
Link copied to clipboard
private suspend fun runGpuPipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner

Same as runNoDepsPipeline, but instead runs the pipeline with a specified GPU attached to it.

Link copied to clipboard
private suspend fun runNoDepsPipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner

Runs the given pipeline with the given envContext, configured to run on a host without the necessary files or directories.

Link copied to clipboard
private suspend fun runRemotePipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner

Runs the given pipeline with the given envContext, configured to run remotely on the zinc-dev server.

Link copied to clipboard
private suspend fun runTestfilesPipeline(yamlInStream: InputStream, assignmentConfigId: Long, submissionId: Long, isTASubmission: Boolean = false): Runner

private suspend fun runTestfilesPipeline(yamlInStream: InputStream, assignmentConfigId: Long, submissionId: String, isTASubmission: Boolean = false): Runner

Runs a pipeline created from parsing the configuration of yamlInStream, using files from assignmentConfigId and submissionId as its input.