/
githubmirror
/
skopeo
Обзор
Документация
Войти
/
githubmirror
/
skopeo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
hack/warn-destructive-tests.sh
17 строк
713 B
Miloslav Trmač
Finally, eliminate hack/make.sh
06 апр 2023, 22:45
06 апр 2023, 22:45
c538340
Код
Авторство
О чём код?
#!/usr/bin/env bash set -e # Set this to 1 to enable installation/modification of environment/services export SKOPEO_CONTAINER_TESTS=${SKOPEO_CONTAINER_TESTS:-0} if [[ "$SKOPEO_CONTAINER_TESTS" == "0" ]] && [[ "$CI" != "true" ]]; then ( echo "***************************************************************" echo "WARNING: Executing tests directly on the local development" echo " host is highly discouraged. Many important items" echo " will be skipped. For manual execution, please utilize" echo " the Makefile targets WITHOUT the '-local' suffix." echo "***************************************************************" ) > /dev/stderr sleep 5 fi