build

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: GPL-3.0 Imports: 8 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",
	},
	"goevmlab": {
		Repository: "holiman/goevmlab",
		Branch:     "master",
		Name:       "goevmlab",
	},
}

AdditionalWorkflows contains information about non-client workflows.

Functions

This section is empty.

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) GetDefaultBuildArgs added in v0.0.25

func (c *BuildCommand) GetDefaultBuildArgs(target string) string

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

func (*BuildCommand) Handle

Handle handles the /build command.

func (*BuildCommand) HasBuildArgs added in v0.0.25

func (c *BuildCommand) HasBuildArgs(target string) bool

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

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.

func (*BuildCommand) UpdateChoices added in v0.0.26

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

UpdateChoices updates the command choices by re-registering with fresh client and tool data.

Jump to

Keyboard shortcuts

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