403Webshell
Server IP : 162.213.251.208  /  Your IP : 3.148.106.105
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : jmoroovq ( 1890)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/run-tests-with-docker
#!/usr/bin/env bash
set -eo pipefail

SELFDIR=$(dirname "$0")
SELFDIR=$(cd "$SELFDIR" && pwd)
PASSENGER_ROOT=$(cd "$SELFDIR/../.." && pwd)
# shellcheck source=lib/functions.sh
source "$SELFDIR/lib/functions.sh"
cd "$PASSENGER_ROOT"

autodetect_environment
sanity_check_environment
echo

if [[ "$OS" != linux ]]; then
	echo "ERROR: this script can only be run on Linux." >&2
	exit 1
fi

if tty -s; then
	TTY_ARGS='-t -i'
else
	TTY_ARGS=
fi

run_exec docker run --rm $TTY_ARGS \
	-v "$PASSENGER_ROOT:/passenger" \
	-v "$CACHE_DIR:/passenger/.ci_cache" \
	-e "APP_UID=$(id -u)" \
	-e "APP_GID=$(id -g)" \
	-e "DEBUG_CONSOLE=$DEBUG_CONSOLE" \
	-e "TEST_RUBY_VERSION=$TEST_RUBY_VERSION" \
	-e "COMPILE_CONCURRENCY=$COMPILE_CONCURRENCY" \
	-e "SUDO=$SUDO" \
	phusion/passenger-ci-docker-env:2.0.6 \
	/sbin/my_init --skip-runit --skip-startup-files --quiet -- \
	/passenger/dev/ci/scripts/inituidgid \
	/sbin/setuser app \
	/bin/bash -lc 'cd /passenger && exec "$@"' \
	./dev/ci/scripts/docker-entrypoint.sh \
	./dev/ci/scripts/docker-entrypoint.sh \
	"$@"

Youez - 2016 - github.com/yon3zu
LinuXploit