ci
No long description provided.
Installation
dagger install github.com/dagger/dagger/toolchains/ci@a634c98316a06bba3f44685f2156572a70ba38c4Entrypoint
Return Type
Ci ! Example
dagger -m github.com/dagger/dagger/toolchains/ci@a634c98316a06bba3f44685f2156572a70ba38c4 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
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Workspace | - | 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()
}