ci
No long description provided.
Installation
dagger install github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666aEntrypoint
Return Type
Ci !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | Project source directory. | 
| ref | String | - | Checkout the repository (at the designated ref) and use it as the source directory instead of the local one. | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
func (m *MyModule) Example() *dagger.Ci  {
	return dag.
			Ci()
}@function
def example() -> dagger.Ci:
	return (
		dag.ci()
	)@func()
example(): Ci {
	return dag
		.ci()
}Types
Ci 🔗
ci() 🔗
Return Type
Void !Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 cifunc (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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 testfunc (m *MyModule) Example() *dagger.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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| service | Service ! | - | No description provided | 
| port | Integer ! | 8888 | No description provided | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 quickstart-test --service PROTOCOL://HOST:PORT --port integerfunc (m *MyModule) Example(service *dagger.Service, port int) *dagger.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)
}generate() 🔗
Generate various artifacts.
Return Type
Generate !Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 generatefunc (m *MyModule) Example() *dagger.CiGenerate  {
	return dag.
			Ci().
			Generate()
}@function
def example() -> dagger.CiGenerate:
	return (
		dag.ci()
		.generate()
	)@func()
example(): CiGenerate {
	return dag
		.ci()
		.generate()
}etoe() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| test | String | - | No description provided | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 etoefunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Ci().
			Etoe()
}@function
def example() -> dagger.Container:
	return (
		dag.ci()
		.etoe()
	)@func()
example(): Container {
	return dag
		.ci()
		.etoe()
}release() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| version | String ! | - | No description provided | 
| githubActor | String ! | - | No description provided | 
| githubToken | Secret ! | - | No description provided | 
| pypiToken | Secret ! | - | No description provided | 
| npmToken | Secret ! | - | No description provided | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 release --version string --github-actor string --github-token env:MYSECRET --pypi-token env:MYSECRET --npm-token env:MYSECRETfunc (m *MyModule) Example(ctx context.Context, version string, githubActor string, githubToken *dagger.Secret, pypiToken *dagger.Secret, npmToken *dagger.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)
}lint() 🔗
Return Type
Lint !Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 lintfunc (m *MyModule) Example() *dagger.CiLint  {
	return dag.
			Ci().
			Lint()
}@function
def example() -> dagger.CiLint:
	return (
		dag.ci()
		.lint()
	)@func()
example(): CiLint {
	return dag
		.ci()
		.lint()
}snapshot() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| stainlessToken | Secret ! | - | No description provided | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 snapshot --stainless-token env:MYSECRETfunc (m *MyModule) Example(ctx context.Context, stainlessToken *dagger.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)
}build() 🔗
Build individual artifacts. (Useful for testing and development)
Return Type
Build !Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 buildfunc (m *MyModule) Example() *dagger.CiBuild  {
	return dag.
			Ci().
			Build()
}@function
def example() -> dagger.CiBuild:
	return (
		dag.ci()
		.build()
	)@func()
example(): CiBuild {
	return dag
		.ci()
		.build()
}Generate 🔗
pythonSdk() 🔗
Generate the Python SDK.
Return Type
Directory !Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 generate \
 python-sdkfunc (m *MyModule) Example() *dagger.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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 generate \
 node-sdkfunc (m *MyModule) Example() *dagger.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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 generate \
 web-sdkfunc (m *MyModule) Example() *dagger.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()
}Lint 🔗
source() 🔗
Return Type
Directory !Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 lint \
 sourcefunc (m *MyModule) Example() *dagger.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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 lint \
 allfunc (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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 lint \
 gofunc (m *MyModule) Example() *dagger.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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 lint \
 openapifunc (m *MyModule) Example() *dagger.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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 lint \
 helmfunc (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()
}Build 🔗
all() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| platform | Scalar | - | Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64"). | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 allfunc (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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| platform | Scalar | - | Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64"). | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 container-imagefunc (m *MyModule) Example() *dagger.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/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 binaryfunc (m *MyModule) Example() *dagger.CiBinary  {
	return dag.
			Ci().
			Build().
			Binary()
}@function
def example() -> dagger.CiBinary:
	return (
		dag.ci()
		.build()
		.binary()
	)@func()
example(): CiBinary {
	return dag
		.ci()
		.build()
		.binary()
}helmChart() 🔗
Return Type
File !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| name | String ! | - | Name of the chart to build. | 
| version | String | - | Release version. | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 helm-chart --name stringfunc (m *MyModule) Example(name string) *dagger.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)
}Binary 🔗
all() 🔗
Build all binaries.
Return Type
Void !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| platform | Scalar | - | Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64"). | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 binary \
 allfunc (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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| platform | Scalar | - | Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64"). | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 binary \
 apifunc (m *MyModule) Example() *dagger.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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| platform | Scalar | - | Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64"). | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 binary \
 sink-workerfunc (m *MyModule) Example() *dagger.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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| platform | Scalar | - | Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64"). | 
Example
dagger -m github.com/marcosnils/openmeter@bf3617509e64b5519f665f7ae9a97440bdeb666a call \
 build \
 binary \
 benthos-collectorfunc (m *MyModule) Example() *dagger.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()
}