]> git.ipfire.org Git - thirdparty/pdns.git/blob - .circleci/config.yml
Merge pull request #7595 from rgacogne/auth-packetcache-tests-contention
[thirdparty/pdns.git] / .circleci / config.yml
1 version: 2.1
2
3 commands:
4 auth-regress:
5 description: "run one auth regression context"
6 parameters:
7 skip:
8 type: string
9 default: ""
10 context:
11 type: string
12 default: ""
13 steps:
14 - run: |
15 cd regression-tests
16 [ -e ./vars ] && . ./vars
17 rm -rf tests/*/skip
18 for t in << parameters.skip >>
19 do
20 touch tests/$t/skip
21 done
22 ./start-test-stop 5300 << parameters.context >>
23
24 jobs:
25 build:
26 docker:
27 - image: debian:stretch
28 - image: mcr.microsoft.com/mssql/server:2019-CTP2.2-ubuntu
29 environment:
30 - ACCEPT_EULA: Y
31 - SA_PASSWORD: 'SAsa12%%'
32
33 steps:
34 - checkout
35
36 - run:
37 name: install dependencies
38 command: ./build-scripts/circleci.sh debian-stretch-deps
39
40 - run:
41 name: autoconf
42 command: autoreconf -vfi
43
44 - run:
45 name: configure
46 command: ./configure --disable-lua-records --with-modules='bind gmysql godbc random'
47
48 - run:
49 name: build
50 command: make -j3 -k
51
52 - run:
53 name: test gsqlite3 odbc
54 command: ./build-scripts/circleci.sh configure-odbc-sqlite; cd regression-tests ; touch tests/verify-dnssec-zone/allow-missing ; GODBC_SQLITE3_DSN=pdns-sqlite3-1 ./start-test-stop 5300 godbc_sqlite3-nsec3
55
56 - run:
57 name: set up mssql odbc
58 command: ./build-scripts/circleci.sh configure-odbc-mssql ; echo 'create database pdns' | isql -v pdns-mssql-docker-nodb sa SAsa12%%
59
60 - run:
61 name: set up mssql odbc testing
62 command: |
63 cd regression-tests
64 echo 'export GODBC_MSSQL_PASSWORD=SAsa12%% GODBC_MSSQL_USERNAME=sa GODBC_MSSQL_DSN=pdns-mssql-docker' > ./vars
65
66 - auth-regress:
67 context: godbc_mssql-nodnssec
68 skip: 8bit-txt-unescaped
69 - auth-regress:
70 context: godbc_mssql
71 skip: 8bit-txt-unescaped
72 - auth-regress:
73 context: godbc_mssql-nsec3
74 skip: 8bit-txt-unescaped
75 - auth-regress:
76 context: godbc_mssql-nsec3-optout
77 skip: 8bit-txt-unescaped verify-dnssec-zone
78 - auth-regress:
79 context: godbc_mssql-nsec3-narrow
80 skip: 8bit-txt-unescaped