pipeline
No long description provided.
Installation
dagger install gitlab.com/build-core/daggerverse/pipeline@v0.5.0Entrypoint
Return Type
Pipeline Example
dagger -m gitlab.com/build-core/daggerverse/pipeline@e386dafa4506a6d1be6d1d818bfacccaf1fe2f95 call \
func (m *MyModule) Example() *dagger.Pipeline {
return dag.
Pipeline()
}@function
def example() -> dagger.Pipeline:
return (
dag.pipeline()
)@func()
example(): Pipeline {
return dag
.pipeline()
}Types
Pipeline 🔗
run() 🔗
Run lit le manifest.yaml et publie chaque composant
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | Racine du repo |
| registry | String ! | "registry.gitlab.com" | Registry de destination ex: registry.gitlab.com |
| imageNamespace | String ! | - | Namespace de l'image ex: mini-pc/apps/todo |
| username | String ! | - | Username du registry |
| password | Secret ! | - | Password du registry |
| commitTag | String | - | CI_COMMIT_TAG — tag git si existant |
| commitSha | String ! | - | CI_COMMIT_SHORT_SHA — hash court du commit |
Example
dagger -m gitlab.com/build-core/daggerverse/pipeline@e386dafa4506a6d1be6d1d818bfacccaf1fe2f95 call \
run --src DIR_PATH --registry string --image-namespace string --username string --password env:MYSECRET --commit-sha stringfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory, registry string, imageNamespace string, username string, password *dagger.Secret, commitSha string) string {
return dag.
Pipeline().
Run(ctx, src, registry, imageNamespace, username, password, commitSha)
}@function
async def example(src: dagger.Directory, registry: str, image_namespace: str, username: str, password: dagger.Secret, commit_sha: str) -> str:
return await (
dag.pipeline()
.run(src, registry, image_namespace, username, password, commit_sha)
)@func()
async example(src: Directory, registry: string, imageNamespace: string, username: string, password: Secret, commitSha: string): Promise<string> {
return dag
.pipeline()
.run(src, registry, imageNamespace, username, password, commitSha)
}