diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2024-01-20 15:43:13 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2024-01-20 15:43:13 +0100 |
commit | f110c48ec37c4913a51cea6ce521ec1289bfab2b (patch) | |
tree | 1199fce3128e2b77fb455e934e170e1629b2e99d /contrib | |
parent | 9d290499b50775ec4791ac2809666ea7694b63be (diff) |
[ci] fixing CI testing, WIP
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ci/Containerfile | 1 | ||||
-rw-r--r-- | contrib/ci/jobs/2-test/config.ini | 2 | ||||
-rwxr-xr-x | contrib/ci/jobs/2-test/test.sh | 5 |
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ci/Containerfile b/contrib/ci/Containerfile index de760535..60096a0d 100644 --- a/contrib/ci/Containerfile +++ b/contrib/ci/Containerfile @@ -64,6 +64,7 @@ RUN cat /etc/apt/preferences.d/taler && \ taler-exchange-offline \ taler-auditor \ taler-wallet-cli \ + taler-harness \ && rm -rf /var/lib/apt/lists/* RUN apt-get update -yqq && \ diff --git a/contrib/ci/jobs/2-test/config.ini b/contrib/ci/jobs/2-test/config.ini index fe5df939..ae1f46cc 100644 --- a/contrib/ci/jobs/2-test/config.ini +++ b/contrib/ci/jobs/2-test/config.ini @@ -2,5 +2,5 @@ HALT_ON_FAILURE = False WARN_ON_FAILURE = True CONTAINER_BUILD = True -CONTAINER_NAME = merchant +CONTAINER_NAME = localhost/merchant CONTAINER_ARCH = amd64 diff --git a/contrib/ci/jobs/2-test/test.sh b/contrib/ci/jobs/2-test/test.sh index 4c414230..121c12f8 100755 --- a/contrib/ci/jobs/2-test/test.sh +++ b/contrib/ci/jobs/2-test/test.sh @@ -8,8 +8,7 @@ apt-get upgrade -yqq ./configure CFLAGS="-ggdb -O0" \ --enable-logging=verbose \ --disable-doc -make -make install +make -j install sudo -u postgres /usr/lib/postgresql/15/bin/postgres -D /etc/postgresql/15/main -h localhost -p 5432 & sleep 10 @@ -19,7 +18,7 @@ sudo -u postgres createdb -p 5432 -O root talercheck check_command() { # Set LD_LIBRARY_PATH so tests can find the installed libs - LD_LIBRARY_PATH=/usr/local/lib PGPORT=5432 make check + LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/taler PGPORT=5432 make check } print_logs() |