stereOS
Provides CI functions for the stereOS flake.Installation
dagger install github.com/papercomputeco/stereOS@a50f50f39e0526837cd224eb228d3a84dcc32723Entrypoint
Return Type
StereOs !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | Directory of the flake's source |
Example
dagger -m github.com/papercomputeco/stereOS@a50f50f39e0526837cd224eb228d3a84dcc32723 call \
func (m *MyModule) Example() *dagger.StereOs {
return dag.
StereOS()
}@function
def example() -> dagger.StereOs:
return (
dag.stere_o_s()
)@func()
example(): StereOs {
return dag
.stereOS()
}Types
StereOs 🔗
source() 🔗
Return Type
Directory ! Example
dagger -m github.com/papercomputeco/stereOS@a50f50f39e0526837cd224eb228d3a84dcc32723 call \
sourcefunc (m *MyModule) Example() *dagger.Directory {
return dag.
StereOS().
Source()
}@function
def example() -> dagger.Directory:
return (
dag.stere_o_s()
.source()
)@func()
example(): Directory {
return dag
.stereOS()
.source()
}checkDevshell() 🔗
CheckDevshell verifies that the Nix devshell evaluates and enters successfully inside a NixOS container. It mounts the flake source, runs “nix develop”, and checks that the shell’s tools are available.
Return Type
String ! Example
dagger -m github.com/papercomputeco/stereOS@a50f50f39e0526837cd224eb228d3a84dcc32723 call \
check-devshellfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
StereOS().
CheckDevshell(ctx)
}@function
async def example() -> str:
return await (
dag.stere_o_s()
.check_devshell()
)@func()
async example(): Promise<string> {
return dag
.stereOS()
.checkDevshell()
}