Dagger
Search

uncommitted

This module checks for uncommitted git changes

Installation

dagger install github.com/cloudnative-pg/daggerverse/uncommitted@1ad0ee66473e3a405d1078fcc55df00f2507d14a

Entrypoint

Return Type
Uncommitted !
Arguments
NameTypeDefault ValueDescription
imageString "python:3.12.7-alpine"Python image to use. renovate image: datasource=docker depName=python versioning=docker
Example
dagger -m github.com/cloudnative-pg/daggerverse/uncommitted@1ad0ee66473e3a405d1078fcc55df00f2507d14a 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
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/cloudnative-pg/daggerverse/uncommitted@1ad0ee66473e3a405d1078fcc55df00f2507d14a 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)
}