File tree 4 files changed +83
-0
lines changed
4 files changed +83
-0
lines changed Original file line number Diff line number Diff line change @@ -494,3 +494,52 @@ jobs:
494
494
495
495
- name : Run tests
496
496
run : make test-pure-install
497
+
498
+ publish_deb :
499
+ if : startsWith(github.ref, 'refs/tags')
500
+
501
+ needs :
502
+ - run_tests_deb
503
+
504
+ runs-on : ubuntu-latest
505
+
506
+ strategy :
507
+ fail-fast : false
508
+
509
+ matrix :
510
+ target :
511
+ - os : ubuntu
512
+ dist : focal # 20.04
513
+ - os : ubuntu
514
+ dist : jammy # 22.04
515
+ - os : debian
516
+ dist : buster # 10
517
+ - os : debian
518
+ dist : bullseye # 11
519
+
520
+ steps :
521
+ - name : Clone the connector repo
522
+ uses : actions/checkout@v3
523
+
524
+ - name : Install tools for package publishing
525
+ run : sudo apt install -y curl make
526
+
527
+ - name : Download deb artifacts
528
+ uses : actions/download-artifact@v3
529
+ with :
530
+ name : deb_dist
531
+ path : deb_dist
532
+
533
+ - name : Publish artifacts
534
+ run : |
535
+ export FILE_FLAGS=$(find deb_dist/ -type f -regex '.*\.deb' -or -regex '.*\.dsc' \
536
+ | xargs -I {} sh -c 'echo -F $(basename {})=@{}' \
537
+ | xargs)
538
+ echo $FILE_FLAGS
539
+ curl -v -LfsS -X PUT $RWS_REPO/release/modules/$OS/$DIST \
540
+ -F product=python3-tarantool $FILE_FLAGS -u $RWS_AUTH
541
+ env :
542
+ RWS_REPO : https://rws.tarantool.org
543
+ RWS_AUTH : ${{ secrets.RWS_AUTH }}
544
+ OS : ${{ matrix.target.os }}
545
+ 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 @@ -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