Skip to content

Commit

Permalink
linter overlord
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Jul 29, 2024
1 parent ca355d8 commit 591883f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion executor/linux/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ func (c *client) PlanBuild(ctx context.Context) error {
}

// AssembleBuild prepares the containers within a build for execution.
//
//nolint:funlen // consider abstracting parts here but for now this is fine
func (c *client) AssembleBuild(ctx context.Context) error {
// defer taking a snapshot of the build
//
Expand Down Expand Up @@ -432,6 +434,8 @@ func (c *client) AssembleBuild(ctx context.Context) error {
}

// ExecBuild runs a pipeline for a build.
//
//nolint:funlen // there is a lot going on here and will probably always be long
func (c *client) ExecBuild(ctx context.Context) error {
defer func() {
// Exec* calls are responsible for sending StreamRequest messages.
Expand Down Expand Up @@ -543,7 +547,6 @@ func (c *client) ExecBuild(ctx context.Context) error {
return err
}

c.Logger.Debug("injecting non-substituted secrets")
// inject no-substitution secrets for container
err = injectSecrets(_step, c.NoSubSecrets)
if err != nil {
Expand Down Expand Up @@ -691,6 +694,8 @@ func (c *client) StreamBuild(ctx context.Context) error {
// loadLazySecrets is a helper function that injects secrets
// into the container right before execution, rather than
// during build planning. It is only available for the Docker runtime.
//
//nolint:funlen // explanation takes up a lot of lines
func loadLazySecrets(c *client, _step *pipeline.Container) error {
_log := new(library.Log)

Expand Down

0 comments on commit 591883f

Please sign in to comment.