actions-sandbox-3
No long description provided.
Installation
dagger install github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8Entrypoint
Return Type
ActionsSandbox3 !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| sourceDir | Directory ! | - | No description provided |
| defaultTemplatesDir | Directory | - | No description provided |
| token | Secret | - | No description provided |
| nunjucksConfigJson | String | - | No description provided |
| nunjucksContextMetadataKey | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATHfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.ActionsSandbox3 {
return dag.
Actionssandbox3(sourceDir)
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.ActionsSandbox3:
return (
dag.actions_sandbox_3(sourcedir)
)@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
}Types
ActionsSandbox3 🔗
withNunjucksContext() 🔗
Return Type
ActionsSandbox3 !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| inputKey | String | - | No description provided |
| outputKey | String | - | No description provided |
| dataUrl | String | - | No description provided |
| dataFile | File | - | No description provided |
| dataJson | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH with-nunjucks-contextfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.ActionsSandbox3 {
return dag.
Actionssandbox3(sourceDir).
Withnunjuckscontext()
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.ActionsSandbox3:
return (
dag.actions_sandbox_3(sourcedir)
.withnunjuckscontext()
)@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
.withNunjucksContext()
}withNunjucksContextFromGithub() 🔗
Return Type
ActionsSandbox3 !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| repoOwner | String | - | No description provided |
| repoName | String | - | No description provided |
| apiBaseUrl | String | - | No description provided |
| githubContextJson | String | - | No description provided |
| envContextJson | String | - | No description provided |
| varsContextJson | String | - | No description provided |
| jobContextJson | String | - | No description provided |
| jobsContextJson | String | - | No description provided |
| stepsContextJson | String | - | No description provided |
| runnerContextJson | String | - | No description provided |
| secretsContextJson | String | - | No description provided |
| strategyContextJson | String | - | No description provided |
| matrixContextJson | String | - | No description provided |
| needsContextJson | String | - | No description provided |
| inputsContextJson | String | - | No description provided |
| githubContextSecret | Secret | - | No description provided |
| envContextSecret | Secret | - | No description provided |
| varsContextSecret | Secret | - | No description provided |
| jobContextSecret | Secret | - | No description provided |
| jobsContextSecret | Secret | - | No description provided |
| stepsContextSecret | Secret | - | No description provided |
| runnerContextSecret | Secret | - | No description provided |
| secretsContextSecret | Secret | - | No description provided |
| strategyContextSecret | Secret | - | No description provided |
| matrixContextSecret | Secret | - | No description provided |
| needsContextSecret | Secret | - | No description provided |
| inputsContextSecret | Secret | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH with-nunjucks-context-from-githubfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.ActionsSandbox3 {
return dag.
Actionssandbox3(sourceDir).
Withnunjuckscontextfromgithub()
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.ActionsSandbox3:
return (
dag.actions_sandbox_3(sourcedir)
.withnunjuckscontextfromgithub()
)@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
.withNunjucksContextFromGithub()
}buildDocs() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| withPaths | [String ! ] | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH build-docsfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.Directory {
return dag.
Actionssandbox3(sourceDir).
Builddocs()
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.Directory:
return (
dag.actions_sandbox_3(sourcedir)
.builddocs()
)@func()
example(sourceDir: Directory, ): Directory {
return dag
.actionsSandbox3(sourceDir)
.buildDocs()
}withCommitConfig() 🔗
Return Type
ActionsSandbox3 !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| authorName | String | - | No description provided |
| authorEmail | String | - | No description provided |
| committerName | String | - | No description provided |
| committerEmail | String | - | No description provided |
| message | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH with-commit-configfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.ActionsSandbox3 {
return dag.
Actionssandbox3(sourceDir).
Withcommitconfig()
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.ActionsSandbox3:
return (
dag.actions_sandbox_3(sourcedir)
.withcommitconfig()
)@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
.withCommitConfig()
}buildAndCommitDocs() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| withPaths | [String ! ] | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH build-and-commit-docsfunc (m *MyModule) Example(ctx context.Context, sourceDir *dagger.Directory) string {
return dag.
Actionssandbox3(sourceDir).
Buildandcommitdocs(ctx)
}@function
async def example(sourcedir: dagger.Directory, ) -> str:
return await (
dag.actions_sandbox_3(sourcedir)
.buildandcommitdocs()
)@func()
async example(sourceDir: Directory, ): Promise<string> {
return dag
.actionsSandbox3(sourceDir)
.buildAndCommitDocs()
}commitChanges() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| buildDir | Directory ! | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH commit-changes --build-dir DIR_PATHfunc (m *MyModule) Example(ctx context.Context, sourceDir *dagger.Directory, buildDir *dagger.Directory) string {
return dag.
Actionssandbox3(sourceDir).
Commitchanges(ctx, buildDir)
}@function
async def example(sourcedir: dagger.Directory, builddir: dagger.Directory) -> str:
return await (
dag.actions_sandbox_3(sourcedir)
.commitchanges(builddir)
)@func()
async example(sourceDir: Directory, buildDir: Directory): Promise<string> {
return dag
.actionsSandbox3(sourceDir)
.commitChanges(buildDir)
}getBaseContainerWithGit() 🔗
Return Type
Container ! Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH get-base-container-with-gitfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.Container {
return dag.
Actionssandbox3(sourceDir).
Getbasecontainerwithgit()
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.Container:
return (
dag.actions_sandbox_3(sourcedir)
.getbasecontainerwithgit()
)@func()
example(sourceDir: Directory, ): Container {
return dag
.actionsSandbox3(sourceDir)
.getBaseContainerWithGit()
}getBaseContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@db1003a6cd2246f248dd355482103f22b6de56c8 call \
--source-dir DIR_PATH get-base-containerfunc (m *MyModule) Example(sourceDir *dagger.Directory) *dagger.Container {
return dag.
Actionssandbox3(sourceDir).
Getbasecontainer()
}@function
def example(sourcedir: dagger.Directory, ) -> dagger.Container:
return (
dag.actions_sandbox_3(sourcedir)
.getbasecontainer()
)@func()
example(sourceDir: Directory, ): Container {
return dag
.actionsSandbox3(sourceDir)
.getBaseContainer()
}