Closed dozylynx closed 7 years ago
Branch has been refreshed with revised version for review prior to commencing testing. A corresponding PR to stable-6 branch to update build scripts and layer files will follow shortly.
stable-6 PR is #234
I all looks pretty good now, thanks :)
Would it be possible to make one last change here, so that it's included in my tests?
Now that we clone the right openxt.git, we should also use it for the version file, which has really nothing to do as a static copy in the build user's home (dunno what I was thinking there...)
Could you maybe just source ${BUILD_DIR_PATH}/build-openxt/version
instead of source version
in build.sh (it's ok to source the file later than it currently is), and remove the cp and chown in setup.sh (https://github.com/OpenXT/openxt/blob/master/build-scripts/setup.sh#L284)?
That would be ideal, otherwise it's fine I can just do another PR after merging yours.
Thanks
A quick test building master with layer files and container build scripts removed from the build user home directory looks fine: it's using the per-build cloned copies of scripts and layer definitions. I do not have a Windows test environment to hand at the moment, so having the community builder exercise that would be helpful. Also tested with stable-6 via a quick hack to the master build.sh to clone the per-build openxt.git from my stable-6 PR branch, and that looks OK too: it installs xenclient-oe as required.
Many hacks in the builder need to be updated for this... Please wait for my +1 to merge, to avoid breaking the builder.
Builder fixed. Built here: http://openxt-builder.ainfosec.com:8010/builders/openxt/builds/698 Everything look ok. Since this PR can have a big impact on stuff, I will merge it tomorrow. Hopefully before then someone else will pass by and give this a second review.
Will merge soon. For clarity, it could be useful to rename this PR to reflect the changes.
Signed-off-by: Christopher Clark christopher.clark6@baesystems.com