File tree 4 files changed +84
-1
lines changed
4 files changed +84
-1
lines changed Original file line number Diff line number Diff line change @@ -490,3 +490,52 @@ jobs:
490
490
491
491
- name : Run tests
492
492
run : make test-pure-install
493
+
494
+ publish_deb :
495
+ if : startsWith(github.ref, 'refs/tags')
496
+
497
+ needs :
498
+ - run_tests_deb
499
+
500
+ runs-on : ubuntu-latest
501
+
502
+ strategy :
503
+ fail-fast : false
504
+
505
+ matrix :
506
+ target :
507
+ - os : ubuntu
508
+ dist : focal # 20.04
509
+ - os : ubuntu
510
+ dist : jammy # 22.04
511
+ - os : debian
512
+ dist : buster # 10
513
+ - os : debian
514
+ dist : bullseye # 11
515
+
516
+ steps :
517
+ - name : Clone the connector repo
518
+ uses : actions/checkout@v3
519
+
520
+ - name : Install tools for package publishing
521
+ run : sudo apt install -y curl make
522
+
523
+ - name : Download deb artifacts
524
+ uses : actions/download-artifact@v3
525
+ with :
526
+ name : deb_dist
527
+ path : deb_dist
528
+
529
+ - name : Publish artifacts
530
+ run : |
531
+ export FILE_FLAGS=$(find deb_dist/ -type f -regex '.*\.deb' -or -regex '.*\.dsc' \
532
+ | xargs -I {} sh -c 'echo -F $(basename {})=@{}' \
533
+ | xargs)
534
+ echo $FILE_FLAGS
535
+ curl -v -LfsS -X PUT $RWS_REPO/release/modules/$OS/$DIST \
536
+ -F product=python3-tarantool $FILE_FLAGS -u $RWS_AUTH
537
+ env :
538
+ RWS_REPO : https://rws.tarantool.org
539
+ RWS_AUTH : ${{ secrets.RWS_AUTH }}
540
+ OS : ${{ matrix.target.os }}
541
+ DIST : ${{ matrix.target.dist }}
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
190
190
- Pack RPM package with GitHub Actions (# 164, #198).
191
191
- Publish RPM package with GitHub Actions (# 164, #198).
192
192
- Pack deb package with GitHub Actions (# 198).
193
+ - Publish deb package with GitHub Actions (# 198).
193
194
194
195
# ## Changed
195
196
- Bump msgpack requirement to 1.0 .4 (PR # 223).
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ The recommended way to install the ``tarantool`` package is using ``pip``.
29
29
With dnf
30
30
^^^^^^^^
31
31
32
- You can install ``python3-tarantool `` RPM package if you use Fedora 34-36 .
32
+ You can install ``python3-tarantool `` RPM package if you use Fedora (34, 35, 36) .
33
33
34
34
Add the repository
35
35
@@ -43,6 +43,24 @@ and then install the package
43
43
44
44
$ dnf install -y python3-tarantool
45
45
46
+ With apt
47
+ ^^^^^^^^
48
+
49
+ You can install ``python3-tarantool `` deb package if you use
50
+ Debian (10, 11) or Ubuntu (20.04, 22.04).
51
+
52
+ Add the repository
53
+
54
+ .. code-block :: bash
55
+
56
+ $ curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash
57
+
58
+ and then install the package
59
+
60
+ .. code-block :: bash
61
+
62
+ $ apt install -y python3-tarantool
63
+
46
64
ZIP archive
47
65
^^^^^^^^^^^
48
66
Original file line number Diff line number Diff line change @@ -28,6 +28,21 @@ and then install the package
28
28
29
29
$ dnf install -y python3-tarantool
30
30
31
+ Otherwise, you can install ``python3-tarantool `` deb package if you use Debian (10, 11)
32
+ or Ubuntu (20.04, 22.04).
33
+
34
+ Add the repository
35
+
36
+ .. code-block :: bash
37
+
38
+ $ curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash
39
+
40
+ and then install the package
41
+
42
+ .. code-block :: bash
43
+
44
+ $ apt install -y python3-tarantool
45
+
31
46
Source code is available on `GitHub `_.
32
47
33
48
Documentation
You can’t perform that action at this time.
0 commit comments