ci

package
v3.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package ci is for continuous integration testing

Index

Constants

This section is empty.

Variables

View Source
var Profile = &profile.Profile{
	Name: "ci",
	Setup: func(ctx *cli.Context) error {
		auth.DefaultAuth = mAuthJwt.NewAuth()
		runtime.DefaultRuntime = mRuntimeLocal.NewRuntime()
		store.DefaultStore = mStoreFile.NewStore()
		config.DefaultConfig, _ = mConfigStore.NewConfig(store.DefaultStore, "")
		events.DefaultStream, _ = mStreamMem.NewStream()
		events.DefaultStore = mEventStore.NewStore(mEventStore.WithStore(store.DefaultStore))
		profile.SetupBroker(mBrokerMem.NewBroker())
		profile.SetupRegistry(etcd.NewRegistry())
		profile.SetupJWT(ctx)
		profile.SetupConfigSecretKey(ctx)

		var err error
		store.DefaultBlobStore, err = mStoreFile.NewBlobStore()
		if err != nil {
			logger.Fatalf("Error configuring file blob store: %v", err)
		}

		return nil
	},
}

CI profile to use for CI tests

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL