Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Update molecule images for upgrades #875

Closed
mikedep333 opened this issue Feb 4, 2022 · 2 comments · Fixed by #1324
Closed

Update molecule images for upgrades #875

mikedep333 opened this issue Feb 4, 2022 · 2 comments · Fixed by #1324
Assignees
Labels

Comments

@mikedep333
Copy link
Member

mikedep333 commented Feb 4, 2022

These are the images used for release-upgrade

platforms:
  - <<: *platform_base
    name: centos-7
    # molecule often fails to pull, so we pull all images in .travis.yml
    image: quay.io/pulp/pulp_rpm-ci-c7:3.1.0
    command: /sbin/init
  - <<: *platform_base
    name: debian-11
    image: quay.io/pulp/pulp-ci-dbullseye:3.14.4
    command: /sbin/init
  - <<: *platform_base
    name: fedora-33
    image: quay.io/pulp/pulp_rpm-ci-f33:3.9.0
    command: /usr/sbin/init

And these are the images used for source-upgrade:

platforms:
  - <<: *platform_base
    name: debian-11
    # molecule often fails to pull, so we pull all images in .travis.yml
    image: quay.io/pulp/pulp-ci-dbullseye:3.14.4
    command: /sbin/init
  - <<: *platform_base
    name: fedora-33
    image: quay.io/pulp/pulp_rpm-ci-f33:3.9.0
    command: /usr/sbin/init

There are 3 shortcomings:

  1. centos-7 is not tested for source-upgrade
  2. centos-8 is not tested at all (this was an omission I made due to being a hurry a few years ago). It should be created for a version inbetween 3.14 and 3.18.
  3. fedora 33 is EOL should be replaced with Fedora 35. The images should be created for the latest version, 3.18.

We should also document how we create them. The most important step (docker commit) is listed here:
https://github.com/pulp/pulp_installer/blob/main/docs/contributing.md

Rough list of steps:

  1. Identify the version of pulpcore/pulp_installer you want to create the image from.
  2. If the version is old, put the variables for the plugin versions in molecule/release-static/group_vars/all . You'll need to research compatible versions. This will be an ad-hoc modification to the file.
  3. Ad-hoc modify molecule/release-static/group_vars/all for any differences vs the intended test, such as the webserver.
  4. run molecule create && molecule converge (defaults to release-static)
  5. Run docker commit
  6. Modify molecule.yml
  7. Run the upgrade test.
  8. Upload the images to quay.io (or whatever new repo we are using.)
@stale
Copy link

stale bot commented Jun 1, 2022

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@stale stale bot added the stale label Jun 1, 2022
@stale
Copy link

stale bot commented Jun 8, 2022

This issue is no longer marked for closure.

@stale stale bot removed the stale label Jun 8, 2022
@git-hyagi git-hyagi self-assigned this Jun 8, 2022
@mikedep333 mikedep333 assigned mikedep333 and unassigned git-hyagi Jul 27, 2022
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 1, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 1, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 1, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 1, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 2, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 2, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 2, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 2, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 2, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit that referenced this issue Aug 3, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: #875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Aug 26, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
mikedep333 added a commit to mikedep333/pulp_installer that referenced this issue Sep 6, 2022
source-upgrade tests.

Includes creating new upgrade images on quay.io.

Fixes: pulp#875
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants