Commit Graph

183 Commits

Author SHA1 Message Date
19030bed35 Merge branch '2.3' into 2.4 2020-02-19 19:25:40 +02:00
61050ed125 Fix Avro C API link
The old link is dead.
2020-02-19 19:24:39 +02:00
39da32dac7 Merge branch '2.3' into 2.4 2020-01-27 15:49:54 +02:00
08616692a4 Fixed tests to be compatible with GCloud VMs
GCloud machines has more strict access rights settings. Derect calls of
'chmod' are needed to make all configuration files (e.g. 'fwf/rules') be
accessable by Maxscale.
2020-01-24 13:47:26 +02:00
4ae22f9991 Merge branch '2.3' into 2.4.5 2019-12-19 10:03:35 +02:00
1e4f7145ad Add build dependecy on libcurl-devel 2019-12-18 21:38:12 +02:00
f35664f903 Remove exception for RHEL 8 - now packages are also built with CentOS
We do not build RHEL packageas, but create RHEL repos as symlinks
to CentOS repos. For RHEL8 was an expection intruduced, because
CentOS 8 was not available at the time when RHEL8 was released.
Now CentOS 8 is also available, switching to CentOS 8 image.
2019-12-18 13:56:49 +02:00
e3402c42cc Merge branch '2.3' into 2.4 2019-12-16 09:37:01 +02:00
c04b7bc414 Fix typo in install_build_depends.sh 2019-12-14 22:13:30 +02:00
ad323bb837 Merge branch '2.3' into 2.4 2019-12-13 11:24:42 +02:00
da682b7777 Fix trailing whitespace in install_build_deps.sh 2019-12-12 23:31:38 +02:00
ba46cb4434 Enable 'PowerTools' yum repo if it is present
In CentOS8 some -devel packages are moved to PowerTools repository which
is disabled by default. install_build_depends now checks if this repo
is in the repolist then add enablerepo=PowerTools to the yum command
2019-12-11 17:35:32 +02:00
2fc42fca1e Remove Docker installation from build script
Installation of Docker is removed from build script because it is done
in the not very reliable way and can fail and cause build failure.
E.g. this installation causes conflict with existing Docker.
2019-12-11 13:08:27 +02:00
9dceff7d9d Merge branch '2.3' into 2.4 2019-12-03 10:05:34 +02:00
99d1ecd472 More reliable way to determine package manager type during the build
Checking presence of 'apt', 'yum' or 'zypper' command is not very
reliable way to determine package manager type.
E.g. OpenSUSE 25 has 'apt' which is wrapper over 'zypper' or rpm tools
can be installed on Ubuntu.
More relible way is to check /etc/*-release file and if it is not
availabe try to check presence of apt, yum or zypper
2019-11-28 16:10:57 +02:00
87ffceb3e5 Merge branch '2.3' into 2.4 2019-11-13 08:36:42 +02:00
c6364acaec Revert "Build and test in parallel"
This reverts commit 9e931918e2441b619281fd5e96979f35c8b402f9.
2019-11-13 08:33:09 +02:00
0a4caaf817 Merge branch '2.3' into 2.4 2019-11-12 08:50:17 +02:00
9e931918e2 Build and test in parallel
This speeds up builds when more CPUs are available. Also removed redundant
docker installation: mdbci already installs it.
2019-11-11 09:10:42 +02:00
9c62aafa93 Merge branch '2.3' into 2.4 2019-10-01 15:25:41 +03:00
e3b7804462 Fix URL to Avro package download page 2019-09-30 14:29:00 +03:00
0dce20e5e7 Merge branch '2.3' into 2.4 2019-09-27 12:30:58 +03:00
5b4af80b15 Clean up temparary directories after creation of binary repo
During the build first binary packages are generated and copied into
'pre-repo' direcotory. Then binary repository is created and next
step is to copy repository into final directory according agreed
binary repo sirectories structure. After it temparal direcotries
are not needed.
2019-09-26 11:08:23 +03:00
bf551c5b1e Merge branch '2.3' into 2.4 2019-08-09 03:01:00 +03:00
ab429c3202 Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2019-08-08 23:12:16 +03:00
284e5db68b Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2019-08-08 23:11:44 +03:00
910990115c add Docker to build VM temlates
Now Docker is installed to VM which are used to build Maxscale. It allows to run tests which require Docker without installing it
during build process.
2019-08-08 16:58:07 +03:00
27f11df700 Merge branch '2.3' into 2.4 2019-08-08 08:07:59 +03:00
2f40190555 Merge branch '2.2' into 2.3 2019-08-08 08:07:37 +03:00
2b0fe14676 fix sles link creation 2019-08-07 19:45:52 +03:00
bb43e6193e fix typo in copy_repos.sh 2019-08-07 16:00:12 +03:00
5d0112c397 add sles directory creation 2019-08-07 15:41:18 +03:00
2fa336d142 create symlink for sles15 2019-08-07 14:58:19 +03:00
e2400f5799 Add scripts to create repository with all minor versions
Some users need repository with all versions of Maxscale for easy version selection and downgrating
2019-08-07 14:46:02 +03:00
73803fff70 Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2019-07-03 13:08:08 +03:00
9b79b25903 Merge branch '2.3' into 2.4 2019-07-03 09:32:06 +03:00
280d620ccc remove spaces from maxscale.cnf in upgrade test 2019-07-03 00:36:19 +03:00
26ca7a98f8 Merge branch '2.2' into 2.3.9 2019-07-02 13:05:23 +03:00
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
5a6e2f43cf Merge branch '2.2' into 2.3.9 2019-07-02 10:06:33 +03:00
3e85500491 Merge branch '2.3' into 2.4 2019-07-02 08:38:15 +03:00
8ee54b76d6 Merge branch '2.2' into 2.3 2019-07-02 08:36:37 +03:00
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
8568822da2 Merge branch '2.3' into 2.4 2019-06-28 09:31:14 +03:00
e927366995 Merge branch '2.2' into 2.3 2019-06-28 09:27:56 +03:00
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
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
c0b238a9e7 MXS-2152: Add rudimentary test coverage collection
If the build is configred with -DGCOV=Y, a HTML report of code coverage is
generated in the log publish directory.
2019-05-10 13:20:32 +03:00
a9c1a8d18a Don't build dependencies with newer compiler 2019-05-07 10:02:37 +03:00
1f4ffd14e4 Always use a newer compiler on CentOS
For some reason the previous change was not commited in develop.
2019-04-29 12:46:00 +03:00