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