about summary refs log tree commit homepage
path: root/ci
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-13 09:12:41 +0000
committerEric Wong <e@80x24.org>2023-09-14 10:06:24 +0000
commitf051f5255c063d6e10637e6efc05876564e8e9be (patch)
tree85ed87a2e2814876effd36bd9932b934fcd65c10 /ci
parent8affa863b069186a367debcf695760a2df09d9ca (diff)
downloadpublic-inbox-f051f5255c063d6e10637e6efc05876564e8e9be.tar.gz
We'll leave forcing `--yes' to ci/run.sh and remove --purge
usage with apt-get(1) entirely.  Also start defining some
more profiles aimed at users who want a minimal install for
the subset of public-inbox they wish to use.

There'll be some more built-in dependency handling to work
across different distros, but the $always_deps thing is a
start.
Diffstat (limited to 'ci')
-rwxr-xr-xci/run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/run.sh b/ci/run.sh
index 5aa22491..54563f1c 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -1,6 +1,7 @@
 #!/bin/sh
 # Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+# Beware, this alters system-wide package installation.
 set -e
 SUDO=${SUDO-'sudo'} PERL=${PERL-'perl'} MAKE=${MAKE-'make'}
 DO=${DO-''}
@@ -15,7 +16,7 @@ NPROC=${NPROC-$({ getconf _NPROCESSORS_ONLN || getconf NPROCESSORS_ONLN ||
 
 $PERL -w ci/profiles.perl | while read args
 do
-        $DO $SUDO $PERL -w install/deps.perl --allow-remove $args
+        $DO $SUDO $PERL -w install/deps.perl -y --allow-remove $args
         $DO $PERL Makefile.PL
         $DO $MAKE -j${BUILD_JOBS-$NPROC}
         $DO $MAKE -j${TEST_JOBS-1} ${TEST_TARGET-test}