mirror of
https://github.com/containers/skopeo.git
synced 2025-08-16 21:47:21 +00:00
In order to meet achievable deadlines converting from Travis to Cirrus CI, one significant artifact was carried forward (instead of fixing): Depending on a `--privileged` container to execute all/most automated checks/tests. Prior attempts to remove this aspect resulted in several test failures. Fixing the problems was viewed as more time-consuming than simply preserving this runtime environment. Time has passed, and the code has since moved on. This commit removes the legacy need to execute CI operations in a `--privileged` container, instead running them directly on the host. At the same time, the necessary test binaries are obtained from the same container used for development/local testing purposes. This ensures the two experiences are virtually always identical. Signed-off-by: Chris Evich <cevich@redhat.com>
13 lines
206 B
Bash
Executable File
13 lines
206 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
bundle_test_integration() {
|
|
go_test_dir ./integration
|
|
}
|
|
|
|
# subshell so that we can export PATH without breaking other things
|
|
(
|
|
make PREFIX=/usr install
|
|
bundle_test_integration
|
|
) 2>&1
|