spin
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/spin-pipeline@407654d31abefc209aec1218c6d02d4d3f8ef71c
Entrypoint
Return Type
Spin
Example
dagger -m github.com/fluent-ci-templates/spin-pipeline@407654d31abefc209aec1218c6d02d4d3f8ef71c call \
func (m *myModule) example() *Spin {
return dag.
Spin()
}
@function
def example() -> dag.Spin:
return (
dag.spin()
)
@func()
example(): Spin {
return dag
.spin()
}
Types
Spin 🔗
build() 🔗
Build your application (only Rust is supported at the moment)
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/spin-pipeline@407654d31abefc209aec1218c6d02d4d3f8ef71c call \
build
func (m *myModule) example() {
return dag.
Spin().
Build()
}
@function
def example() -> :
return (
dag.spin()
.build()
)
@func()
example(): {
return dag
.spin()
.build()
}
deploy() 🔗
Package and upload your application to the Fermyon Cloud
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
cachePath | StringKind | - | No description provided |
cacheKey | StringKind | - | No description provided |
authToken | Secret | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/spin-pipeline@407654d31abefc209aec1218c6d02d4d3f8ef71c call \
deploy
func (m *myModule) example() {
return dag.
Spin().
Deploy()
}
@function
def example() -> :
return (
dag.spin()
.deploy()
)
@func()
example(): {
return dag
.spin()
.deploy()
}