coreos / coreos/coreos-assembler

Add pipeline stream name to containers as labels

Open
#3,390 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.