Skip to content

Commit

Permalink
tests: Move skopeo test to rpm-ostree/container-deps
Browse files Browse the repository at this point in the history
And verify that `ostree container encapsulate` exists.  This
would have caught https://issues.redhat.com/browse/OCPBUGS-553
  • Loading branch information
cgwalters committed Sep 13, 2022
1 parent c59320a commit 80f0619
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
16 changes: 16 additions & 0 deletions tests/kola/rpm-ostree/container-deps
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
# Verify some dependencies of the rpm-ostree container stack.
# kola: { "exclusive": false }

set -xeuo pipefail

. $KOLA_EXT_DATA/commonlib.sh

# Verify this command exists since it's a hard dependency of ostree's container bits.
skopeo experimental-image-proxy --help

# Also this one verifies the linkage between ostree and rpm-ostree via extensions
h=$(ostree container encapsulate --help)
[[ "$h" =~ --copymeta ]] || fatal "missing ostree container"

ok skopeo
File renamed without changes.
11 changes: 0 additions & 11 deletions tests/kola/skopeo/proxy

This file was deleted.

0 comments on commit 80f0619

Please sign in to comment.