Skip to content

Commit 3510866

Browse files
committed
Merge branch 'master' into v1.10
2 parents 883d2cb + 5a399a5 commit 3510866

File tree

1,424 files changed

+18025
-185790
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,424 files changed

+18025
-185790
lines changed

.drone.yml

+42-11
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,67 @@ name: unit-tests
44

55
steps:
66
- name: bootstrap
7-
image: signalwire/freeswitch-public-base
7+
image: signalwire/freeswitch-public-base:bullseye
88
pull: always
99
commands:
1010
- cat /proc/sys/kernel/core_pattern
1111
- ./bootstrap.sh -j
1212

1313
- name: configure
14-
image: signalwire/freeswitch-public-base
14+
image: signalwire/freeswitch-public-base:bullseye
1515
pull: always
16+
environment:
17+
REPOTOKEN:
18+
from_secret: repotoken
1619
commands:
20+
- echo "machine freeswitch.signalwire.com password $REPOTOKEN" > /etc/apt/auth.conf
1721
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libsofia-sip-ua0 libspandsp-dev
1822
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libspandsp3-dev
23+
- export REPOTOKEN=''
24+
- rm -rf /etc/apt/auth.conf
1925
- git clone https://github.com/freeswitch/sofia-sip.git
2026
- cd sofia-sip && ./autogen.sh && ./configure.gnu && make -j`nproc` && make install && cd ..
2127
- echo 'codecs/mod_openh264' >> modules.conf
2228
- sed -i '/applications\\/mod_http_cache/s/^#//g' modules.conf
2329
- sed -i '/event_handlers\\/mod_rayo/s/^#//g' modules.conf
2430
- sed -i '/formats\\/mod_opusfile/s/^#//g' modules.conf
2531
- sed -i '/languages\\/mod_lua/s/^#//g' modules.conf
26-
- export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1;
27-
- ./configure --enable-address-sanitizer
32+
- export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1:fast_unwind_on_malloc=0
33+
- ./configure --enable-address-sanitizer --enable-fake-dlclose
2834

2935
- name: build
30-
image: signalwire/freeswitch-public-base
36+
image: signalwire/freeswitch-public-base:bullseye
3137
pull: always
38+
environment:
39+
REPOTOKEN:
40+
from_secret: repotoken
3241
commands:
42+
- echo "machine freeswitch.signalwire.com password $REPOTOKEN" > /etc/apt/auth.conf
3343
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libsofia-sip-ua0 libspandsp-dev
3444
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libspandsp3-dev
45+
- export REPOTOKEN=''
46+
- rm -rf /etc/apt/auth.conf
3547
- cd sofia-sip && make install && cd ..
3648
- echo '#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./build-status.txt\n' > build.sh
3749
- chmod +x build.sh
3850
- ./build.sh
3951

4052
- name: run-tests
41-
image: signalwire/freeswitch-public-base
53+
image: signalwire/freeswitch-public-base:bullseye
4254
pull: always
55+
environment:
56+
REPOTOKEN:
57+
from_secret: repotoken
4358
commands:
59+
- echo "machine freeswitch.signalwire.com password $REPOTOKEN" > /etc/apt/auth.conf
4460
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libsofia-sip-ua0 libspandsp-dev
4561
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libspandsp3-dev
62+
- export REPOTOKEN=''
63+
- rm -rf /etc/apt/auth.conf
4664
- cd sofia-sip && make install && cd ..
4765
- make install || true
4866
- cd tests/unit
67+
- export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1:fast_unwind_on_malloc=0
4968
- ./run-tests.sh
5069
- ls -la /cores
5170
- mkdir logs && (mv log_run-tests_*.html logs || true) && (mv backtrace_*.txt logs || true)
@@ -78,17 +97,23 @@ name: scan-build
7897

7998
steps:
8099
- name: bootstrap
81-
image: signalwire/freeswitch-public-base
100+
image: signalwire/freeswitch-public-base:bullseye
82101
pull: always
83102
commands:
84103
- ./bootstrap.sh -j
85104

86105
- name: configure
87-
image: signalwire/freeswitch-public-base
106+
image: signalwire/freeswitch-public-base:bullseye
88107
pull: always
108+
environment:
109+
REPOTOKEN:
110+
from_secret: repotoken
89111
commands:
112+
- echo "machine freeswitch.signalwire.com password $REPOTOKEN" > /etc/apt/auth.conf
90113
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
91114
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
115+
- export REPOTOKEN=''
116+
- rm -rf /etc/apt/auth.conf
92117
- cp build/modules.conf.most modules.conf
93118
#Enable/Uncomment mods
94119
- echo 'codecs/mod_openh264' >> modules.conf
@@ -115,13 +140,19 @@ steps:
115140
- ./configure
116141

117142
- name: scan-build
118-
image: signalwire/freeswitch-public-base
143+
image: signalwire/freeswitch-public-base:bullseye
119144
pull: always
145+
environment:
146+
REPOTOKEN:
147+
from_secret: repotoken
120148
commands:
149+
- echo "machine freeswitch.signalwire.com password $REPOTOKEN" > /etc/apt/auth.conf
121150
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
122151
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
152+
- export REPOTOKEN=''
153+
- rm -rf /etc/apt/auth.conf
123154
- mkdir -p scan-build
124-
- echo '#!/bin/bash\nscan-build-7 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
155+
- echo '#!/bin/bash\nscan-build-11 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
125156
- chmod +x scan.sh
126157
- ./scan.sh
127158
- exitstatus=`cat ./scan-build-status.txt`
@@ -147,6 +178,6 @@ trigger:
147178

148179
---
149180
kind: signature
150-
hmac: a85b0db203d2c9a71c3e4a63a46b5513fbdb3b8f5135e21d0fe0992f33626824
181+
hmac: 780e4aaee61e3683ea4a8d6fe5131f7c9e62ebad727546013f18df0fca80d705
151182

152183
...

0 commit comments

Comments
 (0)