Skip to content

Commit 8f5cc97

Browse files
LeonidVasTotktonada
andcommitted
cd: enable tarantool repo for rpmbuild/debuild
There are distributions, where tarantool is in base repositories (such as Fedora 30-34 or Ubuntu Focal). There are ones, where it is in semi-official repos such as EPEL (CentOS 7/8). There are ones, where we have no tarantool package at all (or have only old tarantool-lts as in Ubuntu Bionic). It seems meaningful to enable the tarantool repository everywhere and don't depend on presence of a tarantool package in distribution base repositories. Co-authored-by: Alexander Turenko <alexander.turenko@tarantool.org>
1 parent 5960246 commit 8f5cc97

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

debian/prebuild.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -exu # Strict shell (w/o -o pipefail)
4+
5+
# At the time of adding the changes, tarantool 1.10 is absent in the
6+
# repositories Ubuntu impish and jammy.
7+
if [[ $DIST == "impish" ]] || [[ $DIST == "jammy" ]]; then
8+
curl -LsSf https://www.tarantool.io/release/2/installer.sh | sudo bash
9+
else
10+
curl -LsSf https://www.tarantool.io/release/1.10/installer.sh | sudo bash
11+
fi

rpm/prebuild.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
set -exu # Strict shell (w/o -o pipefail)
4+
5+
curl -LsSf https://www.tarantool.io/release/1.10/installer.sh | sudo bash

0 commit comments

Comments
 (0)