Fixing bitbucket pipeline yaml

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-02-02 18:39:01 +01:00
parent 4a8baa3b2e
commit f11a4e81ca

View File

@ -4,27 +4,18 @@
# ----- # -----
# You can specify a custom docker image from Docker Hub as your build environment. # You can specify a custom docker image from Docker Hub as your build environment.
image: sutoj/builder:xenial image: sutoj/builder:bionic
clone: clone:
depth: 5 depth: 5
pipelines: pipelines:
default: default:
- step:
script:
- echo "Everything is awesome!"
branches:
epoll:
- step: - step:
script: script:
- service mysql start - service mysql start
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb --enable-tcpwrappers - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb
- make clean all install - make clean all install
- echo "create database piler character set 'utf8mb4'" | mysql - mysql -u piler -ppiler123 piler1 < /usr/share/piler/db-mysql.sql
- 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 - cd unit_tests
- ./run.sh - ./run.sh