On Mon, Oct 1, 2018 at 11:05 AM nicolas de loof
<
nicolas...@gmail.com> wrote:
> afaict JEP-213 does not introduce a comparable compatibility break as other cloud native storage effort did.
Unclear. To my knowledge no real compatibility analysis has been done yet.
Also there are a number of files in `$JENKINS_HOME` which are
configuration or state yet do not go through `XmlFile`, such as
`FileBoolean`s. I think these would be easier to handle under your
proposal, since we would just patch the sidecar to read/write such
files and translate to some cloud-native storage TBD, without needing
to introduce yet more SPIs into `jenkins-core`.
> job/*/config.xml can be translated into an AbstractItem name to reload by a REST call. But this only will cover a subset of jenkins configuration. For any other change we can offer a full jenkins reload, in doubt.
Yes that may be enough. Given JEP-201 I do not really expect
cloud-native users to be synchronizing in this direction anyway:
production configuration changes would be made by committing YAML
modifications. (You might object that a refinement of JEP-201 should
make the Jenkins config UI view-only, which is true, but this does not
obviate the need to synchronize from Jenkins to external storage: some
`$JENKINS_HOME` files or parts of files are state, not configuration,
and are written not as part of a config form save gesture. Admittedly
a lot of these cases correspond to state which we would tolerate
forgetting between sessions, depending on the workflows you want to
support.)
I am curious as to the reaction from Oleg (JEP-213 sponsor) as well as
Alex Nordlund, Mathieu Coavoux, and James Strachan (authors of some
existing prototypes in this area).