Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

.WithEnv(...): Add support for injecting environment variables in a pipeline step. #16

@kminehart

Description

@kminehart

This should support both static values:

pipeline.NamedStep("some-step", action).
    WithEnv(map[string]interface{}{
        "key": "static-value",
    })

Or pipeline.StepArguments, that get resolved when the pipeline is executing:

pipeline.NamedSteps("some-step", action).
    WithEnv(map[string]interface{}{
        "key": pipeline.NewStringArgument("some-value"),
    })

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions