Skip to content

Commit

Permalink
Populate cdn-definitions with various cdn-utils data [RHELDST-4797]
Browse files Browse the repository at this point in the history
  • Loading branch information
crungehottman committed Feb 12, 2021
1 parent a21c4d8 commit cee6d1a
Show file tree
Hide file tree
Showing 5 changed files with 931 additions and 3 deletions.
136 changes: 136 additions & 0 deletions src/cdn_definitions/data.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,50 @@
{
"cfme_version_mappings": [
{
"platform_full_version": "5.1",
"platform_version": "2.0"
}
],
"env_to_releasever_mappings": {
"prod": {
"current_rhel5_beta": "5.11",
"current_rhel5_dist": "5.11",
"latest_rhel5_beta": "5.11",
"latest_rhel5_dist": "5.11"
},
"qa": {
"current_rhel5_beta": "5.11",
"current_rhel5_dist": "5.11",
"latest_rhel5_beta": "5.11",
"latest_rhel5_dist": "5.11"
},
"stage": {
"current_rhel5_beta": "5.11",
"current_rhel5_dist": "5.11",
"latest_rhel5_beta": "5.11",
"latest_rhel5_dist": "5.11"
}
},
"exclude_from_listings": [
"5.0",
"5.1",
"5.2",
"5.3",
"5.4",
"5.5",
"5.6",
"6.0"
],
"filter_arch_from_releases": {
"ppc64": [
"4",
"5"
]
},
"ignore_lp_version_product_ids": [
"123",
"456"
],
"origin_alias": [
{
"dest": "/origin",
Expand All @@ -9,6 +55,40 @@
"src": "/origin/rpm"
}
],
"override_initial_rhel_release": {
"5": "5.7",
"6": "6.2",
"7": "7.0"
},
"product_cert_version_mappings": {
"5": "5.10",
"6": "6.8"
},
"release_stream_mappings": {
"aus": [
"5.3",
"5.6",
"7.2",
"8.0"
],
"e4s": [
"7.2",
"8.0"
],
"eus": [
"4.5",
"6.2",
"8.0"
],
"tus": [
"6.7",
"8.0"
]
},
"rhel_ll_tps_stream_mappings": {
"5.3": "RHEL-%s-LL-%s",
"5.4": "RHEL-%s-LL-%s"
},
"rhui_alias": [
{
"dest": "/content/aus/rhel8",
Expand Down Expand Up @@ -87,5 +167,61 @@
"src": "/content/rc/rhel/rhui"
}
],
"rhui_product_id": "222",
"signing_keys_mappings": {
"default": {
"beta_keys": [
"F21541EB"
],
"ga_keys": [
"FD431D51"
]
},
"layered_product": {
"e2e-cve-rebuilds": {
"ga_keys": [
"37036783"
]
},
"release-e2e-test": {
"ga_keys": [
"37036783"
]
}
},
"major_version": {
"3": {
"beta_keys": [
"DB42A60E",
"897DA07A"
],
"ga_keys": [
"DB42A60E"
]
}
},
"platform": {
"middleware": {
"ga_keys": []
},
"rhs": {
"beta_keys": [
"F21541EB"
],
"ga_keys": [
"F21541EB",
"FD431D51"
]
}
}
},
"symlink_exceptions": [
"/content/dist/rhel-alt/server/7/$releasever/"
],
"uppercase_tps_variants": {
"arm": "Server",
"arm-64": "Server",
"client": "Client"
},
"version": "1.0.0"
}
133 changes: 133 additions & 0 deletions src/cdn_definitions/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,136 @@ origin_alias:
# permanent.
- src: /origin/rpm
dest: /origin/rpms


# Content set prefixes which should be using symlinks at the $releasever level
# according to normal business logic, but for historical reasons are exempt
# and instead do not use symlinks.
symlink_exceptions:
- "/content/dist/rhel-alt/server/7/$releasever/"

release_stream_mappings:
aus:
- "5.3"
- "5.6"
- "7.2"
- "8.0"
eus:
- "4.5"
- "6.2"
- "8.0"
tus:
- "6.7"
- "8.0"
e4s:
- "7.2"
- "8.0"


# Maps an environment to it's current and latest dist and beta RHEL releasevers.
env_to_releasever_mappings:
qa:
current_rhel5_beta: "5.11"
current_rhel5_dist: "5.11"
latest_rhel5_beta: "5.11"
latest_rhel5_dist: "5.11"
stage:
current_rhel5_beta: "5.11"
current_rhel5_dist: "5.11"
latest_rhel5_beta: "5.11"
latest_rhel5_dist: "5.11"
prod:
current_rhel5_beta: "5.11"
current_rhel5_dist: "5.11"
latest_rhel5_beta: "5.11"
latest_rhel5_dist: "5.11"

# Workaround used to override cf-me's platform_full_version.
cfme_version_mappings:
- platform_version: "2.0"
platform_full_version: "5.1"

# Maps a RHEL variant substring to an expected TPS string.
uppercase_tps_variants:
"arm": "Server"
"arm-64": "Server"
"client": "Client"

# Maps a RHEL version to the corresponding TPS stream. Used only for extended update streams.
rhel_ll_tps_stream_mappings:
"5.3": "RHEL-%s-LL-%s"
"5.4": "RHEL-%s-LL-%s"

# Workaround used to override the initial RHEL version
override_initial_rhel_release:
"5": "5.7"
"6": "6.2"
"7": "7.0"

# Maps an architecture to RHEL versions that do not include said architecture.
filter_arch_from_releases:
"ppc64":
- "4"
- "5"

# Maps a RHEL major version to the releasever (minor version) for use in
# rhsm-get-product-certs.
product_cert_version_mappings:
"5": "5.10"
"6": "6.8"

# Add your product ID here if your layered product's content sets identify a
# "layered_product_version", but you do not wish to set the "product_version" field in your
# repo's repo notes to your product's layered_product_version.
# Does not apply to cert, openstack, openstack-director, openstack-optools, ose-3.0, or rhs.
ignore_lp_version_product_ids:
- "123"
- "456"

# The RHUI product ID. Used to identify RHUI repos that do not contain the 'rhui' substring.
rhui_product_id: "222"

# Maps a major RHEL version (platform_major_version), a layered product, or a platform to a list
# of acceptable GA signing keys (ga_keys) and (optional) beta signing keys (beta_keys). The
# default mapping is used to define default signing keys.
signing_keys_mappings:
platform:
rhs:
ga_keys:
- "F21541EB"
- "FD431D51"
beta_keys:
- "F21541EB"
middleware:
ga_keys: []
layered_product:
release-e2e-test:
ga_keys:
- "37036783"
e2e-cve-rebuilds:
ga_keys:
- "37036783"
major_version:
"3":
ga_keys:
- "DB42A60E"
beta_keys:
- "DB42A60E"
- "897DA07A"
default:
ga_keys:
- "FD431D51"
beta_keys:
- "F21541EB"


# A list of RHEL releasevers (minor versions) that should be excluded from listing files
exclude_from_listings:
- "5.0"
- "5.1"
- "5.2"
- "5.3"
- "5.4"
- "5.5"
- "5.6"
- "6.0"
Loading

0 comments on commit cee6d1a

Please sign in to comment.