mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
ci: Mask zincati for synthetic update
Our CI started falling over because coreos-assembler checks for units stuck activating as of https://github.com/coreos/coreos-assembler/pull/2810 Really need to centralize the code for this and fix the root problem, but...not today. xref https://github.com/coreos/coreos-assembler/pull/2814
This commit is contained in:
parent
d75b934c59
commit
b92dbc49f0
@ -40,6 +40,9 @@ EOF
|
|||||||
cd /ostree/repo/tmp
|
cd /ostree/repo/tmp
|
||||||
# https://github.com/ostreedev/ostree/issues/1569
|
# https://github.com/ostreedev/ostree/issues/1569
|
||||||
ostree checkout -H ${commit} t
|
ostree checkout -H ${commit} t
|
||||||
|
# xref https://github.com/coreos/coreos-assembler/pull/2814
|
||||||
|
systemctl mask --now zincati
|
||||||
|
# Create a synthetic commit for upgrade
|
||||||
ostree commit --no-bindings --parent="${commit}" -b staged-deploy -I --consume t
|
ostree commit --no-bindings --parent="${commit}" -b staged-deploy -I --consume t
|
||||||
newcommit=$(ostree rev-parse staged-deploy)
|
newcommit=$(ostree rev-parse staged-deploy)
|
||||||
orig_mtime=$(stat -c '%.Y' /sysroot/ostree/deploy)
|
orig_mtime=$(stat -c '%.Y' /sysroot/ostree/deploy)
|
||||||
|
Loading…
Reference in New Issue
Block a user