Skip to content

oracle8 is the new centos8 - #638

Merged
rafie merged 5 commits into
masterfrom
ck-centos8-ol8
Feb 1, 2022
Merged

rafie merged 5 commits into
masterfrom
ck-centos8-ol8

Conversation

@chayim

@chayim chayim commented Feb 1, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@chayim
chayim requested a review from rafie February 1, 2022 12:25
rafie
rafie previously approved these changes Feb 1, 2022
@codecov

codecov Bot commented Feb 1, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #638 (0afa356) into master (01361b1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #638   +/-   ##
=======================================
  Coverage   83.25%   83.25%           
=======================================
  Files          11       11           
  Lines        3231     3231           
=======================================
  Hits         2690     2690           
  Misses        541      541           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01361b1...0afa356. Read the comment docs.

Comment thread sbin/get-redisearch
fi
elif [[ $dist == centos || $dist == redhat || $dist == fedora ]]; then
if [[ $nick == centos8 ]]; then
elif [[ $dist == centos || $dist == redhat || $dist == fedora || $dist == ol ]]; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ol without nick == ol8 falls to rhel7
is this right? Does this flow exist?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Practically, we have two options for CentOS-like systems, rhel7 and rhel8 (note that those are RLEC-style names which we're forced to use in packages). The former will work on most systems (so unless we're a type-8 system - which falls under the category of osnick == centos8/ol8, because we don't distinguish between rhel8 and centos8 on the osnick level).
If you find it a conceptual hell, you're not wrong. It is.

Comment thread tests/qa/qatests
'platform': 'Linux-rhel7',
'env': 'rhel7.7-amd64-aws' },
'cenos8': {
'centos8': {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why keep centos8 if it is replaced??

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's not being replaced. I think once they fix it, it will be back. Note that 'centos8' is not just CentOS 8 literally, but the class of systems which are compatible with RHEL8. The point is that some systems, like Oracle Linux and Amazon Linux are not exactly 100% compatible with it (for instance, names of some packages may be different), so we keep them a little bit apart until we know them better. They do qualify for redhat_compat in system-setup.py though.

@rafie
rafie self-requested a review February 1, 2022 20:25
@rafie
rafie merged commit 692ebac into master Feb 1, 2022
@rafie
rafie deleted the ck-centos8-ol8 branch February 1, 2022 20:52
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.

3 participants