Enable GitLab CI testing
Implemented GitLab CI testing process additionally to existing Travis CI. The new testing process is added to run tests faster. It requires to control a load of machines to avoid flaky fails on timeouts. GitLab CI allows us to run testing on our machines. Created 2 stages for testing and deploying packages. The testing stage contains the following jobs that are run for all branches: * Debian 9 (Stretch): release/debug gcc. * Debian 10 (Buster): release clang8 + lto. * OSX 14 (Mojave): release. * FreeBSD 12: release gcc. And the following jobs that are run of long-term branches (release branches: for now it is 1.10, 2.1 and master): * OSX 13 (Sierra): release clang. * OSX 14 (Mojave): release clang + lto. The deployment stage contains the same jobs as we have in Travis CI. They however just build tarballs and packages: don't push them to S3 and packagecloud. In order to run full testing on a short-term branch one can name it with '-full-ci' suffix. The additional manual work is needed when dependencies are changed in .travis.mk file ('deps_debian' or 'deps_buster_clang_8' goals): | make GITLAB_USER=foo -f .gitlab.mk docker_bootstrap This command pushes docker images into GitLab Registry and then they are used in testing. Pre-built images speed up testing. Fixes #4156
Showing
- .gitlab-ci.yml 321 additions, 0 deletions.gitlab-ci.yml
- .gitlab.mk 107 additions, 0 deletions.gitlab.mk
- .travis.mk 79 additions, 26 deletions.travis.mk
- .travis.yml 3 additions, 0 deletions.travis.yml
- test/app-tap/console.skipcond 7 additions, 0 deletionstest/app-tap/console.skipcond
- test/app-tap/debug.skipcond 8 additions, 0 deletionstest/app-tap/debug.skipcond
- test/app-tap/http_client.skipcond 7 additions, 0 deletionstest/app-tap/http_client.skipcond
- test/app-tap/minimal.skipcond 8 additions, 0 deletionstest/app-tap/minimal.skipcond
- test/app-tap/pwd.skipcond 8 additions, 0 deletionstest/app-tap/pwd.skipcond
- test/app-tap/tarantoolctl.skipcond 8 additions, 0 deletionstest/app-tap/tarantoolctl.skipcond
- test/app/crypto.skipcond 7 additions, 0 deletionstest/app/crypto.skipcond
- test/app/digest.skipcond 7 additions, 0 deletionstest/app/digest.skipcond
- test/app/socket.skipcond 5 additions, 0 deletionstest/app/socket.skipcond
- test/box-tap/cfg.skipcond 8 additions, 0 deletionstest/box-tap/cfg.skipcond
- test/box/net.box.skipcond 7 additions, 0 deletionstest/box/net.box.skipcond
- test/box/net_msg_max.skipcond 7 additions, 0 deletionstest/box/net_msg_max.skipcond
- test/replication/misc.skipcond 7 additions, 0 deletionstest/replication/misc.skipcond
- test/replication/skip_conflict_row.skipcond 7 additions, 0 deletionstest/replication/skip_conflict_row.skipcond
- test/wal_off/snapshot_stress.skipcond 7 additions, 0 deletionstest/wal_off/snapshot_stress.skipcond
Loading
Please register or sign in to comment