Dagger
Search

ci

Dagger module for ld-find-code-refs CI

Installation

dagger install github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b

Entrypoint

Return Type
Ci
Example
dagger -m github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b call \
func (m *myModule) example() *Ci  {
	return dag.
			Ci()
}
@function
def example() -> dag.Ci:
	return (
		dag.ci()
	)
@func()
example(): Ci {
	return dag
		.ci()
}

Types

Ci 🔗

testAndSnapshot() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b call \
 test-and-snapshot --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Ci().
			TestAndSnapshot(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.ci()
		.test_and_snapshot(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.ci()
		.testAndSnapshot(source)
}

precommit() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b call \
 precommit --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Ci().
			Precommit(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.ci()
		.precommit(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.ci()
		.precommit(source)
}

testRepo() 🔗

Setup and run go tests

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b call \
 test-repo --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Ci().
			TestRepo(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.ci()
		.test_repo(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.ci()
		.testRepo(source)
}

release() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b call \
 release --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Ci().
			Release(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.ci()
		.release(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.ci()
		.release(source)
}

snapshot() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/launchdarkly/ld-find-code-refs/ci@cee2bfea8906c6604a85a41dd4bea3d934de2d7b call \
 snapshot --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Ci().
			Snapshot(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.ci()
		.snapshot(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.ci()
		.snapshot(source)
}