Preparatory cleanup bits for work on https://pagure.io/releng/issue/11047 #11120
No reviewers
Labels
No labels
after freeze
automation
backlog
blocked
change-ack
change-nak
change-noreleng
changes
Closed As
Can't Fix
Closed As
Duplicate
Closed As
Fixed
Closed As
Fixed with Explanation
Closed As
Get back later
Closed As
Grooming
Closed As
Insufficient data
Closed As
Invalid
Closed As
It's all good
Closed As
taiga
Closed As
upstream
day-to-day
dev
docs
easyfix
epel
f26
f27
f28
f29
f30
f31
f32
f33
f34
f35
f36
f37
f38
f39
f40
f41
f42
f43
f44
f45
fedora
groomed
high-gain
high-trouble
in-progress
in-review
investigation
legal
low-gain
low-trouble
mass rebuild
medium-gain
medium-trouble
meeting
mini-initiative
new_artifact
ops
pdc_retirement
rawhide
RCA
review
script
sidetarget
sprint-0
sprint-1
sprint-2
sprint-3
sprint-4
sprint-5
unfrozen
waiting on external
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
releng/tickets!11120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sync-script-cleanups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
scripts/sync-container: Deduplicate assignment of registries
Prep for further work.
Signed-off-by: Colin Walters walters@verbum.org
scripts/sync-container: Consolidate assignments
Having the
minimal_build_name =right before the comparisonfor
build_namewas just confusing.Signed-off-by: Colin Walters walters@verbum.org
scripts/sync-container: Dedup copy code
Prep for further work
Signed-off-by: Colin Walters walters@verbum.org
scripts/sync-container: Deduplicate manifest list code
Prep for further work.
Signed-off-by: Colin Walters walters@verbum.org
(The first two commits here are least risky and could be peeled off separately even)
Ping?
I don't have commit access here, but the changes look well contained and good to me.
@cverna you've merged things in this repo before, could you have a look?
rebased onto
db0cc0063aIt looks ok to me too. Lets merge.
Pull-Request has been merged by kevin
Thanks! Is there a place I can see the logs from this process?
Yep. Should be at the end of the output from the rawhide compose in the 'releng-cron' mailing list.
Here's todays:
https://lists.fedoraproject.org/archives/list/releng-cron@lists.fedoraproject.org/thread/G5RPFEQR4XKSCKDVEM5PGY7HGHRF2ANL/
OK...I think it worked?
That said one major problem with this script today is that it doesn't use
set -eand so will happily plow forward on errors...and it looks to me like we may kind of be relying on that in the case where some container images aren't built on some architectures.One odd thing... the 'rawhide' tag seems to have gone missing. ;( Could it be related to this change?
From the logs:
So yes, possibly. Please feel free to revert for now. As I've been working on adding the ostree-container stuff into this script I am just thinking that it will make more sense to have a separate script.
koji latest-buildwill download the latestsuccessfulbuild which for all releases except rawhide means having all the architectures. But yeah we should definitely addset -eto exit on errors.rawhide builds don't fail if an architecture fails so we had a build with only aarch64 and this was pushed to the rawhide tag and since we use a manifest list we don't have any matching images for x86 or other architecture.
Maybe we should require rawhide builds to have all architecture to be successful to avoid this in the future?
I did a manual run to push the rawhide and I had the following failures, i reverted the commits locally and I can try to look at this into more details tomorrow.
Needed a small fix https://pagure.io/releng/pull-request/11179# but it is now in production and working