bmbuildkit
No long description provided.
Installation
dagger install github.com/BondMachineHQ/BMBuildkit-dagger@1fb7648617bdb35c87f0e24fde4aeeaf91d95266
Entrypoint
Return Type
Bmbuildkit
Example
dagger -m github.com/BondMachineHQ/BMBuildkit-dagger@1fb7648617bdb35c87f0e24fde4aeeaf91d95266 call \
func (m *myModule) example() *Bmbuildkit {
return dag.
Bmbuildkit()
}
@function
def example() -> dag.Bmbuildkit:
return (
dag.bmbuildkit()
)
@func()
example(): Bmbuildkit {
return dag
.bmbuildkit()
}
Types
Bmbuildkit 🔗
build() 🔗
example usage: “dagger call build –device-spec lattice/ice40/yosys –target dciangot/my_fpga_firmware:v1 –context ./examples/blinky/ice40 “
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
deviceSpec | StringKind ! | - | No description provided |
target | StringKind ! | - | No description provided |
contextDir | Directory ! | - | No description provided |
imageRef | StringKind | - | No description provided |
push | BooleanKind | - | No description provided |
appendManifest | BooleanKind | - | No description provided |
Example
dagger -m github.com/BondMachineHQ/BMBuildkit-dagger@1fb7648617bdb35c87f0e24fde4aeeaf91d95266 call \
build
func (m *myModule) example(deviceSpec , target , contextDir ) {
return dag.
Bmbuildkit().
Build(deviceSpec, target, contextDir)
}
@function
def example(device_spec: , target: , context_dir: ) -> :
return (
dag.bmbuildkit()
.build(device_spec, target, context_dir)
)
@func()
example(deviceSpec: , target: , contextDir: ): {
return dag
.bmbuildkit()
.build(deviceSpec, target, contextDir)
}
push() 🔗
example usage: “dagger call push –target dciangot/my_fpga_firmware:v1 –firmware ./examples/blinky/ice40/firmware.bin –bring-context ./examples/blinky/ice40 –device-spec lattice/ice40/yosys”
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
firmware | File ! | - | No description provided |
deviceSpec | StringKind ! | - | No description provided |
target | StringKind ! | - | No description provided |
bringContext | Directory ! | - | No description provided |
appendManifest | BooleanKind | - | No description provided |
Example
dagger -m github.com/BondMachineHQ/BMBuildkit-dagger@1fb7648617bdb35c87f0e24fde4aeeaf91d95266 call \
push
func (m *myModule) example(firmware , deviceSpec , target , bringContext ) {
return dag.
Bmbuildkit().
Push(firmware, deviceSpec, target, bringContext)
}
@function
def example(firmware: , device_spec: , target: , bring_context: ) -> :
return (
dag.bmbuildkit()
.push(firmware, device_spec, target, bring_context)
)
@func()
example(firmware: , deviceSpec: , target: , bringContext: ): {
return dag
.bmbuildkit()
.push(firmware, deviceSpec, target, bringContext)
}