Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Add image.yaml option to inject OpenShift CVO annotations #3153

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

cgwalters
Copy link
Member

We had these in the legacy oscontainer for RHCOS, and OKD today hacks them in via a Dockerfile:
https://github.com/openshift/okd-machine-os/blob/0e9fbabbd3363bfc46d9d657bc173666e83e5d18/Dockerfile#L34

We need to carry support for this forward into the new format image, as it's what is used to display the OS version as part of the release image.

@cgwalters
Copy link
Member Author

OK now fixed up to use the contents of os-release, and this is now actually tested - I verified it fixes https://issues.redhat.com/browse/TRT-647

src/image-default.yaml Show resolved Hide resolved
src/cmdlib.sh Outdated Show resolved Hide resolved
@cgwalters cgwalters force-pushed the add-machine-os branch 2 times, most recently from 767eaf1 to 2708e97 Compare November 1, 2022 13:31
We had these in the legacy oscontainer for RHCOS, and OKD today
hacks them in via a Dockerfile:
https://github.com/openshift/okd-machine-os/blob/0e9fbabbd3363bfc46d9d657bc173666e83e5d18/Dockerfile#L34

We need to carry support for this forward into the new format image,
as it's what is used to display the OS version as part of the release
image.
@cgwalters
Copy link
Member Author

Ugh shell script 😦

@cgwalters cgwalters enabled auto-merge (rebase) November 1, 2022 13:46
@jlebon jlebon enabled auto-merge (rebase) November 1, 2022 14:13
@cgwalters
Copy link
Member Author

Test failure in kola is definitely not related, though we do need to chase that down
/override ci/prow/rhcos

@openshift-ci
Copy link

openshift-ci bot commented Nov 1, 2022

@cgwalters: Overrode contexts on behalf of cgwalters: ci/prow/rhcos

In response to this:

Test failure in kola is definitely not related, though we do need to chase that down
/override ci/prow/rhcos

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jlebon jlebon merged commit 0d0bddf into coreos:main Nov 1, 2022
cgwalters added a commit to cgwalters/os that referenced this pull request Nov 1, 2022
This is implemented by coreos/coreos-assembler#3153

We had these in the legacy oscontainer for RHCOS, and OKD today hacks them in via a Dockerfile:
https://github.com/openshift/okd-machine-os/blob/0e9fbabbd3363bfc46d9d657bc173666e83e5d18/Dockerfile#L34

We need to carry support for this forward into the new format image, as it's what is used to display the OS version as part of the release image.

Also xref https://issues.redhat.com/browse/TRT-647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants