Skip to content

Conversation

@mike-nguyen
Copy link
Member

Add test to upgrade from RHCOS from the latest OCP y-stream release.
The test also ensures no packages are downgraded.

@mike-nguyen mike-nguyen force-pushed the rhcos_upgrade branch 2 times, most recently from 36802e1 to 3469587 Compare October 14, 2021 19:20
@miabbott
Copy link
Member

I used the system arch for the link. If I can find where the multi-arch graphs are, I think I can make this work on all arches. That would be for a separate PR.

I believe there is only one graph for all arches.

My read of https://github.com/openshift/cincinnati-graph-data#release-names seems to indicate that versions added to a channel apply to all arches as long as the "version property of the release-metadata file included in the release image" matches the version in the channel.

Looking at a recent s390x payload, it just uses the bare version:

$ sudo podman pull quay.io/openshift-release-dev/ocp-release:4.8.15-s390x
$ ctr=$(sudo podman create d53a74d241fadb7fa3856ce492bb78f0e58f803d01a3bc17ed49ef23f9c55739)
$ mnt=$(sudo podman mount $ctr)
$ sudo cat $mnt/release-manifests/release-metadata
{
  "kind": "cincinnati-metadata-v0",
  "version": "4.8.15",
  "previous": [
    "4.7.21",
    "4.7.22",
    "4.7.23",
    "4.7.24",
    "4.7.25",
    "4.7.26",
    "4.7.28",
    "4.7.29",
    "4.7.30",
    "4.7.31",
    "4.7.32",
    "4.7.33",
    "4.7.34",
    "4.8.10",
    "4.8.11",
    "4.8.12",
    "4.8.13",
    "4.8.14",
    "4.8.2",
    "4.8.3",
    "4.8.4",
    "4.8.5",
    "4.8.6",
    "4.8.7",
    "4.8.9"
  ],
  "metadata": {
    "description": "",
    "url": "https://access.redhat.com/errata/RHBA-2021:3821"
  }
}

I don't think we have shipped an update to only one arch yet, but I suppose it is possible.

Add test to upgrade from RHCOS from the latest OCP y-stream release.
The test also ensures no packages are downgraded.
Copy link
Member

@miabbott miabbott left a comment

Choose a reason for hiding this comment

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

This looks sane to me; built + ran the test successfully on my local workstation

@mike-nguyen mike-nguyen merged commit dd63990 into coreos:main Oct 15, 2021
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