merative / spm-middleware

A collection of Middleware modules and roles required for installing Cúram Social Program Management. SUITABLE FOR INTERNAL TEST AND DEVELOPMENT ONLY
MIT License
1 stars 6 forks source link

IHS - Optional Download ( alternative to copy ) #21

Closed martinccummins closed 3 years ago

martinccummins commented 3 years ago

Download ihs using either Artifactory or a local copy.

Slightly different to DB2 in that there are at least 2 three part installers (3 base, 3 Fix pack and 2 WCT). I ended up sticking with the loop that we used before rather than 6 or 8 (x2) new tasks!

Change Summary

  1. Updated Molecule tests with optional params
  2. Update the readme to reflect changes
  3. Add optional download and copy tasks depending on download_url param
  4. Use "var" for hardcoded download src path
  5. Update and standardise var names

Relates to Story: https://zenhub.ibm.com/app/workspaces/automatonsws-5e9eeea1bdf6c83037d0c675/issues/spm-devops/automatons/494

Testing: Tested in Travis with molecule.

resolves #14

salob commented 3 years ago

@martinccummins this looks good the only issue is with the vars - src and dest on a lot of the copy tasks are the same which are confusing. Can you refactor to do like you did with java where src is always the same whether it is download/copy