Skip to content

generate-rhcos-versions: Only inject ADD rhel.repo if needed#26

Merged
cgwalters merged 5 commits intocoreos:mainfrom
cgwalters:rhcos-repo-only-if-needed
Jun 9, 2022
Merged

generate-rhcos-versions: Only inject ADD rhel.repo if needed#26
cgwalters merged 5 commits intocoreos:mainfrom
cgwalters:rhcos-repo-only-if-needed

Conversation

@cgwalters
Copy link
Copy Markdown
Member

generate-rhcos-versions: s/file/name/

file is a builtin Python keyword, we shouldn't override it.


generate-rhcos-versions: De-indent loop

It's more readable this way.


generate-rhcos-versions: Only inject ADD rhel.repo if needed

Only some of the examples actually install packages, not all.
In particular the selinux one does not, and I want to use it
as a test case to fix openshift/os#829

I'm thinking actually we should drop this bit entirely and rely
on host subscriptions or users doing it on their own, but
for now this works.


cgwalters added 3 commits June 8, 2022 10:44
`file` is a builtin Python keyword, we shouldn't override it.
It's more readable this way.
Only some of the examples actually install packages, not all.
In particular the `selinux` one does not, and I want to use it
as a test case to fix openshift/os#829

I'm thinking actually we should drop this bit entirely and rely
on host subscriptions *or* users doing it on their own, but
for now this works.
Copy link
Copy Markdown
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread ci/generate-rhcos-versions.py Outdated
Comment thread ci/generate-rhcos-versions.py Outdated
Copy link
Copy Markdown
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

cgwalters and others added 2 commits June 9, 2022 11:37
Co-authored-by: Benjamin Gilbert <bgilbert@backtick.net>
Co-authored-by: Benjamin Gilbert <bgilbert@backtick.net>
@cgwalters cgwalters merged commit 49f0cde into coreos:main Jun 9, 2022
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.

test-in-cluster broken by https://github.com/coreos/coreos-layering-examples/pull/20

3 participants