encircle
A module that attempts to parse and execute a CircleCI configurationusing Dagger primitives
Installation
dagger install github.com/kpenfound/dagger-modules/encircle@v0.1.0
Entrypoint
Return Type
Encircle
Example
dagger -m github.com/kpenfound/dagger-modules/encircle@677b8b494b98eb16736562a78a84fb44bf950fd7 call \
func (m *myModule) example() *Encircle {
return dag.
Encircle()
}
@function
def example() -> dag.Encircle:
return (
dag.encircle()
)
@func()
example(): Encircle {
return dag
.encircle()
}
Types
Encircle 🔗
encircleJob() 🔗
Execute a job in a workflow
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
d | Directory ! | - | No description provided |
job | String ! | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/encircle@677b8b494b98eb16736562a78a84fb44bf950fd7 call \
encircle-job --d DIR_PATH --job string
func (m *myModule) example(ctx context.Context, d *Directory, job string) string {
return dag.
Encircle().
EncircleJob(ctx, d, job)
}
@function
async def example(d: dagger.Directory, job: str) -> str:
return await (
dag.encircle()
.encircle_job(d, job)
)
@func()
async example(d: Directory, job: string): Promise<string> {
return dag
.encircle()
.encircleJob(d, job)
}
encircleWorkflow() 🔗
Execute an entire workflow
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
d | Directory ! | - | No description provided |
workflow | String ! | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/encircle@677b8b494b98eb16736562a78a84fb44bf950fd7 call \
encircle-workflow --d DIR_PATH --workflow string
func (m *myModule) example(ctx context.Context, d *Directory, workflow string) string {
return dag.
Encircle().
EncircleWorkflow(ctx, d, workflow)
}
@function
async def example(d: dagger.Directory, workflow: str) -> str:
return await (
dag.encircle()
.encircle_workflow(d, workflow)
)
@func()
async example(d: Directory, workflow: string): Promise<string> {
return dag
.encircle()
.encircleWorkflow(d, workflow)
}