rpm-ostree/ci/install-test-deps.sh
Colin Walters c48e8bfad3 ci: Rework build/test dependency install
Now that `ci/installdeps.sh` gracefully exits if run as non-root,
we can fold the cargo bits into the our build scripts and avoid
invoking both of them.

However, now we need to split test deps to separate file because
we won't have `cargo` in the main cosa pod.  This also fixes a FIXME.

Steal the `grep` invocation from cosa and make it a declarative
text file so we can have comments per package etc.
2021-02-16 18:18:27 -05:00

7 lines
129 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
dn=$(dirname $0)
. ${dn}/libbuild.sh
deps=$(grep -v '^#' "${dn}"/testdeps.txt)
pkg_install ${deps}