diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2019-02-12 17:55:25 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-02-19 16:56:14 +0800 |
commit | 9f5fb15097198ea20aaae31983a7101ac0679eaa (patch) | |
tree | 25e712d1f89d3079f3049c9eae1d4b1607d6a6c8 /build/ci-notes.md | |
parent | 2072c26a96badbe45d6df56a4cd68ffd1b6fb12e (diff) | |
download | dexon-9f5fb15097198ea20aaae31983a7101ac0679eaa.tar.gz dexon-9f5fb15097198ea20aaae31983a7101ac0679eaa.tar.zst dexon-9f5fb15097198ea20aaae31983a7101ac0679eaa.zip |
build: use SFTP for launchpad uploads (#19037)
* build: use sftp for launchpad uploads
* .travis.yml: configure sftp export
* build: update CI docs
(cherry picked from commit 3de19c8b31ab975eed1f7f276d31761f7f8b9af9)
Diffstat (limited to 'build/ci-notes.md')
-rw-r--r-- | build/ci-notes.md | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/build/ci-notes.md b/build/ci-notes.md index f5b0e869d..ba27cdb1d 100644 --- a/build/ci-notes.md +++ b/build/ci-notes.md @@ -7,11 +7,18 @@ Canonical. Packages of develop branch commits have suffix -unstable and cannot be installed alongside the stable version. Switching between release streams requires user intervention. +## Launchpad + The packages are built and served by launchpad.net. We generate a Debian source package for each distribution and upload it. Their builder picks up the source package, builds it and installs the new version into the PPA repository. Launchpad requires a valid signature -by a team member for source package uploads. The signing key is stored in an environment -variable which Travis CI makes available to certain builds. +by a team member for source package uploads. + +The signing key is stored in an environment variable which Travis CI makes available to +certain builds. Since Travis CI doesn't support FTP, SFTP is used to transfer the +packages. To set this up yourself, you need to create a Launchpad user and add a GPG key +and SSH key to it. Then encode both keys as base64 and configure 'secret' environment +variables `PPA_SIGNING_KEY` and `PPA_SSH_KEY` on Travis. We want to build go-ethereum with the most recent version of Go, irrespective of the Go version that is available in the main Ubuntu repository. In order to make this possible, @@ -27,7 +34,7 @@ Add the gophers PPA and install Go 1.10 and Debian packaging tools: $ sudo apt-add-repository ppa:gophers/ubuntu/archive $ sudo apt-get update - $ sudo apt-get install build-essential golang-1.10 devscripts debhelper + $ sudo apt-get install build-essential golang-1.10 devscripts debhelper python-bzrlib python-paramiko Create the source packages: |