Helixbase icon indicating copy to clipboard operation
Helixbase copied to clipboard

AppVeyor manifest for installing Sitecore and deploying the solution

Open steviemcg opened this issue 6 years ago • 1 comments

Hi @richardszalay , could I have your feedback on this one? I've tried to cut everything down and put some scripts into the appveyor-deploy-local.yml itself

An example build is here: https://ci.appveyor.com/project/steviemcg/helixbase-dbj5l/builds/26149151 which:

  • Installs Sitecore
  • Deploys the WDP artifact of the latest successful build
  • Runs a Unicorn sync
  • Pings the site to make sure it's a status 200. (Ready for more functional testing later).

Room for improvement?

  • There are still a couple of powershell functions lying around in build/
  • There's still a hard link to a PowerShell library, ParTech.SimpleInstallScripts, which does all the heavy lifting of installing Sitecore for this kind of scenario. I'm not really sure how to avoid this without the yml script getting super heavy. And of course, I'd like to promote ParTech.SimpleInstallScripts as something people might want to use?
  • I could move the .psm1 functions to the ParTech.SimpleInstallScripts module, or... I could move everything under build/examples as you previously suggested.

I'm going to work a bit more now on trying to do the equivalent of this in Azure Devops, but I'm not sure how much Azure let me modify the build agent VMs like you can on AppVeyor.

steviemcg avatar Jul 22 '19 11:07 steviemcg

Hey @steviemcg, just so you know I'm not ignoring this - my IRL is just flat out at the moment so I don't really have any time for OSS.

richardszalay avatar Jul 29 '19 08:07 richardszalay