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

[CI:DOCS] Resolve TODO: human-readable image-suffixes #251

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

cevich
Copy link
Member

@cevich cevich commented Jan 26, 2023

This conditional was required temporarily so #247 could merge. Remove
and replace it with a version that avoids modifying any files and only
checks if IMG_SFX changes were made.

Depends on #247

@cevich
Copy link
Member Author

cevich commented Jan 26, 2023

Note: This validate failure is expected. it will go away once #247 is merged and this PR is rebased.

ci/validate.sh Outdated Show resolved Hide resolved
@cevich cevich force-pushed the versionable_suffixes_two branch 4 times, most recently from 89b9efd to 208894c Compare January 27, 2023 16:42
@cevich cevich changed the title [CI:DOCS] Resolve TODO: human-readable image-suffixes Resolve TODO: human-readable image-suffixes Jan 27, 2023
@cevich cevich force-pushed the versionable_suffixes_two branch 2 times, most recently from e0bbcf5 to 6950877 Compare January 27, 2023 17:01
@cevich
Copy link
Member Author

cevich commented Jan 27, 2023

Example image-build PR (no magic CI:DOCS) fails if IMG_SFX was not updated: https://cirrus-ci.com/task/5186152676720640

@cevich
Copy link
Member Author

cevich commented Jan 27, 2023

Example image-build PR w/ updated IMG_SFX file: https://cirrus-ci.com/task/4728253965926400

@cevich cevich force-pushed the versionable_suffixes_two branch from 8fd5be1 to 8ab7de0 Compare January 27, 2023 17:06
@cevich
Copy link
Member Author

cevich commented Jan 27, 2023

Example of image-build PR where IMG_SFX was updated backwards in time: ...failed. It allowed build to continue 😢

@cevich cevich force-pushed the versionable_suffixes_two branch from 8ab7de0 to 755e60f Compare January 27, 2023 18:56
@cevich
Copy link
Member Author

cevich commented Jan 27, 2023

Example of image-build PR with IMG_SFX going backwards in time: https://cirrus-ci.com/task/6738409188753408 (expected failure)

@cevich cevich changed the title Resolve TODO: human-readable image-suffixes [CI:DOCS] Resolve TODO: human-readable image-suffixes Jan 27, 2023
@cevich cevich force-pushed the versionable_suffixes_two branch from a605f14 to 7db06b5 Compare January 27, 2023 19:00
@cevich cevich marked this pull request as ready for review January 27, 2023 19:02
@cevich cevich requested a review from edsantiago January 27, 2023 19:02
@cevich
Copy link
Member Author

cevich commented Jan 27, 2023

@edsantiago this is probably not completely the most efficient way to do things, but testing shows it seems to function as intended. PTAL when you get a chance.

Copy link
Member

@edsantiago edsantiago left a comment

Choose a reason for hiding this comment

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

LGTM other than one question

ci/validate.sh Show resolved Hide resolved
This conditional was required temporarily so PR containers#247 could merge.  Remove
and replace it with a version that avoids modifying any files and only
checks if `IMG_SFX` changes were made.

Signed-off-by: Chris Evich <[email protected]>
@cevich cevich force-pushed the versionable_suffixes_two branch from 7db06b5 to 43fa788 Compare January 30, 2023 15:44
@cevich
Copy link
Member Author

cevich commented Jan 30, 2023

Force-push: One little exit 0 fix.

@cevich cevich merged commit f7d4dba into containers:main Jan 30, 2023
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.

2 participants