build

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultRepository is the default repository for the eth-client-docker-image-builder.
	DefaultRepository = "ethpandaops/eth-client-docker-image-builder"
)

Variables

View Source
var AdditionalWorkflows = map[string]struct {
	Repository   string
	Branch       string
	Name         string
	BuildArgs    string
	HasBuildArgs bool
}{
	"rustic-builder": {
		Repository: "pawanjay176/rustic-builder",
		Branch:     "main",
		Name:       "rustic-builder",
	},
	"beacon-metrics-gazer": {
		Repository: "dapplion/beacon-metrics-gazer",
		Branch:     "master",
		Name:       "beacon-metrics-gazer",
	},
	"consensus-monitor": {
		Repository: "ralexstokes/ethereum_consensus_monitor",
		Branch:     "main",
		Name:       "consensus-monitor",
	},
	"eleel": {
		Repository: "sigp/eleel",
		Branch:     "main",
		Name:       "eleel",
	},
	"ethereum-genesis-generator": {
		Repository: "ethpandaops/ethereum-genesis-generator",
		Branch:     "master",
		Name:       "ethereum-genesis-generator",
	},
	"execution-monitor": {
		Repository: "ethereum/nodemonitor",
		Branch:     "master",
		Name:       "execution-monitor",
	},
	"flashbots-builder": {
		Repository: "flashbots/builder",
		Branch:     "main",
		Name:       "flashbots-builder",
	},
	"goomy-blob": {
		Repository: "ethpandaops/goomy-blob",
		Branch:     "master",
		Name:       "goomy-blob",
	},
	"goteth": {
		Repository: "migalabs/goteth",
		Branch:     "master",
		Name:       "goteth",
	},
	"mev-boost": {
		Repository: "flashbots/mev-boost",
		Branch:     "develop",
		Name:       "mev-boost",
	},
	"mev-boost-relay": {
		Repository: "flashbots/mev-boost-relay",
		Branch:     "main",
		Name:       "mev-boost-relay",
	},
	"mev-rs": {
		Repository:   "ralexstokes/mev-rs",
		Branch:       "main",
		Name:         "mev-rs",
		HasBuildArgs: true,
	},
	"reth-rbuilder": {
		Repository:   "flashbots/rbuilder",
		Branch:       "develop",
		Name:         "reth-rbuilder",
		BuildArgs:    "RBUILDER_BIN=reth-rbuilder",
		HasBuildArgs: true,
	},
	"tx-fuzz": {
		Repository: "MariusVanDerWijden/tx-fuzz",
		Branch:     "master",
		Name:       "tx-fuzz",
	},
	"armiarma": {
		Repository: "ethpandaops/armiarma",
		Branch:     "master",
		Name:       "armiarma",
	},
}

AdditionalWorkflows contains information about non-client workflows.

Functions

func GetDefaultBuildArgs added in v0.0.22

func GetDefaultBuildArgs(target string) string

GetDefaultBuildArgs returns the default build arguments for a workflow or client, if any.

func HasBuildArgs added in v0.0.22

func HasBuildArgs(target string) bool

HasBuildArgs returns whether the given workflow or client supports build arguments.

Types

type BuildCommand

type BuildCommand struct {
	// contains filtered or unexported fields
}

BuildCommand handles the /build command.

func NewBuildCommand

func NewBuildCommand(log *logrus.Logger, bot common.BotContext, githubToken string, client *http.Client) *BuildCommand

NewBuildCommand creates a new build command.

func (*BuildCommand) Handle

Handle handles the /build command.

func (*BuildCommand) Name

func (c *BuildCommand) Name() string

Name returns the name of the command.

func (*BuildCommand) Register

func (c *BuildCommand) Register(session *discordgo.Session) error

Register registers the /build command with the given discord session.

Jump to

Keyboard shortcuts

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