Merge lp:~linaro-infrastructure/linaro-ci/lci-setup-script-additions into lp:linaro-ci

Proposed by Stevan Radaković
Status: Merged
Approved by: Paul Sokolovsky
Approved revision: 82
Merged at revision: 78
Proposed branch: lp:~linaro-infrastructure/linaro-ci/lci-setup-script-additions
Merge into: lp:linaro-ci
Diff against target: 30 lines (+9/-0)
2 files modified
node/setup-oneiric-node (+4/-0)
node/setup-precise-node (+5/-0)
To merge this branch: bzr merge lp:~linaro-infrastructure/linaro-ci/lci-setup-script-additions
Reviewer Review Type Date Requested Status
Paul Sokolovsky Approve
Review via email: mp+113349@code.launchpad.net

Description of the change

Two more additions for setup script for Custom AMI switch on ci.l.o.
Setup proxy and do apt-get update.
Will not interfere with current slave setup.

To post a comment you must log in.
82. By Stevan Radaković

Fix apt-get update line.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'node/setup-oneiric-node'
2--- node/setup-oneiric-node 2012-07-02 13:52:43 +0000
3+++ node/setup-oneiric-node 2012-07-04 09:00:45 +0000
4@@ -9,6 +9,10 @@
5
6 export DEBIAN_FRONTEND=noninteractive
7
8+echo 'Acquire::http::Proxy "http://ci.linaro.org:3128";' > /etc/apt/apt.conf.d/ci_linaro_org_http_proxy
9+
10+apt-get-retry --non-fatal update
11+
12 # Install packages
13 apt-get-retry install -y build-essential \
14 debootstrap \
15
16=== modified file 'node/setup-precise-node'
17--- node/setup-precise-node 2012-07-02 14:12:41 +0000
18+++ node/setup-precise-node 2012-07-04 09:00:45 +0000
19@@ -7,6 +7,11 @@
20 set -xe
21
22 . `dirname $0`/setup_lib
23+
24+echo 'Acquire::http::Proxy "http://ci.linaro.org:3128";' > /etc/apt/apt.conf.d/ci_linaro_org_http_proxy
25+
26+apt-get-retry --non-fatal update
27+
28 apt-get-retry install -y python-software-properties
29 add-apt-repository 'deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe'
30 apt-get-retry --non-fatal update

Subscribers

People subscribed via source and target branches