BasicScenarios

private object BasicScenarios

Functions

Link copied to clipboard
suspend fun pruneZincImages(dispatcher: CoroutineDispatcher): Job

A scenario which prunes all local ZINC images.

Link copied to clipboard
suspend fun testDockerImageName(dispatcher: CoroutineDispatcher, envContext: DockerContext = DockerContext()): Job

A scenario which tests whether a pipeline stage with dynamic Dockerfile spec have different tags.

Link copied to clipboard
suspend fun testDockerPullImage(dispatcher: CoroutineDispatcher): Job

A scenario which tests pulling an image from the Docker Hub.

Link copied to clipboard
suspend fun testRunnerReservation(dispatcher: CoroutineDispatcher, envContext: DockerContext)

A scenario which tests runners with specific resource reservations.

Link copied to clipboard
suspend fun testSimplePipeline(dispatcher: CoroutineDispatcher, coroutineBlock: suspend CoroutineScope.() -> Unit)

A scenario which tests a single pipeline.

Link copied to clipboard
suspend fun testSimulRunners(dispatcher: CoroutineDispatcher, nRunners: Int, coroutineBlock: suspend CoroutineScope.(Int) -> Runner)

A scenario which tests running homogeneous tasks.