Skip to content

Commit

Permalink
manifests: move from rojig to metadata
Browse files Browse the repository at this point in the history
Now that cosa supports looking at the `metadata` key, let's finally stop
abusing the `rojig` key.
  • Loading branch information
jlebon committed Nov 19, 2024
1 parent 2822e38 commit 7f698a8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifest-c9s.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Manifest for CentOS Stream CoreOS 9

rojig:
metadata:
license: MIT
name: scos
summary: CentOS Stream CoreOS 9
Expand Down
2 changes: 1 addition & 1 deletion manifest-ocp-rhel-9.4.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Manifest for OCP node based on RHEL 9.4
# Note: this manifest is temporary; in the future, OCP components will be layered instead.

rojig:
metadata:
license: MIT
name: rhcos
summary: OpenShift 4.18
Expand Down
2 changes: 1 addition & 1 deletion manifest-ocp-rhel-9.6.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Manifest for OCP node based on RHEL 9.6
# Note: this manifest is temporary; in the future, OCP components will be layered instead.

rojig:
metadata:
license: MIT
name: rhcos
summary: OpenShift 4.18
Expand Down
2 changes: 1 addition & 1 deletion manifest-okd-c9s.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Manifest for OKD node based on CentOS Stream CoreOS 9
# Note: this manifest is temporary; in the future, OKD components will be layered instead.

rojig:
metadata:
license: MIT
name: scos
summary: OKD 4.18
Expand Down
2 changes: 1 addition & 1 deletion manifest-rhel-9.4.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Manifest for RHCOS based on RHEL 9.4

rojig:
metadata:
license: MIT
name: rhcos
summary: RHEL CoreOS 9.4
Expand Down
2 changes: 1 addition & 1 deletion manifest-rhel-9.6.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Manifest for RHCOS based on RHEL 9.6

rojig:
metadata:
license: MIT
name: rhcos
summary: RHEL CoreOS 9.6
Expand Down
2 changes: 1 addition & 1 deletion packages-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ postprocess:
# This works around the fact that we can't currently access manifest
# variables from postprocess scripts, though we just use the name, since
# it's easier.
variant=$(jq -r .rojig.name /usr/share/rpm-ostree/treefile.json)
variant=$(jq -r .metadata.name /usr/share/rpm-ostree/treefile.json)
if [ $variant = "scos" ]; then
colloquial_name=SCOS
project_name=OKD
Expand Down

0 comments on commit 7f698a8

Please sign in to comment.