1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

CI from develop + cmapi [develop-23.02] (#2863)

* MCOL-5496: Merge CMAPI code to engine repo.

[add] cmapi code to engine

* MCOL-5496: Fix CI adding CMAPI steps.

[fix] deb packages deps commands
[add] several additional local variables
[fix] packages url
[fix] smoke step
[fix] mtr step
[fix] regression step
[add] cmapipython, cmapibuild, cmapitest and cmapilog steps
[fix] dockerfile step
[fix] build step to include cmapi package on repodata creating
[fix] multi_node_mtr step
[fix] pkg step
[add] cmapi steps to pipelines
[fix] cmapi/CMakeLists.txt to prevent cmake byte-compile .py files for rpm packages
[add] setup-repo.sh file
[fix] now use packages from the repos in tests steps

* Adding color 2 build script

* Build script and logging scripts from develop

* Remove test 222 from full regression, it is missing in 23.02 regression set

---------

Co-authored-by: mariadb-AlanMologorsky <alan.mologorsky@mariadb.com>
Co-authored-by: mariadb-RomanNavrotskiy <roman.navrotskiy@mariadb.com>
This commit is contained in:
Leonid Fedorov
2023-06-09 17:36:17 +03:00
committed by GitHub
parent 9e1eac448a
commit e2367a9495
100 changed files with 15648 additions and 119 deletions

View File

@@ -0,0 +1,12 @@
import json
import cherrypy as cp
class APIError(cp.HTTPError):
def __init__(self, status: int = 500, message: str = ''):
super().__init__(status=status)
self._error_message = message
def set_response(self):
super().set_response()
response = cp.serving.response
response.body = json.dumps({'error': self._error_message}).encode()