Merge lp:~fboudra/linaro-ci/add-ca-certificates into lp:linaro-ci

Proposed by Fathi Boudra
Status: Merged
Merged at revision: 149
Proposed branch: lp:~fboudra/linaro-ci/add-ca-certificates
Merge into: lp:linaro-ci
Diff against target: 29 lines (+8/-0)
2 files modified
node/setup-precise-node (+1/-0)
node/setup_lib (+7/-0)
To merge this branch: bzr merge lp:~fboudra/linaro-ci/add-ca-certificates
Reviewer Review Type Date Requested Status
Philip Colmer (community) Approve
Milo Casagrande (community) Approve
Ben Copeland Pending
Review via email: mp+163651@code.launchpad.net

Description of the change

Add CA certificates for Linaro servers

To post a comment you must log in.
Revision history for this message
Milo Casagrande (milo) wrote :

Looks good to me.

Will ping IT to take a look at this, since the cert bundle should be provided by the server.

review: Approve
Revision history for this message
Philip Colmer (philip-colmer) wrote :

Seems fine to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'node/setup-precise-node'
2--- node/setup-precise-node 2013-05-13 11:00:31 +0000
3+++ node/setup-precise-node 2013-05-14 07:03:23 +0000
4@@ -73,6 +73,7 @@
5 live_build_install
6 qemu_linaro_install
7 lit_install
8+ca_certificates_install
9
10 # Set up a local mirror for Linaro Ubuntu baseline builds
11 apt-get-retry install -y lighttpd
12
13=== modified file 'node/setup_lib'
14--- node/setup_lib 2013-05-05 09:39:47 +0000
15+++ node/setup_lib 2013-05-14 07:03:23 +0000
16@@ -70,6 +70,13 @@
17 rm -f ${LIT_DEB} ${PYTHON_LIT}
18 }
19
20+ca_certificates_install()
21+{
22+ wget "https://certs.godaddy.com/anonymous/repository.pki?streamfilename=gd_bundle.crt&actionMethod=anonymous%2Frepository.xhtml%3Arepository.streamFile%28%27%27%29&cid=3749602" -O /usr/share/ca-certificates/gd_bundle.crt
23+ echo "gd_bundle.crt" >> /etc/ca-certificates.conf
24+ update-ca-certificates
25+}
26+
27 fifo_cleanup()
28 {
29 if test -e /tmp/fifo3 ; then

Subscribers

People subscribed via source and target branches