From 2ef69ec8ebfa00322738fbb95b0ed79338ecb18f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 18 Mar 2021 12:53:17 +0200 Subject: fix some projects --- ci-prod.ick | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/ci-prod.ick b/ci-prod.ick index 5d0249d..3f5762d 100644 --- a/ci-prod.ick +++ b/ci-prod.ick @@ -619,6 +619,7 @@ projects: repo: git://git.liw.fi/clab ref: master location: src + workspace_name: clab pipelines: *deb_ci_pipelines - project: jt @@ -660,6 +661,7 @@ projects: repo: git://git.liw.fi/vmdb2 ref: debian/unstable location: src/debian + workspace_name: vmdb2-deb pipelines: *deb_ci_pipelines - project: liw-automation @@ -670,6 +672,7 @@ projects: repo: git://git.liw.fi/liw-automation ref: main location: src + workspace_name: liw-automation pipelines: *deb_ci_pipelines - project: summain-rs @@ -902,29 +905,18 @@ pipelines: apt-get install -y sudo adduser --disabled-password --gecos worker worker - # Change workspace to be owned by new account. - chown -R worker:worker /workspace - - - as_worker() { - sudo -u worker env "PATH=$PATH" "HOME=$HOME" "TMPDIR=$TMPDIR" "$@" - } - - as_worker rustc --version + rustc --version cd /workspace/src if [ -e check ] then # Clean up so that tests run in a repeatable environment. - as_worker git clean -fdx + git clean -fdx # Run build-time tests. - as_worker bash -x ./check + bash -x ./check fi - # Change workspace back to be owned by root. - chown -R root:root /workspace - -- cgit v1.2.1