-
Story
-
Resolution: Done
-
Normal
-
None
-
1
-
False
-
None
-
False
-
Enhancement
-
-
-
Builds Sprint #24, Builds Sprint #25, Builds Sprint #26
-
3
Story (Required)
As a developer trying to build applications from a Containerfile I want the buildah strategy to support the "stage" argument
<Describes high level purpose and goal for this story. Answers the questions: Who is impacted, what is it and why do we need it? How does it improve the customer’s experience?>
Background (Required)
<Describes the context or background related to this story>
From upstream issue:
I recently stumbled over a single Dockerfile that combined multiple output images and one had to run docker build --target STAGE to select which one should actually be built. And that was not possible with our sample build strategies because we had no parameter for the target stage. Adding this. Related Dockerfile feature: https://docs.docker.com/build/building/multi-stage/#stop-at-a-specific-build-stage
Out of scope
<Defines what is not included in this story>
- s2i build strategy
- Buildah tasks for Tekton/OpenShift Pipelines
Approach (Required)
<Description of the general technical path on how to achieve the goal of the story. Include details like json schema, class definitions>
- Add stage argument to buildah strategy
- Incorporate & deploy via the builds-operator
Dependencies
<Describes what this story depends on. Dependent Stories and EPICs should be linked to the story.>
Acceptance Criteria (Mandatory)
<Describe edge cases to consider when implementing the story and defining tests>
<Provides a required and minimum list of acceptance tests for this story. More is expected as the engineer implements this story>
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied
Done Checklist
- Code is completed, reviewed, documented and checked in
- Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
- Continuous Delivery pipeline(s) is able to proceed with new code included
- Customer facing documentation, API docs etc. are produced/updated, reviewed and published
- Acceptance criteria are met
- is documented by
-
RHDEVDOCS-6387 [DOC] Support "STAGE" as Parameter in Buildah Strategy
-
- Open
-
- is duplicated by
-
BUILD-1350 Support target build stage in buildah ClusterBuildStrategy
-
- Closed
-
- is related to
-
RHDEVDOCS-6384 Reference Documentation for Build Strategies
-
- Open
-
- links to