mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-18 02:40:04 +00:00
Auto accept EULA for CI tests
This commit is contained in:
parent
cb7ec86765
commit
7fabead92d
@ -16,15 +16,15 @@ cd "${COMPOSEPATH}" && docker-compose exec -T php bash -c "find /startup.d/*.sh-
|
||||
echo "# ----------------------------------------------------------------------------------------"
|
||||
echo "# [TEST] ${f}"
|
||||
echo "# ----------------------------------------------------------------------------------------"
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}"; then
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}" "ACCEPT_EULA=1"; then
|
||||
sleep 5
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}"; then
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}" "ACCEPT_EULA=1"; then
|
||||
sleep 5
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}"; then
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}" "ACCEPT_EULA=1"; then
|
||||
sleep 5
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}"; then
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}" "ACCEPT_EULA=1"; then
|
||||
sleep 5
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}"; then
|
||||
if ! docker exec -t ${CONTAINER} bash "${f}" "ACCEPT_EULA=1"; then
|
||||
echo "[FAIl] ${f}"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -32,6 +32,11 @@ MSODBC_URL="https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17
|
||||
###
|
||||
### Pre-flight check
|
||||
###
|
||||
if [ "${#}" = "1" ]; then
|
||||
if [ "${1}" = "ACCEPT_EULA=1" ]; then
|
||||
ACCEPT_EULA=Y
|
||||
fi
|
||||
fi
|
||||
if [ "${ACCEPT_EULA}" != "Y" ]; then
|
||||
echo "MS ODBC EULA not accepted. Aborting installation."
|
||||
exit 0
|
||||
|
@ -32,6 +32,11 @@ MSODBC_URL="https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17
|
||||
###
|
||||
### Pre-flight check
|
||||
###
|
||||
if [ "${#}" = "1" ]; then
|
||||
if [ "${1}" = "ACCEPT_EULA=1" ]; then
|
||||
ACCEPT_EULA=Y
|
||||
fi
|
||||
fi
|
||||
if [ "${ACCEPT_EULA}" != "Y" ]; then
|
||||
echo "MS ODBC EULA not accepted. Aborting installation."
|
||||
exit 0
|
||||
|
@ -32,6 +32,11 @@ MSODBC_URL="https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17
|
||||
###
|
||||
### Pre-flight check
|
||||
###
|
||||
if [ "${#}" = "1" ]; then
|
||||
if [ "${1}" = "ACCEPT_EULA=1" ]; then
|
||||
ACCEPT_EULA=Y
|
||||
fi
|
||||
fi
|
||||
if [ "${ACCEPT_EULA}" != "Y" ]; then
|
||||
echo "MS ODBC EULA not accepted. Aborting installation."
|
||||
exit 0
|
||||
|
@ -32,6 +32,11 @@ MSODBC_URL="https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17
|
||||
###
|
||||
### Pre-flight check
|
||||
###
|
||||
if [ "${#}" = "1" ]; then
|
||||
if [ "${1}" = "ACCEPT_EULA=1" ]; then
|
||||
ACCEPT_EULA=Y
|
||||
fi
|
||||
fi
|
||||
if [ "${ACCEPT_EULA}" != "Y" ]; then
|
||||
echo "MS ODBC EULA not accepted. Aborting installation."
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user