Dagger
Search

ci

No long description provided.

Installation

dagger install github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384

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
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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 🔗

lint() 🔗

Return Type
Lint !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 lint
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()
}

dev() 🔗

Return Type
Dev !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 dev
func (m *myModule) example() *CiDev  {
	return dag.
			Ci().
			Dev()
}
@function
def example() -> dag.CiDev:
	return (
		dag.ci()
		.dev()
	)
@func()
example(): CiDev {
	return dag
		.ci()
		.dev()
}

etoe() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
testString -No description provided
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 build
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()
}

generate() 🔗

Generate various artifacts.

Return Type
Generate !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 generate
func (m *myModule) example() *CiGenerate  {
	return dag.
			Ci().
			Generate()
}
@function
def example() -> dag.CiGenerate:
	return (
		dag.ci()
		.generate()
	)
@func()
example(): CiGenerate {
	return dag
		.ci()
		.generate()
}

release() 🔗

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

ci() 🔗

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

test() 🔗

Return Type
Container !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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()
}

quickstartTest() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
serviceService !-No description provided
portInteger !8888No description provided
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 quickstart-test --service PROTOCOL://HOST:PORT --port integer
func (m *myModule) example(service *Service, port int) *Container  {
	return dag.
			Ci().
			QuickstartTest(service, port)
}
@function
def example(service: dagger.Service, port: int) -> dagger.Container:
	return (
		dag.ci()
		.quickstart_test(service, port)
	)
@func()
example(service: Service, port: number): Container {
	return dag
		.ci()
		.quickstartTest(service, port)
}

migrate() 🔗

Return Type
Migrate !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 migrate
func (m *myModule) example() *CiMigrate  {
	return dag.
			Ci().
			Migrate()
}
@function
def example() -> dag.CiMigrate:
	return (
		dag.ci()
		.migrate()
	)
@func()
example(): CiMigrate {
	return dag
		.ci()
		.migrate()
}

snapshot() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
stainlessTokenSecret !-No description provided
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 snapshot --stainless-token env:MYSECRET
func (m *myModule) example(ctx context.Context, stainlessToken *Secret)   {
	return dag.
			Ci().
			Snapshot(ctx, stainlessToken)
}
@function
async def example(stainless_token: dagger.Secret) -> None:
	return await (
		dag.ci()
		.snapshot(stainless_token)
	)
@func()
async example(stainlessToken: Secret): Promise<void> {
	return dag
		.ci()
		.snapshot(stainlessToken)
}

Lint 🔗

source() 🔗

Return Type
Directory !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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()
}

helm() 🔗

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

Dev 🔗

source() 🔗

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

ci() 🔗

Return Type
Ci !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 dev \
 ci
func (m *myModule) example() *Ci  {
	return dag.
			Ci().
			Dev().
			Ci()
}
@function
def example() -> dag.Ci:
	return (
		dag.ci()
		.dev()
		.ci()
	)
@func()
example(): Ci {
	return dag
		.ci()
		.dev()
		.ci()
}

updateVersions() 🔗

Update dependency versions used in CI.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
githubTokenSecret -No description provided
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 dev \
 update-versions
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Dev().
			UpdateVersions()
}
@function
def example() -> dagger.File:
	return (
		dag.ci()
		.dev()
		.update_versions()
	)
@func()
example(): File {
	return dag
		.ci()
		.dev()
		.updateVersions()
}

openapiChanges() 🔗

Check OpenAPI changes between the “old” hand-written version and the “new” TypeSpec generated one.

Return Type
Service !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 dev \
 openapi-changes
func (m *myModule) example() *Service  {
	return dag.
			Ci().
			Dev().
			OpenapiChanges()
}
@function
def example() -> dagger.Service:
	return (
		dag.ci()
		.dev()
		.openapi_changes()
	)
@func()
example(): Service {
	return dag
		.ci()
		.dev()
		.openapiChanges()
}

Build 🔗

all() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
platformScalar -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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
platformScalar -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 build \
 binary
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/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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)
}

Generate 🔗

openapi() 🔗

Generate OpenAPI from TypeSpec.

Return Type
File !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 generate \
 openapi
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Generate().
			Openapi()
}
@function
def example() -> dagger.File:
	return (
		dag.ci()
		.generate()
		.openapi()
	)
@func()
example(): File {
	return dag
		.ci()
		.generate()
		.openapi()
}

pythonSdk() 🔗

Generate the Python SDK.

Return Type
Directory !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 generate \
 python-sdk
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Generate().
			PythonSdk()
}
@function
def example() -> dagger.Directory:
	return (
		dag.ci()
		.generate()
		.python_sdk()
	)
@func()
example(): Directory {
	return dag
		.ci()
		.generate()
		.pythonSdk()
}

nodeSdk() 🔗

Generate the Node SDK.

Return Type
Directory !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 generate \
 node-sdk
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Generate().
			NodeSdk()
}
@function
def example() -> dagger.Directory:
	return (
		dag.ci()
		.generate()
		.node_sdk()
	)
@func()
example(): Directory {
	return dag
		.ci()
		.generate()
		.nodeSdk()
}

webSdk() 🔗

Generate the Web SDK.

Return Type
Directory !
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 call \
 generate \
 web-sdk
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Generate().
			WebSdk()
}
@function
def example() -> dagger.Directory:
	return (
		dag.ci()
		.generate()
		.web_sdk()
	)
@func()
example(): Directory {
	return dag
		.ci()
		.generate()
		.webSdk()
}

check() 🔗

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

Migrate 🔗

source() 🔗

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

check() 🔗

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

Binary 🔗

all() 🔗

Build all binaries.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
platformScalar -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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
platformScalar -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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
platformScalar -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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()
}

balanceWorker() 🔗

Build the balance worker binary.

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

notificationService() 🔗

Build the notification service binary.

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

benthosCollector() 🔗

Build the sink worker binary.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformScalar -Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
Example
dagger -m github.com/openmeterio/openmeter@fd361086d88ccebdaa2bb5717024345258cd3384 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()
}