Dagger
Search

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
NameTypeDefault ValueDescription
srcDirectory -No description provided
tokenSecret -No description provided
tagString -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
NameTypeDefault ValueDescription
srcDirectory -No description provided
tokenString -No description provided
tagString -No description provided
fileString -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()
}