Dagger
Search

ci

No long description provided.

Installation

dagger install github.com/dagger/dagger/toolchains/ci@170cd53faa2a23b174d7e94b494e71643ebb9952

Entrypoint

Return Type
Ci !
Example
dagger -m github.com/dagger/dagger/toolchains/ci@170cd53faa2a23b174d7e94b494e71643ebb9952 call \
func (m *MyModule) Example() *dagger.Ci  {
	return dag.
			Ci()
}
@function
def example() -> dagger.Ci:
	return (
		dag.ci()
	)
@func()
example(): Ci {
	return dag
		.ci()
}

Types

Ci 🔗

"CI in CI": check that Dagger can still run its own CI

bootstrap() 🔗

Build dagger from source, and check that it can bootstrap its own CI

Note: this doesn’t actually call all CI checks: only a small subset, selected for maximum coverage of Dagger features with limited compute expenditure. The actual checks being performed is an implementation detail, and should NOT be relied on. In other words, don’t skip running just because it happens to be run here!

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
sourceWorkspace -The Dagger repository to run CI against
checks[String ! ] -Which checks to run
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			Ci().
			Bootstrap(ctx)
}
@function
async def example() -> None:
	return await (
		dag.ci()
		.bootstrap()
	)
@func()
async example(): Promise<void> {
	return dag
		.ci()
		.bootstrap()
}