Dagger
Search

pipeline-manager

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/BCIT-LTC/daggerverse/pipeline-manager@68f4fa790a8f34a173b2867af3b6840f29606843

Entrypoint

Return Type
PipelineManager !
Example
dagger -m github.com/BCIT-LTC/daggerverse/pipeline-manager@68f4fa790a8f34a173b2867af3b6840f29606843 call \
func (m *myModule) example() *dagger.PipelineManager  {
	return dag.
			PipelineManager()
}
@function
def example() -> dagger.PipelineManager:
	return (
		dag.pipeline_manager()
	)
@func()
example(): PipelineManager {
	return dag
		.pipelineManager()
}

Types

PipelineManager 🔗

determineEnvironment() 🔗

Determine the environment based on the current branch and semantic release output.

Return Type
String !
Example
dagger -m github.com/BCIT-LTC/daggerverse/pipeline-manager@68f4fa790a8f34a173b2867af3b6840f29606843 call \
 determine-environment
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			PipelineManager().
			DetermineEnvironment(ctx)
}
@function
async def example() -> str:
	return await (
		dag.pipeline_manager()
		.determine_environment()
	)
@func()
async example(): Promise<string> {
	return dag
		.pipelineManager()
		.determineEnvironment()
}

run() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -Source directory
githubTokenSecret -No description provided
usernameString -No description provided
branchString -No description provided
commitHashString -No description provided
Example
dagger -m github.com/BCIT-LTC/daggerverse/pipeline-manager@68f4fa790a8f34a173b2867af3b6840f29606843 call \
 run
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			PipelineManager().
			Run(ctx)
}
@function
async def example() -> str:
	return await (
		dag.pipeline_manager()
		.run()
	)
@func()
async example(): Promise<string> {
	return dag
		.pipelineManager()
		.run()
}