coreos / coreos/coreos-assembler
Add pipeline stream name to containers as labels
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 393
- Forks
- 193
- Avg merge
- 17h 6m
- Merged PRs (30d)
- 5
Description
Feature Request
Desired Feature
The release controller wants to be able to tell from which stream an RHCOS build came from just by looking at its container image as found in the release payload. That way, it can link to the right stream in the RHCOS release browser.
Let's add a label for this to the image to make that easier. For consistency, we should probably add it to all the containers and not just the main one (i.e. the extensions container too).
Example Usage
UX to be discussed. We want to avoid passing switches; that won't work as nicely for the extensions container. Probably simplest is to drop a file in src/ at the top and have cosa pick up on that.
Other Information
See https://github.com/openshift/release-controller/pull/503#discussion_r1131076358 and following.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how cosa assembles the main and extensions containers and how the top-level src/ directory is handled. Determine where the pipeline stream name is available and how image labels are applied; done means both containers carry the stream label so release-controller can identify the source stream.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100