This repository has been archived by the owner on Mar 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 44be5f3
Showing
2,028 changed files
with
743,131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
*.o | ||
*.a | ||
*.yate | ||
Makefile | ||
*.so | ||
*.so.6.0.0 | ||
/yate/config.log | ||
/yate/config.status | ||
/yate/yate | ||
/yate/yate.pc | ||
/yate/yateiss.inc | ||
/access_token.json | ||
/yate/run | ||
/yate/yate-config | ||
/yate/yatepaths.h | ||
/yate/yateversn.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
stages: | ||
- build | ||
- upload | ||
|
||
build_job: | ||
stage: build | ||
image: "debian:stretch" | ||
before_script: | ||
- apt-get -y -qq update | ||
- apt-get -y -qq install build-essential libsqlite3-dev pkg-config patchelf | ||
script: | ||
# Install client dist | ||
- make install | ||
- cp integration/helpline.service dist_root/srv/helpline/ | ||
# Checker dist | ||
- make install_checker | ||
- mkdir -p checker_root/systemd/ | ||
- cp integration/helpline.service checker_root/systemd/helpline_checker.service | ||
artifacts: | ||
paths: | ||
- metadata.yml | ||
- dist_root/ | ||
- checker_root/ | ||
only: | ||
- master | ||
tags: | ||
- faust | ||
- docker | ||
|
||
upload_job: | ||
stage: upload | ||
script: | ||
- ssh [email protected] mkdir -p "/var/www/files/internal/ci/faustctf/2018/$CI_PROJECT_NAME" | ||
- tar -v -czp -H posix -f dist_root.tar.gz -C dist_root . | ||
- tar -v -czp -H posix -f checker_root.tar.gz -C checker_root . | ||
- scp metadata.yml dist_root.tar.gz checker_root.tar.gz "[email protected]:/var/www/files/internal/ci/faustctf/2018/$CI_PROJECT_NAME/" | ||
after_script: | ||
- find "$CI_PROJECT_DIR" -mindepth 1 -delete | ||
variables: | ||
GIT_STRATEGY: none | ||
only: | ||
- master | ||
tags: | ||
- faust | ||
- www-upload | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
SERVICE := helpline | ||
DESTDIR ?= dist_root/ | ||
CHECKERDIR ?= checker_root/ | ||
SERVICEDIR ?= /srv/$(SERVICE) | ||
#MAKEFLAGS = -j9 | ||
|
||
.PHONY: build install build_checker install_checker | ||
|
||
build: | ||
cd yate/ ; CFLAGS="-g -O2" ./configure --prefix=$(shell pwd)/dist_root/$(SERVICEDIR) --without-mysql --without-libgsm --without-libspeex --without-openssl --without-libqt4 | ||
$(MAKE) $(MAKEFLAGS) -C yate/ | ||
|
||
install: build | ||
install -d $(DESTDIR)$(SERVICEDIR) | ||
$(MAKE) -C yate/ install | ||
rm $(DESTDIR)$(SERVICEDIR)/etc/yate/*.conf | ||
install conf.d-service/*.conf $(DESTDIR)$(SERVICEDIR)/etc/yate/ | ||
install -d $(DESTDIR)$(SERVICEDIR)/share/yate/sounds/helpline/ | ||
install sounds-IVR/*.mulaw $(DESTDIR)$(SERVICEDIR)/share/yate/sounds/helpline/ | ||
patchelf --set-rpath $(SERVICEDIR)/lib/ $(DESTDIR)$(SERVICEDIR)/bin/yate | ||
|
||
build_checker: | ||
$(MAKE) -C yate/ clean | ||
cd yate/ ; CFLAGS="-g -DCHECKER -O2" ./configure --prefix=$(shell pwd)/checker_root/helpline/ --without-mysql --without-libgsm --without-libspeex --without-openssl --without-libqt4 | ||
$(MAKE) $(MAKEFLAGS) -C yate/ | ||
|
||
install_checker: build_checker | ||
install -d $(CHECKERDIR)/helpline | ||
$(MAKE) -C yate/ install | ||
rm $(CHECKERDIR)/helpline/etc/yate/*.conf | ||
install conf.d-checker/*.conf $(CHECKERDIR)/helpline/etc/yate/ | ||
install -d $(CHECKERDIR)/helpline/share/yate/sounds/helpline/ | ||
patchelf --set-rpath /srv/helpline/lib/ $(CHECKERDIR)/helpline/bin/yate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .helplinechecker import HelplineChecker |
Oops, something went wrong.