Skip to content

Commit adcad1c

Browse files
authored
build/bot: add ppa-build.sh (#24919)
1 parent 04b6c56 commit adcad1c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build/bot/ppa-build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
set -e -x
4+
5+
# Note: this script is meant to be run in a Debian/Ubuntu docker container.
6+
7+
# Install the required tools for creating source packages.
8+
apt-get install devscripts debhelper dput fakeroot python-bzrlib python-paramiko
9+
10+
# Add the SSH key of ppa.launchpad.net to known_hosts.
11+
echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
12+
13+
# Build the source package and upload.
14+
go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>"

0 commit comments

Comments
 (0)