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 21, 2021
1 parent e3c6468 commit 38fe995
Show file tree
Hide file tree
Showing 5 changed files with 752 additions and 3 deletions.
101 changes: 101 additions & 0 deletions src/cdn_definitions/data.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
{
"cfme_version_mappings": {
"0.0": "0.0"
},
"env_to_releasever_mappings": {
"prod": {
"current_rhel0_beta": "0.0",
"current_rhel0_dist": "0.0",
"latest_rhel0_beta": "0.0",
"latest_rhel0_dist": "0.0"
},
"qa": {
"current_rhel0_beta": "0.0",
"current_rhel0_dist": "0.0",
"latest_rhel0_beta": "0.0",
"latest_rhel0_dist": "0.0"
},
"stage": {
"current_rhel0_beta": "0.0",
"current_rhel0_dist": "0.0",
"latest_rhel0_beta": "0.0",
"latest_rhel0_dist": null
}
},
"exclude_from_listings": [
"0.0"
],
"filter_arches_from_release": {
"0": [
"example_64"
]
},
"ignore_lp_version_product_ids": [
"000"
],
"origin_alias": [
{
"dest": "/origin",
Expand All @@ -9,6 +43,26 @@
"src": "/origin/rpm"
}
],
"override_initial_rhel_release": {
"0": "0.0"
},
"release_stream_mappings": {
"aus": [
"0.0"
],
"e4s": [
"0.0"
],
"eus": [
"0.0"
],
"other": [
"0.0"
],
"tus": [
"0.0"
]
},
"rhui_alias": [
{
"dest": "/content/aus/rhel8",
Expand Down Expand Up @@ -87,5 +141,52 @@
"src": "/content/rc/rhel/rhui"
}
],
"rhui_product_id": "000",
"signing_keys_mappings": {
"default": {
"beta_keys": [
"BBBBBBBB"
],
"ga_keys": [
"00000000"
]
},
"layered_product": {
"example-lp": {
"ga_keys": [
"00000000"
]
}
},
"major_version": {
"0": {
"beta_keys": [
"BBBBBBBB"
],
"ga_keys": [
"00000000"
]
}
},
"platform": {
"example_none": {
"ga_keys": []
},
"example_platform": {
"beta_keys": [
"BBBBBBBB"
],
"ga_keys": [
"FFFFFFFF"
]
}
}
},
"symlink_exceptions": [
"/this/is/an/example/"
],
"tps_variant_mappings": {
"example-arch": "Example-Variant"
},
"version": "1.0.0"
}
97 changes: 97 additions & 0 deletions src/cdn_definitions/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,100 @@ 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:
- "/this/is/an/example/"

release_stream_mappings:
aus:
- "0.0"
eus:
- "0.0"
tus:
- "0.0"
e4s:
- "0.0"
other:
- "0.0"

# Maps an environment to its current and latest dist and beta RHEL releasevers.
env_to_releasever_mappings:
qa:
current_rhel0_beta: "0.0"
current_rhel0_dist: "0.0"
latest_rhel0_beta: "0.0"
latest_rhel0_dist: "0.0"
stage:
current_rhel0_beta: "0.0"
current_rhel0_dist: "0.0"
latest_rhel0_beta: "0.0"
latest_rhel0_dist: null
prod:
current_rhel0_beta: "0.0"
current_rhel0_dist: "0.0"
latest_rhel0_beta: "0.0"
latest_rhel0_dist: "0.0"

# Workaround used to override cf-me's platform_full_version.
cfme_version_mappings:
"0.0": "0.0"

# Maps a RHEL variant substring to an expected TPS string.
tps_variant_mappings:
"example-arch": "Example-Variant"

# Workaround used to override the initial RHEL version
override_initial_rhel_release:
"0": "0.0"

# Maps an architecture to RHEL versions that do not include said architecture.
filter_arches_from_release:
"0":
- example_64

# 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:
- "000"

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

# 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:
example_platform:
ga_keys:
- "FFFFFFFF"
beta_keys:
- "BBBBBBBB"
example_none:
ga_keys: []
layered_product:
example-lp:
ga_keys:
- "00000000"
major_version:
"0":
ga_keys:
- "00000000"
beta_keys:
- "BBBBBBBB"
default:
ga_keys:
- "00000000"
beta_keys:
- "BBBBBBBB"


# A list of RHEL releasevers (minor versions) that should be excluded from listing files
exclude_from_listings:
- "0.0"
Loading

0 comments on commit 38fe995

Please sign in to comment.