Dagger
Search

github

No long description provided.

Installation

dagger install github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7

Entrypoint

Return Type
Github !
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
func (m *myModule) example() *Github  {
	return dag.
			Github()
}
@function
def example() -> dag.Github:
	return (
		dag.github()
	)
@func()
example(): Github {
	return dag
		.github()
}

Types

Github 🔗

runner() 🔗

Assemble a runner name for a pipeline

Return Type
String !
Arguments
NameTypeDefault ValueDescription
generationInteger !-No description provided
daggerVersionString !-No description provided
cpusInteger !-No description provided
singleTenantBoolean !-No description provided
noSpotBoolean !-No description provided
dindBoolean !-No description provided
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
 runner --generation integer --dagger-version string --cpus integer --single-tenant boolean --no-spot boolean --dind boolean
func (m *myModule) example(ctx context.Context, generation int, daggerVersion string, cpus int, singleTenant bool, noSpot bool, dind bool) string  {
	return dag.
			Github().
			Runner(ctx, generation, daggerVersion, cpus, singleTenant, noSpot, dind)
}
@function
async def example(generation: int, dagger_version: str, cpus: int, single_tenant: bool, no_spot: bool, dind: bool) -> str:
	return await (
		dag.github()
		.runner(generation, dagger_version, cpus, single_tenant, no_spot, dind)
	)
@func()
async example(generation: number, daggerVersion: string, cpus: number, singleTenant: boolean, noSpot: boolean, dind: boolean): Promise<string> {
	return dag
		.github()
		.runner(generation, daggerVersion, cpus, singleTenant, noSpot, dind)
}

bronzeRunner() 🔗

Bronze runner: Multi-tenant spot instance, 4 cpu

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dindBoolean -Enable docker-in-docker
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
 bronze-runner
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Github().
			BronzeRunner(ctx)
}
@function
async def example() -> str:
	return await (
		dag.github()
		.bronze_runner()
	)
@func()
async example(): Promise<string> {
	return dag
		.github()
		.bronzeRunner()
}

silverRunner() 🔗

Silver runner: Multi-tenant spot instance, 8 cpu

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dindBoolean -Enable docker-in-docker
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
 silver-runner
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Github().
			SilverRunner(ctx)
}
@function
async def example() -> str:
	return await (
		dag.github()
		.silver_runner()
	)
@func()
async example(): Promise<string> {
	return dag
		.github()
		.silverRunner()
}

goldRunner() 🔗

Gold runner: Single-tenant on-demand instance, 16 cpu

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dindBoolean -Enable docker-in-docker
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
 gold-runner
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Github().
			GoldRunner(ctx)
}
@function
async def example() -> str:
	return await (
		dag.github()
		.gold_runner()
	)
@func()
async example(): Promise<string> {
	return dag
		.github()
		.goldRunner()
}

platinumRunner() 🔗

Platinum runner: Single-tenant on-demand instance, 32 cpu

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dindBoolean -Enable docker-in-docker
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
 platinum-runner
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Github().
			PlatinumRunner(ctx)
}
@function
async def example() -> str:
	return await (
		dag.github()
		.platinum_runner()
	)
@func()
async example(): Promise<string> {
	return dag
		.github()
		.platinumRunner()
}

generate() 🔗

Generate Github Actions pipelines to call our Dagger pipelines

Return Type
Directory !
Example
dagger -m github.com/dagger/dagger/.github@724bd4b5cb3621a655d0670cef613dbfee265fd7 call \
 generate
func (m *myModule) example() *Directory  {
	return dag.
			Github().
			Generate()
}
@function
def example() -> dagger.Directory:
	return (
		dag.github()
		.generate()
	)
@func()
example(): Directory {
	return dag
		.github()
		.generate()
}