Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workaround(publish.sh) Only check the last 3 Jenkins versions for publication #1558

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Jan 31, 2023

The PR #1549 introduced a new image definition: ubi-9.
Alas, our publication process is fragile and broke following this change.

This PR is a a workaround on the publication script to avoid breakage (in short term).

It only checks the past 3 Jenkins versions instead of the past 30: that should avoid the 1 hour timeout that is blocking the recent 2.389 publication.

In details: the script (for Linux container images) checks for the past 30 Jenkins version if they are published or not. If not, then it's rebuilt and published.
But the function in charge of checking if "pusblished" relies on the output of make --silent show, e.g. directly from the conten t of the docker-bake.hcl file.
Since #1549 and until this PR is merged, the publication process checks for ubi9 tag for each of these 30 versions, which of coure did not exist, leading to a full (and costly) rebuild of all.

Long term, we might want to propose a new delivery system: this "script" is painful, breaks often (and does not work for Windows images).
We should not try to rebuild a given tag.

PS: since the latest LTS 2.375.2 was rebuilt and redeployed, we'll have to communicate to users

@dduportal dduportal marked this pull request as ready for review January 31, 2023 16:48
@dduportal dduportal requested a review from a team as a code owner January 31, 2023 16:48
@dduportal dduportal changed the title workaround(pulish.sh) Only check the last 3 Jenkins versions for publication workaround(publish.sh) Only check the last 3 Jenkins versions for publication Jan 31, 2023
@MarkEWaite MarkEWaite merged commit 3719367 into master Jan 31, 2023
@MarkEWaite MarkEWaite deleted the workaround/publish branch January 31, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants