Dagger
Search

renovate

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/act3-ai/daggerverse/renovate@4db424d15b2b7ee6f913bab01834538348eade8f

Entrypoint

Return Type
Renovate !
Arguments
NameTypeDefault ValueDescription
projectString !-Gitlab project slug
tokenSecret !-Gitlab API token to the repo being renovated
baseContainer -renovate base image
Example
dagger -m github.com/act3-ai/daggerverse/renovate@4db424d15b2b7ee6f913bab01834538348eade8f call \
 --project string --token env:MYSECRET
func (m *MyModule) Example(project string, token *dagger.Secret) *dagger.Renovate  {
	return dag.
			Renovate(project, token)
}
@function
def example(project: str, token: dagger.Secret, ) -> dagger.Renovate:
	return (
		dag.renovate(project, token)
	)
@func()
example(project: string, token: Secret, ): Renovate {
	return dag
		.renovate(project, token)
}

Types

Renovate 🔗

Renovate tasks

withRegistryAuth() 🔗

Add authentication to a OCI registry

Return Type
Renovate !
Arguments
NameTypeDefault ValueDescription
hostnameString !-registry's hostname
usernameString !-username in registry
passwordSecret !-password or token for registry
Example
dagger -m github.com/act3-ai/daggerverse/renovate@4db424d15b2b7ee6f913bab01834538348eade8f call \
 --project string --token env:MYSECRET with-registry-auth --hostname string --username string --password env:MYSECRET
func (m *MyModule) Example(project string, token *dagger.Secret, hostname string, username string, password *dagger.Secret) *dagger.Renovate  {
	return dag.
			Renovate(project, token).
			WithRegistryAuth(hostname, username, password)
}
@function
def example(project: str, token: dagger.Secret, hostname: str, username: str, password: dagger.Secret) -> dagger.Renovate:
	return (
		dag.renovate(project, token)
		.with_registry_auth(hostname, username, password)
	)
@func()
example(project: string, token: Secret, hostname: string, username: string, password: Secret): Renovate {
	return dag
		.renovate(project, token)
		.withRegistryAuth(hostname, username, password)
}

withSecret() 🔗

Add a renovate secret. Can we referenced as “{{ secrets.MY_SECRET_NAME }}” in other renovate config.

Return Type
Renovate !
Arguments
NameTypeDefault ValueDescription
nameString !-name of the secret
valueSecret !-value of the secret
Example
dagger -m github.com/act3-ai/daggerverse/renovate@4db424d15b2b7ee6f913bab01834538348eade8f call \
 --project string --token env:MYSECRET with-secret --name string --value env:MYSECRET
func (m *MyModule) Example(project string, token *dagger.Secret, name string, value *dagger.Secret) *dagger.Renovate  {
	return dag.
			Renovate(project, token).
			WithSecret(name, value)
}
@function
def example(project: str, token: dagger.Secret, name: str, value: dagger.Secret) -> dagger.Renovate:
	return (
		dag.renovate(project, token)
		.with_secret(name, value)
	)
@func()
example(project: string, token: Secret, name: string, value: Secret): Renovate {
	return dag
		.renovate(project, token)
		.withSecret(name, value)
}

update() 🔗

Run renovate to update dependencies on the remote Gitlab repository

Return Type
String !
Example
dagger -m github.com/act3-ai/daggerverse/renovate@4db424d15b2b7ee6f913bab01834538348eade8f call \
 --project string --token env:MYSECRET update
func (m *MyModule) Example(ctx context.Context, project string, token *dagger.Secret) string  {
	return dag.
			Renovate(project, token).
			Update(ctx)
}
@function
async def example(project: str, token: dagger.Secret, ) -> str:
	return await (
		dag.renovate(project, token)
		.update()
	)
@func()
async example(project: string, token: Secret, ): Promise<string> {
	return dag
		.renovate(project, token)
		.update()
}