Dagger
Search

ci

No long description provided.

Installation

dagger install github.com/openmeterio/openmeter@b4dba8a2d03e5569531076d7c652fbd7e4173c41

Entrypoint

Return Type
Ci !
Arguments
NameTypeDefault ValueDescription
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()
}

Types

Ci 🔗

lint() 🔗

Return Type
Lint !
Example
func (m *myModule) example() *CiLint  {
	return dag.
			Ci().
			Lint()
}

dev() 🔗

Return Type
Dev !
Example
func (m *myModule) example() *CiDev  {
	return dag.
			Ci().
			Dev()
}

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
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)
}

snapshot() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
stainlessTokenSecret !-No description provided
Example
func (m *myModule) example(ctx context.Context, stainlessToken *Secret)   {
	return dag.
			Ci().
			Snapshot(ctx, stainlessToken)
}

etoe() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
testString -No description provided
Example
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Etoe()
}

build() 🔗

Build individual artifacts. (Useful for testing and development)

Return Type
Build !
Example
func (m *myModule) example() *CiBuild  {
	return dag.
			Ci().
			Build()
}

generate() 🔗

Generate various artifacts.

Return Type
Generate !
Example
func (m *myModule) example() *CiGenerate  {
	return dag.
			Ci().
			Generate()
}

ci() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Ci()
}

test() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Test()
}

quickstartTest() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
serviceService !-No description provided
portInteger !8888No description provided
Example
func (m *myModule) example(service *Service, port int) *Container  {
	return dag.
			Ci().
			QuickstartTest(service, port)
}

migrate() 🔗

Return Type
Migrate !
Example
func (m *myModule) example() *CiMigrate  {
	return dag.
			Ci().
			Migrate()
}

Lint 🔗

source() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Lint().
			Source()
}

all() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Lint().
			All(ctx)
}

go() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Lint().
			Go()
}

openapi() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Lint().
			Openapi()
}

helm() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Lint().
			Helm(ctx)
}

Dev 🔗

source() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Dev().
			Source()
}

updateVersions() 🔗

Udate dependency versions used in CI.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
githubTokenSecret -No description provided
Example
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Dev().
			UpdateVersions()
}

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
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Build().
			All(ctx)
}

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
func (m *myModule) example() *Container  {
	return dag.
			Ci().
			Build().
			ContainerImage()
}

binary() 🔗

Build binaries.

Return Type
Binary !
Example
func (m *myModule) 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
func (m *myModule) example(name string) *File  {
	return dag.
			Ci().
			Build().
			HelmChart(name)
}

Generate 🔗

pythonSdk() 🔗

Generate the Python SDK.

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Generate().
			PythonSdk()
}

nodeSdk() 🔗

Generate the Node SDK.

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Generate().
			NodeSdk()
}

webSdk() 🔗

Generate the Web SDK.

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Generate().
			WebSdk()
}

check() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Generate().
			Check(ctx)
}

Migrate 🔗

source() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			Ci().
			Migrate().
			Source()
}

check() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Migrate().
			Check(ctx)
}

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
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Ci().
			Build().
			Binary().
			All(ctx)
}

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
func (m *myModule) 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
func (m *myModule) 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
func (m *myModule) 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
func (m *myModule) 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
func (m *myModule) example() *File  {
	return dag.
			Ci().
			Build().
			Binary().
			BenthosCollector()
}