Skip to content

NO-JIRA: extensions/Dockerfile: use fedora-archive.repo and revert "use fedora:latest"#1603

Merged
openshift-merge-bot[bot] merged 2 commits into
openshift:masterfrom
marmijo:revert-extensions-releasever
Sep 6, 2024
Merged

NO-JIRA: extensions/Dockerfile: use fedora-archive.repo and revert "use fedora:latest"#1603
openshift-merge-bot[bot] merged 2 commits into
openshift:masterfrom
marmijo:revert-extensions-releasever

Conversation

@marmijo
Copy link
Copy Markdown
Contributor

@marmijo marmijo commented Sep 4, 2024

A fedora-archive.repo file will now be used by older branches using EOL fedora container versions[1]. This now acts as our mechanism for handling the situation where the EOL Fedora content actually moves to a different location by pointing to the archived content directly. The fedora-archive.repo file in the testing-devel branch will be curled during the container setup instead of the fedora.repo file when the version goes EOL.

This does mean we'll still have to maintain this container setup by updating the curl command as the versions go EOL around each new release.

This reverts commit 94dfed8.

[1] coreos/fedora-coreos-config#3128

EDIT:

We can actually now use the fedora-archive.repo for both EOL and non-EOL fedora releases. We decided to use it for the extensions container so we dont have to swap out fedora.repo when versions go EOL. Make that change here too.

@openshift-ci-robot
Copy link
Copy Markdown

@marmijo: This pull request explicitly references no jira issue.

Details

In response to this:

A fedora-archive.repo file will now be used by older branches using EOL fedora container versions[1]. This now acts as our mechanism for handling the situation where the EOL Fedora content actually moves to a different location by pointing to the archived content directly. The fedora-archive.repo file will be curled during the container setup instead of the fedora.repo file when the version goes EOL.

This does mean we'll still have to maintain this container setup by updating the curl command as the versions go EOL around each new release.

This reverts commit 94dfed8.

[1] coreos/fedora-coreos-config#3128

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 4, 2024
@openshift-ci openshift-ci Bot requested review from jlebon and yasminvalim September 4, 2024 20:51
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 4, 2024
@marmijo marmijo force-pushed the revert-extensions-releasever branch from c499ca7 to f66fc3b Compare September 4, 2024 21:09
A `fedora-archive.repo` file will now be used by older branches using
EOL fedora container versions[1]. This now acts as our mechanism for
handling the situation where the EOL Fedora content actually moves to
a different location by pointing to the archived content directly. The
`fedora-archive.repo` file in the testing-devel branch will be curled
during the container setup instead of the `fedora.repo` file when the
version goes EOL.

This does mean we'll still have to maintain this container setup by
updating the curl command as the versions go EOL around each new release.

This reverts commit 94dfed8.

[1] coreos/fedora-coreos-config#3128
@marmijo marmijo force-pushed the revert-extensions-releasever branch from f66fc3b to 0392e6f Compare September 4, 2024 21:21
The `fedora-archive.repo` file now contains both EOL and non-EOL repo
locations[1]. This means we can change the extensions container, which uses
the fedora container, to utilize `fedora-archive.repo` as the only repo
configuration file. This reduces the maintenance burden because now we don't
have to change this curl statement when fedora versions reach EOL.

[1] coreos/fedora-coreos-config#3145
@marmijo
Copy link
Copy Markdown
Contributor Author

marmijo commented Sep 6, 2024

/retitle NO-JIRA: extensions/Dockerfile: use fedora-archive.repo and revert "use fedora:latest"

@openshift-ci openshift-ci Bot changed the title NO-JIRA: Revert "extensions/Dockerfile: use latest Fedora to generate repo" NO-JIRA: extensions/Dockerfile: use fedora-archive.repo and revert "use fedora:latest" Sep 6, 2024
@jlebon
Copy link
Copy Markdown
Member

jlebon commented Sep 6, 2024

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 6, 2024
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlebon, marmijo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 6, 2024

@marmijo: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot Bot merged commit 1bf9fa6 into openshift:master Sep 6, 2024
@dustymabe
Copy link
Copy Markdown
Member

We can actually now use the fedora-archive.repo for both EOL and non-EOL fedora releases. We decided to use it for the extensions container so we dont have to swap out fedora.repo when versions go EOL. Make that change here too.

Note this is flawed logic and I apologize if I somehow propagated it.

The fedora-archive repo doesn't live forever and it's not really meant to support EOL releases. It was created originally to support a specific problem we were having: coreos/fedora-coreos-tracker#400

Periodically EOL releases in the archive repo get cleaned up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants