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