Tests: force checkout manifest-db
Manifest tests on Fedora 39 sometimes fail, because checking out the specific manifest-db commit fails with: "error: The following untracked working tree files would be overwritten by checkout" Use --force when checking out the ref, which will hopefully solve any error like this. [1] https://gitlab.com/redhat/services/products/image-builder/ci/osbuild/-/jobs/7317097983 Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
24c26e7787
commit
143677f5d9
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ MANIFEST_DB_COMMIT=$(cat Schutzfile | jq -r '.global.dependencies."manifest-db".
|
|||
MANIFEST_DB_REPO="https://github.com/osbuild/manifest-db"
|
||||
git clone "$MANIFEST_DB_REPO" manifest-db
|
||||
cd manifest-db
|
||||
git checkout "$MANIFEST_DB_COMMIT"
|
||||
git checkout --force "$MANIFEST_DB_COMMIT"
|
||||
|
||||
# update selinux labels for the image-info tool
|
||||
OSBUILD_LABEL=$(matchpathcon -n /usr/bin/osbuild)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue