Moonshine-IDE / Super.Human.Installer

Super.Human.Installer helps you install the latest and greatest HCL Domino technologies easily.
https://superhumaninstaller.com/
Other
2 stars 0 forks source link

Update to demo-tasks v0.1.20 #77

Closed JoelProminic closed 11 months ago

JoelProminic commented 1 year ago

During the discussion of #76 today, we also discussed the process for switching to demo-tasks v0.1.12.

From my initial understanding, we need to:

We'll want to review the Hosts.yml changes with @MarkProminic, to determine what is actually needed for Super.Human.Installer. For example we may be able to remove some of the port_forwards properties (example).

There may also be additional changes required for this. I remember Tamas was concerned about needing major code refactoring to handle the updated names in the Ansible scripts.

Since this could be a major refactoring, I have assigned it to a separate milestone for now.

MarkProminic commented 1 year ago

I will copy the current Hosts.template.yml into demo-tasks, in the same directory as Hosts.yml, and amend it with new variables in the vars block to give greater exposure to the variables that can be changed, that will override the defaults in which the build of SHI was targeted for.

This should allow the build process of SHI to avoid having the manual step of importing and updating the host.template.yml.

Speaking to the biggest changes in the latest version of demo-tasks, Most of it was linting, this was my first time linting Ansible, and I do apologize for so many changes, but it was my attempt to get to using best practices from the get-go.

The biggest change was in role names, most of it was from using "-" to "_" (dashes to underscores) as Ansible Galaxy Roles, which are highly modularized roles, require in the latest versions and future versions of Ansible to function properly and I envision all the roles as being lego like bricks instead of a monolithic package for the use outside of SHI.

The other biggest change was in the networking, in Horizon View Environments and other Virtualized Environments, have a sub paravirtualized nics, in bridged mode, just don't work. As a result, internal NAT'ing is required. For most, and for now, the port forward sections can be ignored/removed.

MarkProminic commented 1 year ago

Here is a draft of what I am going to be including in into the Hosts.template.yml

https://github.com/DominoVagrant/demo-tasks/blob/release-please--branches--main--components--demo-tasks/Hosts.template.yml

piotrzarzycki21 commented 1 year ago

I have moved hashes to separate class SuperHumanHashes and added missing hashes for nomad web 1.0.8. Next I will work on upgrade to newest demo-task.

JoelProminic commented 12 months ago

@MarkProminic, please take a look at the latest development release when you have a chance and make sure this has the features you expect for 0.1.20.

@piotrzarzycki21 reported that some files needed to be excluded when copying from demo-tasks to Super.Human.Installer, like Hosts.yml (not the template), .github and other Git properties, etc. If you end up generating a ZIP template as part of the release, then these files should be excluded. You can see the copied files here. @piotrzarzycki21, please update this issue if you have a full list of the excluded files.

JoelProminic commented 12 months ago

I did a test with SHI 0.8.17 and demo-tasks 0.1.20. I found that I was able to create an instance with all installers and a Domino FixPack configured.

I tested on the same version that Piotr and Justin tested this morning, but I did not get a crash in my case. Looking at the commit, it seems that the difference was that I had set all of the installers.

I did some comparson between the old and new VMs. The VBoxManage showvminfo configuration showed no major differences. I see the RAM changed from 16G to 8G, but I think I had increased it for the old VM.

For Hosts.yml, the differences looked reasonable, based on my previous comparison. I see that most of the versions were populated as expected, except for domino_fixpack_version.

piotrzarzycki21 commented 11 months ago

demo-tasks has been updated to newest version 0.1.20