Merge lp:~canonical-platform-qa/qa-jenkins-jobs/snapcore-latest-spread into lp:qa-jenkins-jobs

Proposed by Max Brustkern
Status: Merged
Approved by: Max Brustkern
Approved revision: 220
Merged at revision: 220
Proposed branch: lp:~canonical-platform-qa/qa-jenkins-jobs/snapcore-latest-spread
Merge into: lp:qa-jenkins-jobs
Diff against target: 23 lines (+6/-0)
1 file modified
jobs/snapcore-qa-tests/jobs.yaml (+6/-0)
To merge this branch: bzr merge lp:~canonical-platform-qa/qa-jenkins-jobs/snapcore-latest-spread
Reviewer Review Type Date Requested Status
Selene ToyKeeper (community) Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+318275@code.launchpad.net

Commit message

Pull latest spread from go to run spread tests

Description of the change

This branch fetches the latest spread from go for each run. It works with the proxy setting in the lab environment.

To post a comment you must log in.
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Not sure this is needed since snap should theoretically keep the system copy of spread pretty up-to-date, but I doubt it hurts anything to pull a fresh copy each time and it could make changes quite a bit quicker to deploy. At the moment I see a 4-day lag between git's latest update and the snap version. So that's 4 days of waiting this patch would avoid.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/snapcore-qa-tests/jobs.yaml'
2--- jobs/snapcore-qa-tests/jobs.yaml 2017-02-21 15:32:54 +0000
3+++ jobs/snapcore-qa-tests/jobs.yaml 2017-02-24 18:57:17 +0000
4@@ -48,6 +48,11 @@
5 IMAGE=ubuntu-core-16-{model}.img
6 fi
7
8+ # Get the latest version of spread
9+ export GOPATH=$WORKSPACE/go
10+ go get -u github.com/snapcore/spread/cmd/spread
11+ export PATH=$GOPATH/bin:$PATH
12+
13 ./spread-vm.sh $IMAGE {upgrade}
14
15 - job-template:
16@@ -104,6 +109,7 @@
17 This job ensures we have everything needed to run snapcore-qa-tests
18 It can be run again to update to the latest versions of dependencies
19 Defined in lp:qa-jenkins-jobs
20+ node: iso-testing
21 builders:
22 - clear-artifacts:
23 - branch-bzr-project:

Subscribers

People subscribed via source and target branches