diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-20 00:37:01 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-20 00:37:01 +0900 |
commit | 8395c05d672d7f6117c2854218435ff71cf23294 (patch) | |
tree | 64a9272e9b37a4059ccd93e0250210345311b06d /scripts | |
parent | 04b7ec3e4b5a5aefcf3a1aa88368454eecccbcfd (diff) |
fix CMakeLists.txt
* install mscp from package at docker build phase.
* add docker-*-all custom targets.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-in-container.sh | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index 01d483c..49891c7 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -1,31 +1,13 @@ #!/bin/bash -e # -# Run this script in docker containers. This script installs mscp from built package -# and run test for mscp in the installed path. +# Run this script in mscp docker containers. +# This script runs end-to-end test with installed mscp. -source /etc/os-release script_dir=$(cd $(dirname ${0}) && pwd) cd $script_dir -project_version=$(cat ../VERSION) -arch=$(uname -p) set -x -# install package -case $ID in - ubuntu*) - pkg=mscp_${project_version}-${ID}-${VERSION_ID}-${arch}.deb - dpkg -i ../build/$pkg - ;; - centos* | rhel* | rocky*) - pkg=mscp_${project_version}-${ID}-${VERSION_ID}-${arch}.rpm - rpm -iv ../build/$pkg - ;; - *) - echo "unsupported test platform: $ID" - exit 1 -esac - # Run sshd if [ ! -e /var/run/sshd.pid ]; then /usr/sbin/sshd |