Merge lp:~ricardokirkner/ols-store-tests/fix-ols-vms into lp:~ubuntuone-pqm-team/ols-store-tests/store-acceptance-tests

Proposed by Ricardo Kirkner
Status: Merged
Approved by: Ricardo Kirkner
Approved revision: 22
Merged at revision: 21
Proposed branch: lp:~ricardokirkner/ols-store-tests/fix-ols-vms
Merge into: lp:~ubuntuone-pqm-team/ols-store-tests/store-acceptance-tests
Diff against target: 41 lines (+10/-14)
2 files modified
ols-vms.conf (+10/-8)
setup-dns (+0/-6)
To merge this branch: bzr merge lp:~ricardokirkner/ols-store-tests/fix-ols-vms
Reviewer Review Type Date Requested Status
Ricardo Kirkner (community) Approve
Vincent Ladeuil (community) Approve
Review via email: mp+299687@code.launchpad.net

Commit message

applied changes required for newest version of ols-vms

To post a comment you must log in.
Revision history for this message
Vincent Ladeuil (vila) wrote :

Yup, that's the idea

review: Approve
Revision history for this message
Ricardo Kirkner (ricardokirkner) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ols-vms.conf'
2--- ols-vms.conf 2016-07-01 17:57:26 +0000
3+++ ols-vms.conf 2016-07-11 12:29:33 +0000
4@@ -1,15 +1,17 @@
5 tests.packages = snapcraft, squashfs-tools, python3-requests, python3-pymacaroons
6-vm.ssh_opts = -oUserKnownHostsFile=/dev/null,-oStrictHostKeyChecking=no,-A,-Y
7-vm.ssh_authorized_keys = ~/.ssh/id_rsa.pub
8
9 [store-acceptance-tests]
10 vm.class = lxd
11 vm.release = xenial
12+vm.architecture = amd64
13 vm.update = True
14-vm.image = ubuntu:{vm.release}/amd64
15+vm.locale = en_US.UTF-8
16+lxd.image = ubuntu:{vm.release}/{vm.architecture}
17 vm.packages = {tests.packages}, bzr, make
18-# FIXME: This is ubuntone specific and should be in /etc/ols-vms.conf on the
19-# jenkins slaves instead of here -- ricardokirkner 2016-07-01
20-vm.root_script = setup-dns
21-# The following needs to be run once the instance is up to finish the setup
22-vm.uploaded_scripts = setup-dev-env
23+# Not the best solution but good enough until jenkaas: this requires the
24+# following 'secrets' file to exist on the dev host and on jenkins slaves
25+# and contain 'export' statements for the env vars needed by the tests.
26+# FIXME: A better solution would be a config file by host or by job
27+# providing as many options as needed by the tests. -- vila 2016-07-08
28+vm.uploaded_scripts = ~/.config/ols-store-tests/secrets
29+vm.setup_scripts = setup-dev-env
30
31=== modified file 'setup-dev-env' (properties changed: -x to +x)
32=== removed file 'setup-dns'
33--- setup-dns 2016-07-01 19:45:37 +0000
34+++ setup-dns 1970-01-01 00:00:00 +0000
35@@ -1,6 +0,0 @@
36-#!/bin/sh
37-
38-cat <<EOF > /etc/resolvconf/resolv.conf.d/tail
39-nameserver 10.55.32.1
40-EOF
41-systemctl restart resolvconf

Subscribers

People subscribed via source and target branches

to all changes: