This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
TiDB's Distribution Proposal #1
Comments
This comment has been minimized.
This comment has been minimized.
There are already AUR packages And I'm the maintainer of AUR package |
Great project, I can add co-maintainer(s) too if needed. |
I want to join in this task~ |
Great! Thank you for maintaining AUR repo. Please check our working group proposal and join the slack channel: |
Wow, this issue seems so welcomed, just join. |
Hi @Xuanwo @reafans , I've added you to the member list in our working group proposal, welcome! |
Visit https://pingcap.com/tidbslack before join into this channel. |
Merged
Closed
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
Build package of TiDB for better distribution, Maybe include:
1. Building binaries for all components of TiDB
2. Packaging for various operating systems / platforms
3. TiDB version release on GitHub?
Background
rpm/deb is the most popular installation method. So provide rpm build package with all three Components will make it easier for user to install TiDB, thus provide better experience.
Compability
version: tidb-v3.0+
Proposal - rpm version
Create a new helper repo
https://github.com/pingcap/tidb-helper.git
Build
git clone https://github.com/pingcap/tidb-helper.git cd tidb-helper/ make rpm ls tidb-latest-centos7-x86_64.rpm make rpm tag=4.0 tidb=455147c pd=6e7b03b tikv=24257d7 ls dist/rpm/tidb-4.0-centos7-x86_64.rpm
Output
dist/rpm/tidb-4.0-centos7-x86_64.rpm
umask: 022
owner: tidb
/usr/bin/tidb-server
/usr/bin/tidb-ctl
/usr/bin/pd-server
/usr/bin/pd-ctl
/usr/bin/pd-recover
/usr/bin/tikv-server
/usr/bin/tikv-ctl
/usr/bin/binlogctl
/usr/bin/pump
/usr/bin/etcdctl
config dir
data dir
log dir
systemd example files WON’T register service, just put examples
Usage
Install
Config
copy /usr/share/tidb/systemd/tidb-server-service.service /lib/systemd/system/tidb-server.service vim ## some edit
Start/Stop
Upgrade
prompt: Override the old configs[y/n]?
Uninstall
Testing
There should be some testing steps before/after the RPM released:
We need to make sure that the RPM installation can pass integration tests, also at least 1 benchmark result is also required.
Download Page ?
TODO
Hosting yum?
Need Discuss
Success Criteria
TODO
Diffculty
Easy
Score
3000
Mentors
@glorv
The text was updated successfully, but these errors were encountered: