~jelmer/byoci/brz-debian

« back to all changes in this revision

Viewing changes to TODO.rst

  • Committer: Vincent Ladeuil
  • Date: 2018-02-20 18:08:41 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20180220180841-lxcck1edsxdiwox6
Update TODO.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
logging
2
 
=======
3
 
 
4
 
'logging' should be set from options as soon as possible. This leaves a
5
 
small window where logging may need to be used but user options haven't been
6
 
processed yet. See byo-ci for the code.
7
 
 
8
1
tests
9
2
=====
10
3
 
15
8
for monitor nor master where tests (so far) have been against vms from the
16
9
host.
17
10
 
18
 
Monitor requires tests inside the host.
19
 
 
20
 
Test loading has to be parametrized to skip the monitor tests on the host
21
 
and skip the host tests on the monitor. Like wise, code itself imports
22
 
should not be attempted from the wrong vm.
23
 
 
24
11
Finally, test execution should be aligned too, including running them from
25
12
the host in a user provided vm (hence the need to make those vms cheap to
26
13
start, in turn requiring images (see below) to be provisioned before hand.
48
35
 
49
36
* Support different kind of branches between host and guests:
50
37
 
51
 
  * public branch:
 
38
  * public branch: DONE
52
39
    * 'definition=dir', 'definition.branch=url'
53
40
    * create: bzr branch
54
41
    * update: bzr pull
58
45
    * create: bzr branch --bind
59
46
    * update: bzr pull
60
47
 
61
 
  * mounted filesystem:
 
48
  * mounted filesystem: DONE
62
49
    * 'definition=dir', 'host.definition.dir=dir'
63
50
    * create: nil
64
51
    * update: nil
65
52
 
66
 
  * branch with uncommitted changes:
 
53
  * branch with uncommitted changes: BAD IDEA
67
54
    * create: bzr push-tree
68
55
    * update: bzr push-tree
69
56
 
113
100
* All slaves should be setup with ssh server public keys from the `secrets`
114
101
  branch.
115
102
 
116
 
setup ssh
117
 
---------
118
 
 
119
 
authorized_keys:
120
 
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCkdR9DG7qbKoVdRVIDVUuuPBg0yh8wgtmT8T7e6YhPWXQUqDbp/RawkZw53oBGiMLIO3sD53Kzrcejab+6CiuGWpY9g2t6BJ+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8/2QWGEf3cSNQP0Hh37tPwgBnSetNylhMO8ccNoI/nxOLzHXmrulwvkZVfHCUw6XxlBwd9l8PgHQWFrb73/HN7zFLCRC7X5nm6ijVv2BfCKtDt1FNEr+byKnwav700oLt6J426GN+ze2BOaJn8/m6xfBI3345krzar129oJE+QWL+butWnTUX+lIZMtqJTcXigAIkPwazIsTH9kMcprBX+dAONsa677kH3AnA2KiWgd58DlvScu07GoyYkAxmcCUA1C43KuQBW1Bm1Q== jenkins@brz-master
122
 
 
123
 
  
124
103
project scripts
125
104
===============
126
105
 
132
111
 
133
112
The following are missing:
134
113
 
135
 
  * byo-ci-monitor update-nodes
136
 
  * byo-ci-monitor update-slave-access (could be merged into update-nodes ?)
 
114
* byo-ci-{host,monitor}? update-slave-access
 
115
 
 
116
When a slave is added/removed/changed, the master needs to learn how to
 
117
connect (or not) to them.
 
118
 
 
119
When the master ssh key changes, the slaves need to learn about it.
 
120
  
137
121
 
138
122
host
139
123
----
146
130
-------
147
131
 
148
132
jenkins-job {update,delete} (may be encapsulated once all use cases are clear)
149
 
byo-ci-monitor update-{nodes,plugins,slave-access}
 
133
byo-ci-monitor update-{slave,plugins,slave-access}
150
134
byo-ci-monitor run-job
151
135
 
152
136
slave