uncommitted
This module checks for uncommitted git changes
Installation
dagger install github.com/cloudnative-pg/daggerverse/uncommitted@d24d288a7219586f5ad2580f749ab4fe4226d51b
Entrypoint
Return Type
Uncommitted !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
image | String | "python:3.13.0-alpine" | Python image to use. renovate image: datasource=docker depName=python versioning=docker |
Example
dagger -m github.com/cloudnative-pg/daggerverse/uncommitted@d24d288a7219586f5ad2580f749ab4fe4226d51b call \
func (m *myModule) example() *Uncommitted {
return dag.
Uncommitted()
}
@function
def example() -> dag.Uncommitted:
return (
dag.uncommitted()
)
@func()
example(): Uncommitted {
return dag
.uncommitted()
}
Types
Uncommitted 🔗
checkUncommitted() 🔗
CheckUncommitted runs check_uncommitted_git_changes
Example usage: dagger call check-uncommitted –source /path/to/your/repo
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
Example
dagger -m github.com/cloudnative-pg/daggerverse/uncommitted@d24d288a7219586f5ad2580f749ab4fe4226d51b call \
check-uncommitted --source DIR_PATH
func (m *myModule) example(source *Directory) *Container {
return dag.
Uncommitted().
CheckUncommitted(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
return (
dag.uncommitted()
.check_uncommitted(source)
)
@func()
example(source: Directory): Container {
return dag
.uncommitted()
.checkUncommitted(source)
}