Dagger
Search

ci

No long description provided.

Installation

dagger install github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c

Entrypoint

Return Type
Ci !
Arguments
NameTypeDescription
sourceDirectory Project source directory.
refString Checkout the repository (at the designated ref) and use it as the source directory instead of the local one.
Example
func (m *myModule) example() *Ci  {
	return dag.
			Ci()
}
@function
def example() -> dag.Ci:
	return (
		dag.ci()
	)
@func()
example(): Ci {
	return dag
		.ci()
}

Types

Ci 🔗

etoe() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
testString -No description provided
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 etoe
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Etoe()
}
@function
def example() -> dagger.Container:
	return (
		dag.ci()
		.etoe()
	)
@func()
example(): Container {
	return dag
		.ci()
		.etoe()
}

build() 🔗

Build individual artifacts. (Useful for testing and development)

Return Type
Build !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 all
func (m *myModule) example() *CiBuild  {
	return dag.
			Ci().
			Build()
}
@function
def example() -> dag.CiBuild:
	return (
		dag.ci()
		.build()
	)
@func()
example(): CiBuild {
	return dag
		.ci()
		.build()
}

lint() 🔗

Return Type
Lint !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 lint \
 all
func (m *myModule) example() *CiLint  {
	return dag.
			Ci().
			Lint()
}
@function
def example() -> dag.CiLint:
	return (
		dag.ci()
		.lint()
	)
@func()
example(): CiLint {
	return dag
		.ci()
		.lint()
}

ci() 🔗

Return Type
Void !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 ci
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Ci(ctx)
}
@function
async def example() -> None:
	return await (
		dag.ci()
		.ci()
	)
@func()
async example(): Promise<void> {
	return dag
		.ci()
		.ci()
}

test() 🔗

Return Type
Container !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 test
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Test()
}
@function
def example() -> dagger.Container:
	return (
		dag.ci()
		.test()
	)
@func()
example(): Container {
	return dag
		.ci()
		.test()
}

release() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
githubActorString !-No description provided
githubTokenSecret !-No description provided
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 release --version string --github-actor string --github-token env:MYSECRET
func (m *myModule) example(ctx context.Context, version string, githubActor string, githubToken *Secret)   {
	return dag.
			Ci().
			Release(ctx, version, githubActor, githubToken)
}
@function
async def example(version: str, github_actor: str, github_token: dagger.Secret) -> None:
	return await (
		dag.ci()
		.release(version, github_actor, github_token)
	)
@func()
async example(version: string, githubActor: string, githubToken: Secret): Promise<void> {
	return dag
		.ci()
		.release(version, githubActor, githubToken)
}

Build 🔗

all() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
platformString -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 all
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Build().
			All(ctx)
}
@function
async def example() -> None:
	return await (
		dag.ci()
		.build()
		.all()
	)
@func()
async example(): Promise<void> {
	return dag
		.ci()
		.build()
		.all()
}

containerImage() 🔗

Build a container image.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformString -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 container-image
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Build().
			ContainerImage()
}
@function
def example() -> dagger.Container:
	return (
		dag.ci()
		.build()
		.container_image()
	)
@func()
example(): Container {
	return dag
		.ci()
		.build()
		.containerImage()
}

binary() 🔗

Build binaries.

Return Type
Binary !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 binary \
 all
func (m *myModule) example() *CiBinary  {
	return dag.
			Ci().
			Build().
			Binary()
}
@function
def example() -> dag.CiBinary:
	return (
		dag.ci()
		.build()
		.binary()
	)
@func()
example(): CiBinary {
	return dag
		.ci()
		.build()
		.binary()
}

helmChart() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
nameString !-Name of the chart to build.
versionString -Release version.
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 helm-chart --name string
func (m *myModule) example(name string) *File  {
	return dag.
			Ci().
			Build().
			HelmChart(name)
}
@function
def example(name: str) -> dagger.File:
	return (
		dag.ci()
		.build()
		.helm_chart(name)
	)
@func()
example(name: string): File {
	return dag
		.ci()
		.build()
		.helmChart(name)
}

Lint 🔗

source() 🔗

Return Type
Directory !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 lint \
 source
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Lint().
			Source()
}
@function
def example() -> dagger.Directory:
	return (
		dag.ci()
		.lint()
		.source()
	)
@func()
example(): Directory {
	return dag
		.ci()
		.lint()
		.source()
}

all() 🔗

Return Type
Void !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 lint \
 all
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Lint().
			All(ctx)
}
@function
async def example() -> None:
	return await (
		dag.ci()
		.lint()
		.all()
	)
@func()
async example(): Promise<void> {
	return dag
		.ci()
		.lint()
		.all()
}

go() 🔗

Return Type
Container !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 lint \
 go
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Lint().
			Go()
}
@function
def example() -> dagger.Container:
	return (
		dag.ci()
		.lint()
		.go()
	)
@func()
example(): Container {
	return dag
		.ci()
		.lint()
		.go()
}

openapi() 🔗

Return Type
Container !
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 lint \
 openapi
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Lint().
			Openapi()
}
@function
def example() -> dagger.Container:
	return (
		dag.ci()
		.lint()
		.openapi()
	)
@func()
example(): Container {
	return dag
		.ci()
		.lint()
		.openapi()
}

Binary 🔗

all() 🔗

Build all binaries.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
platformString -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 binary \
 all
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Build().
			Binary().
			All(ctx)
}
@function
async def example() -> None:
	return await (
		dag.ci()
		.build()
		.binary()
		.all()
	)
@func()
async example(): Promise<void> {
	return dag
		.ci()
		.build()
		.binary()
		.all()
}

api() 🔗

Build the API server binary.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformString -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 binary \
 api
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Build().
			Binary().
			Api()
}
@function
def example() -> dagger.File:
	return (
		dag.ci()
		.build()
		.binary()
		.api()
	)
@func()
example(): File {
	return dag
		.ci()
		.build()
		.binary()
		.api()
}

sinkWorker() 🔗

Build the sink worker binary.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformString -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 binary \
 sink-worker
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Build().
			Binary().
			SinkWorker()
}
@function
def example() -> dagger.File:
	return (
		dag.ci()
		.build()
		.binary()
		.sink_worker()
	)
@func()
example(): File {
	return dag
		.ci()
		.build()
		.binary()
		.sinkWorker()
}

benthosCollector() 🔗

Build the sink worker binary.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformString -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/csatib02/openmeter@c8eb8e9930035d94e8237c40a305c5cba900264c call \
 build \
 binary \
 benthos-collector
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Build().
			Binary().
			BenthosCollector()
}
@function
def example() -> dagger.File:
	return (
		dag.ci()
		.build()
		.binary()
		.benthos_collector()
	)
@func()
example(): File {
	return dag
		.ci()
		.build()
		.binary()
		.benthosCollector()
}