ci
No long description provided.
Installation
dagger install github.com/dagger/dagger/toolchains/ci@5c2578ff4c49f0d7127634d7553207738c6ec5b2Entrypoint
Return Type
Ci ! Example
dagger -m github.com/dagger/dagger/toolchains/ci@5c2578ff4c49f0d7127634d7553207738c6ec5b2 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()
}