mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-22 23:21:11 +02:00
This relies on two PRs to the buildkit: * https://github.com/moby/buildkit/pull/1081 * https://github.com/moby/buildkit/pull/1085 Sysfs fix was merged to upstream, so updated tag, while using `Dockerfile` slug I can switch to dockerfile2llb with support for `--security=insecure`. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
27 lines
318 B
Bash
Executable File
27 lines
318 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
CGO_ENABLED=1
|
|
|
|
perform_tests() {
|
|
echo "Performing tests"
|
|
go test -v -covermode=atomic -coverprofile=coverage.txt ./...
|
|
}
|
|
|
|
perform_short_tests() {
|
|
echo "Performing short tests"
|
|
go test -v -short ./...
|
|
}
|
|
|
|
case $1 in
|
|
--short)
|
|
perform_short_tests
|
|
;;
|
|
*)
|
|
perform_tests
|
|
;;
|
|
esac
|
|
|
|
exit 0
|