mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +01:00
improving bitbucket pipeline
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
8eba3a0edb
commit
2dc31b59c0
@ -3,10 +3,28 @@
|
||||
# Only use spaces to indent your .yml configuration.
|
||||
# -----
|
||||
# You can specify a custom docker image from Docker Hub as your build environment.
|
||||
# image: docker-image:tag
|
||||
|
||||
image: sutoj/builder:xenial
|
||||
clone:
|
||||
depth: 5
|
||||
|
||||
pipelines:
|
||||
default:
|
||||
- step:
|
||||
script:
|
||||
- echo "Everything is awesome!"
|
||||
|
||||
branches:
|
||||
epoll:
|
||||
- step:
|
||||
script:
|
||||
- service mysql start
|
||||
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb --enable-tcpwrappers
|
||||
- make clean all install
|
||||
- echo "create database piler character set 'utf8mb4'" | mysql
|
||||
- echo "grant all privileges on piler.* to piler@localhost identified by 'piler123'" | mysql
|
||||
- echo "flush privileges" | mysql
|
||||
- mysql -u piler -ppiler123 piler < /usr/share/piler/db-mysql.sql
|
||||
- cd unit_tests
|
||||
- ./run.sh
|
||||
|
||||
|
@ -1,9 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
set -o nounset
|
||||
set -x
|
||||
|
||||
LD_LIBRARY_PATH=../src ./check_parser_utils
|
||||
LD_LIBRARY_PATH=../src ./check_parser
|
||||
LD_LIBRARY_PATH=../src ./check_rules
|
||||
LD_LIBRARY_PATH=../src ./check_digest
|
||||
LD_LIBRARY_PATH=../src ./check_mydomains
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user