108 Commits

Author SHA1 Message Date
Timofey Turenko
2b0fe14676 fix sles link creation 2019-08-07 19:45:52 +03:00
Timofey Turenko
bb43e6193e fix typo in copy_repos.sh 2019-08-07 16:00:12 +03:00
Timofey Turenko
5d0112c397 add sles directory creation 2019-08-07 15:41:18 +03:00
Timofey Turenko
2fa336d142 create symlink for sles15 2019-08-07 14:58:19 +03:00
Andrey Vasilyev
8d91e8e234 Install TCL from the source code only when the system version of the library is older than 8.6.5 2019-07-02 13:03:59 +03:00
Timofey Turenko
ce2d3778d5 change upgrade_test.sh according changes in MDBCI install_product command
The logic of MDBCI 'install_product' command was changed: now it works in the same way as product installation during initial VM start
(using Chef). Everything moved to Chef recipe and there is no need in 'setup_repo' command
2019-07-01 10:42:48 +03:00
Timofey Turenko
b796351b2c make apt non-interactive in install_build_deps.sh
In Ubuntu Bionic there is need to update libssl which causes system services restart
and apt asks user to allow this restart. It cases build script to hang and build fails due to timeout.
Additional dpkg options and DEBIAN_FRONTEND=noninteractive solves the problem
2019-06-28 00:15:28 +03:00
Timofey Turenko
6e6ab07642 Make .ssh/id_rsa.pub default source of public keys for VMs
'build' and 'run_test' copies public ssh keys to all created VMs
Legacy code takes keys from different locations, e.g. ~/build-scripts/team_keys which
causes errors due to lack of such files.
Now public keys goes from file defined on  or if not defined
from .ssh/id_rsa.pub of current host machine
2019-05-21 13:21:23 +03:00
Timofey Turenko
4128937d37 fix rhel repo copying 2019-04-09 15:33:52 +03:00
Timofey Turenko
0ce5f87a91 Add support for RHEL8 repository creation 2019-04-09 13:57:25 +03:00
Timofey Turenko
966787e119 do not create or copy repos if build failed 2019-03-04 11:29:38 +02:00
Timofey Turenko
9ec4557075 create symlink rhel -> centos and do not use real rhel build 2019-03-01 15:13:54 +02:00
Timofey Turenko
b0efcea3f6
Remove vagrant lock from build.sh and run_test.sh (#190)
vagrant_lock was created in order to prevent parallel execution of two 'Vagrant up' operations in parallel. Previously it was necessary due to Vagrant internal Chef issue. Now several bugs in Vagrant are fixed and MDBCI uses own Chef to provision nodes for builds and tests. There is no need to wait for previous Vagrant run finished, removing all waiting from all scripts.
'rm vagrant_lock is still present to remove locks created by previous versions of build and test scripts-
2019-02-25 14:22:32 +02:00
Timofey Turenko
a9f6955fc8 Revert "add systemd-dev package to the build env"
This reverts commit da6d358f9fee7cb7302f082f179c45f581e681d3.
2019-01-31 14:07:52 +02:00
Timofey Turenko
da6d358f9f add systemd-dev package to the build env 2019-01-29 14:14:46 +02:00
Oleksandr Kovtunenko
d569cff98f try to Fix MXS-2206 (#185)
* try to Fix MXS-2206

* use sort -v

* return empty line
2019-01-08 11:58:35 +02:00
Markus Mäkelä
79d1eb19d7
Disable unit test leak checks for DEB packages
The unit tests themselves don't leak memory but some of the core
components of MaxScale do. To ignore this, ASAN_OPTIONS needs to be
defined.
2018-10-02 09:44:02 +03:00
Markus Mäkelä
4554bd1743
Cherry-pick: Fix ASAN problems
Cherry-picking the commit from develop since it's also needed for 2.2.

FindASAN did not look for so version 5 and TSAN referred to ASAN. Disable
leak checks for unit tests as some objects always leak, namely servers.
2018-09-30 20:12:35 +03:00
Timofey Turenko
5612896b80 regenerate repo.d only for current target 2018-07-27 14:58:29 +03:00
Timofey Turenko
d6be2cb70d fix typo in upgrade_test 2018-07-27 14:58:29 +03:00
Timofey Turenko
81507349f3 remove reference to repo.d from upgrade_test 2018-07-27 14:58:29 +03:00
Timofey Turenko
ba680b674d do not call mdbci repo config in build.sh and upgrade_test.sh 2018-07-27 14:58:29 +03:00
Markus Mäkelä
9e039ed024
Fix typo in DEB install scripts
The package suffix was wrong.
2018-07-05 12:01:38 +03:00
Markus Mäkelä
1aa5dcf659
Do rsync without --delete
rsync with the --delete flag will destroy artifacts generated by other
jobs. This broke the build_all job.
2018-07-04 15:41:18 +03:00
Timofey Turenko
05e8773161 fix typo in chmod for all binary repository dirs and files 2018-07-04 09:11:32 +03:00
Timofey Turenko
afdf28c0b9
Access rights for binary repository files and dirs (#178)
fix typo in chmod for all binary repository dirs and files
2018-07-04 09:08:55 +03:00
Timofey Turenko
45752e0a45 chmod for all binary repository dirs and files 2018-07-03 16:14:09 +03:00
Timofey Turenko
db81ba0005 set proper access rights for binary repo directory 2018-06-29 17:45:11 +03:00
Timofey Turenko
7c0ea3220c set memory size for build VM to 4096 2018-05-18 12:51:33 +03:00
Esa Korhonen
7ede6b321c Merge branch '2.1' into 2.2 2018-05-08 13:35:08 +03:00
Timofey Turenko
e2b9e95e63 add libedit-dev build dependency to DEB-builds 2018-04-30 14:13:41 +03:00
Markus Mäkelä
825d48fe05
MXS-1757: Fix build failure when libsnappy is installed
The Avro C API links against snappy if it is present on the system unless
SNAPPY_FOUND=N is defined. This is not exactly the cleanest way to disable
it but it is the only way to do it.
2018-04-04 19:43:47 +03:00
Timofey Turenko
fa41ca28e2 remove trailing whitespaces from MDBCI scripts 2018-03-29 15:51:36 +03:00
Timofey Turenko
7be55a77bb add several attempts to connect in upgrade test 2018-03-29 14:16:26 +03:00
Markus Mäkelä
6e859fcf02
Merge branch '2.1' into 2.2 2018-03-27 07:25:00 +03:00
Markus Mäkelä
9b61947205
Attempt to install libasan for RPM systems
Attempting to install libasan allows CentOS 7 to be used with ASAN while
still allowing CentOS 6 to be built.
2018-03-27 07:23:45 +03:00
Timofey Turenko
830858a161 Fix build VM restore process
Moving 'mdbci destroy' bofere creating build.json to prevent
build.json from being deleted by 'destroy' command.
2018-03-22 12:02:44 +02:00
Markus Mäkelä
d6319ec6ee
MXS-1697: Install pkg-config for Debian systems
The build scripts did not install the pkg-config package that the Avro-C
API depends on.
2018-03-07 10:43:07 +02:00
Markus Mäkelä
187cd2cb79
Make install scripts less verbose
We don't need to know the contents of the tarballs on each build.
2018-03-07 10:43:07 +02:00
Markus Mäkelä
ed74f2d4a8
MXS-1697: Install pkg-config for Debian systems
The build scripts did not install the pkg-config package that the Avro-C
API depends on.
2018-03-06 15:58:48 +02:00
Markus Mäkelä
e41f6e0a48
Make install scripts less verbose
We don't need to know the contents of the tarballs on each build.
2018-03-06 15:58:22 +02:00
Johan Wikman
8bfb4f231a Merge branch '2.1' into 2.2 2018-03-06 10:38:01 +02:00
Timofey Turenko
deae7ea922 add system update before build to build script 2018-03-05 13:17:17 +02:00
Johan Wikman
5c10d0ae92 Merge branch '2.1' into 2.2 2018-02-12 14:00:08 +02:00
Markus Mäkelä
f252f25624
Move the CDC Connector into its own package
The connector is now in its own package to make its installation easier.
2018-02-12 13:31:10 +02:00
Timofey Turenko
2a93cfac8c fix big and big15 templates 2018-02-09 21:58:10 +02:00
Timofey Turenko
a6c97bea2a Update README.md 2018-02-09 21:58:10 +02:00
Timofey Turenko
bdac232811 Update README.md 2018-02-09 21:58:10 +02:00
Timofey Turenko
b1ba30a21e Fix relative links in the README 2018-02-09 21:58:10 +02:00
Timofey Turenko
19b6de6192 Fix README syntax 2018-02-09 21:58:10 +02:00