You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
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
This commit is contained in:
committed by
Alan Mologorsky
parent
a079a2c944
commit
1eca477485
31
setup-repo.sh
Executable file
31
setup-repo.sh
Executable file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
. /etc/os-release
|
||||
|
||||
ARCH=$(expr "$(uname -m)" : "arm64\|aarch64" > /dev/null && echo "arm64" || echo "amd64")
|
||||
|
||||
case "$ID" in
|
||||
ubuntu|debian)
|
||||
apt update -y
|
||||
apt install -y ca-certificates
|
||||
echo "deb [trusted=yes] ${PACKAGES_URL}/${ARCH}/ ${OS}/" > /etc/apt/sources.list.d/repo.list
|
||||
cat /etc/apt/sources.list.d/repo.list
|
||||
apt update -y
|
||||
;;
|
||||
rocky|centos)
|
||||
cat << EOF > /etc/yum.repos.d/repo.repo
|
||||
[repo]
|
||||
name=repo
|
||||
baseurl=${PACKAGES_URL}/${ARCH}/${OS}
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
module_hotfixes=1
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
echo "$ID is unknown!"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user