X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Fopendispense2.git;a=blobdiff_plain;f=.gitlab-ci.yml;fp=.gitlab-ci.yml;h=6f6de61d2d78ff5e11df203cfcbb58ac8af7d730;hp=72fc89a01c9eda83665cd75166eaf3f1d1f2393c;hb=51933a63039ddd15179c57bbd3518e024c0f6e0f;hpb=26262e4bd6dd8ce3126957788bb78ee37c0dde39 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 72fc89a..6f6de61 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,9 @@ test: stage: test before_script: # Install the -dev versions to avoid needing to find the actual library names - - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident netcat sqlite3 oidentd + - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident netcat sqlite3 - useradd testuser && chown -R testuser . + # SETUID on the client, so it can use AUTOAUTH (ident doesn't work on the container) + - chmod u+s dispense script: - cd tests && su -c './TEST_basic.sh' testuser