On Mon, 15 Jun 2020 12:27:36 +0200 Ladislav Slezak <[email protected]> wrote:
> Hi all! > > I'm implementing some new AutoYaST feature and I found out that it's not easy > to test the AutoYaST functionality. > > 1. Even for testing a trivial scenario you have to write your own XML file. > If you do not have much experience with AutoYaST you have to read the > documentation, search the internet, etc... Cloning your current system > helps > a bit but usually the cloned profile contains too many options so you > still need > to polish it a bit... > > 2. When you have your profile ready you have to host it at some > HTTP/FTP/NFS/... > server so AutoYaST can use it for installation. I usually run simple > "ruby -run -ehttpd" command to have a web server quickly, but that's quite > tricky for people not familiar with Ruby. > > > My idea is to have some repository with example XML profiles which would be > publicly available and ready for instant use. We already have some XML files > in the > autoyast-profiles-test Git repository but writing something like > > > autoyast=https://raw.githubusercontent.com/yast/autoyast-profiles-test/master/test/Head/correct/sles-12-minimalistic.xml > > on boot command line is a real pain. We could use some URL shortening service > but I do not like that much. Shortened URLs do not look nice and it's not > obvious where they point to (security). I'd like to have some nice URLs... > > > So my proposal is to use the GitHub pages for building an AutoYaST profile > repository. Then you could use > > autoyast=https://autoyast.github.io/mini/sles15.xml > > or > > autoyast=https://autoyast.github.io/mini/leap15.xml > > for testing a minimal SLES/Leap profile. > > Actually these URLs already work! :-) You can give it a try. Most likely you > will > need additional "netsetup=dhcp" boot option for configuring network. > > > The profiles would be well described (what they do) and well commented (so > the users > can easily adapt them to their needs). > > The profiles could be automatically validated (via Travis) and it would be > nice > to use them also in openQA tests to be sure they really work. > > We could also link this repository from the official SUSE documentation. > > > > The proof of concept is available at https://autoyast.github.io, please check > it. > > It is still just a concept for getting early feedback, there is a lot of work > to do. > See the README file in https://github.com/autoyast/autoyast.github.io > > > What do you think about it? > Hi, I want to use this repo now and know that it exists. But sadly google does not know about it and even autoyast readme page does not contain it. So only searching my mailbox can find it, which I found a bit sub-optimal for searching. Josef
