gitlab
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/gitlab-pipeline@v0.4.0
Entrypoint
Return Type
Gitlab
Example
dagger -m github.com/fluent-ci-templates/gitlab-pipeline@521592bf5e166b4f75afa773f2dd141e8d831a67 call \
func (m *myModule) example() *Gitlab {
return dag.
Gitlab()
}
@function
def example() -> dag.Gitlab:
return (
dag.gitlab()
)
@func()
example(): Gitlab {
return dag
.gitlab()
}
Types
Gitlab 🔗
releaseCreate() 🔗
Create a Gitlab Release
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
token | Secret | - | No description provided |
tag | String | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/gitlab-pipeline@521592bf5e166b4f75afa773f2dd141e8d831a67 call \
release-create
func (m *myModule) example(ctx context.Context) string {
return dag.
Gitlab().
ReleaseCreate(ctx)
}
@function
async def example() -> str:
return await (
dag.gitlab()
.release_create()
)
@func()
async example(): Promise<string> {
return dag
.gitlab()
.releaseCreate()
}
releaseUpload() 🔗
Upload asset files to a Gitlab Release
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
token | String | - | No description provided |
tag | String | - | No description provided |
file | String | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/gitlab-pipeline@521592bf5e166b4f75afa773f2dd141e8d831a67 call \
release-upload
func (m *myModule) example(ctx context.Context) string {
return dag.
Gitlab().
ReleaseUpload(ctx)
}
@function
async def example() -> str:
return await (
dag.gitlab()
.release_upload()
)
@func()
async example(): Promise<string> {
return dag
.gitlab()
.releaseUpload()
}