Dagger
Search

ci

No long description provided.

Installation

dagger install gitlab.com/build-core/daggerverse/ci@f2bee292935c832a9b2335296da9866c218643e8

Entrypoint

Return Type
Ci
Example
dagger -m gitlab.com/build-core/daggerverse/ci@f2bee292935c832a9b2335296da9866c218643e8 call \
func (m *MyModule) Example() *dagger.Ci  {
	return dag.
			Ci()
}
@function
def example() -> dagger.Ci:
	return (
		dag.ci()
	)
@func()
example(): Ci {
	return dag
		.ci()
}

Types

Ci 🔗

run() 🔗

Run lit le manifest.yaml et publie chaque composant

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-Racine du repo
registryString !"registry.gitlab.com"Registry de destination ex: registry.gitlab.com
imageNamespaceString !-Namespace de l'image ex: mini-pc/apps/todo
usernameString !-Username du registry
passwordSecret !-Password du registry
commitTagString !-Variable CI_COMMIT_TAG — tag git si existant
commitRefSlugString !-Variable CI_COMMIT_REF_SLUG — branche courante
Example
dagger -m gitlab.com/build-core/daggerverse/ci@f2bee292935c832a9b2335296da9866c218643e8 call \
 run --src DIR_PATH --registry string --image-namespace string --username string --password env:MYSECRET --commit-tag string --commit-ref-slug string
func (m *MyModule) Example(ctx context.Context, src *dagger.Directory, registry string, imageNamespace string, username string, password *dagger.Secret, commitTag string, commitRefSlug string) string  {
	return dag.
			Ci().
			Run(ctx, src, registry, imageNamespace, username, password, commitTag, commitRefSlug)
}
@function
async def example(src: dagger.Directory, registry: str, image_namespace: str, username: str, password: dagger.Secret, commit_tag: str, commit_ref_slug: str) -> str:
	return await (
		dag.ci()
		.run(src, registry, image_namespace, username, password, commit_tag, commit_ref_slug)
	)
@func()
async example(src: Directory, registry: string, imageNamespace: string, username: string, password: Secret, commitTag: string, commitRefSlug: string): Promise<string> {
	return dag
		.ci()
		.run(src, registry, imageNamespace, username, password, commitTag, commitRefSlug)
}