Dagger
Search

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
NameTypeDefault ValueDescription
deviceSpecStringKind !-No description provided
targetStringKind !-No description provided
contextDirDirectory !-No description provided
imageRefStringKind -No description provided
pushBooleanKind -No description provided
appendManifestBooleanKind -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
NameTypeDefault ValueDescription
firmwareFile !-No description provided
deviceSpecStringKind !-No description provided
targetStringKind !-No description provided
bringContextDirectory !-No description provided
appendManifestBooleanKind -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)
}