summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-18 12:53:17 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-18 12:53:17 +0200
commit2ef69ec8ebfa00322738fbb95b0ed79338ecb18f (patch)
tree761ff91e4ab6a413458bea646665cb2e73b0c33a
parentbbdfd815cc3feb545d9964ebae7d87e19527ff2d (diff)
downloadliw-ci-2ef69ec8ebfa00322738fbb95b0ed79338ecb18f.tar.gz
fix some projects
-rw-r--r--ci-prod.ick20
1 files 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
-